All of lore.kernel.org
 help / color / mirror / Atom feed
From: aq <aquynh@gmail.com>
To: xen-devel@lists.sourceforge.net
Subject: Problem when making a domain
Date: Sun, 12 Dec 2004 18:39:00 +0900	[thread overview]
Message-ID: <9cde8bff041212013937812092@mail.gmail.com> (raw)

Hello,

I am trying to make the first domain. I follow the demo in Xen manual,
by getting the minimalist ttylinux. Here is my configuration file:

--------
$ more tty.xm 
kernel = "/boot/vmlinuz-2.6.9-xenU"
memory = 64
name = "ttyDomain"
disk = [ 'file:~/myxen/rootfs,hda1,w' ]
root = "/dev/hda1 ro"
ip = "192.168.1.222"
netmask = "255.25.255.0"
gateway = "192.168.1.1"
--------

In that file, rootfs is from ttylinux tarball.

Then I make the domain with that configuration file, but I got the
error. Here is the excerpt:

-------
$ xm create tty.xm -c
...
Starting fsck for root filesystem.
e2fsck 1.35 (28-Feb-2004)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Invalid argument while trying to open /dev/ram0

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

WARNING: Errors found while checking root filesystem.
You can login as root now, the system will reboot after logout.

Give root password for system maintenance
(or type Control-D for normal startup):
--------

Then I must enter "root" as root password to login. Could you tell me
how to fix this "maintenance system" problem?


One more thing I notice: in the configuration file, following the manual, I set:

root = "/dev/hda1 ro"

Is that fine? I am afraid that it makes the root filesystem read-only,
so once logging in, I cannot modify anything inside ?

Thank you a lot,
AQ


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

             reply	other threads:[~2004-12-12  9:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-12  9:39 aq [this message]
2004-12-12 10:00 ` Problem when making a domain Keir Fraser
2004-12-12 10:36   ` aq
2004-12-12 10:53     ` Steven Hand
     [not found]   ` <20041212201539.U85095@acropolis.argolis.org>
     [not found]     ` <9cde8bff04121410347acee6a8@mail.gmail.com>
2004-12-14 18:41       ` aq

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9cde8bff041212013937812092@mail.gmail.com \
    --to=aquynh@gmail.com \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.