WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] RHAS 4.0 and Xen

To: "Ghe Rivero" <ghe.rivero@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] RHAS 4.0 and Xen
From: "Michael Paesold" <mpaesold@xxxxxx>
Date: Mon, 12 Sep 2005 19:52:10 +0200
Delivery-date: Mon, 12 Sep 2005 17:49:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1126546095.13467.7.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Ghe Rivero wrote:

Hello everyone!
I'm trying to install RHAS 4.0 as a domU image on Xen. Almost
everything is working now, but it already need to manual interaction to
boot. It doesn't find the sda1 disk (a file.img on dom0)

[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1
/dev/sda1:
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>

ext2fs_check_if_mount: Input/output error while determining
whether /dev/sda1 is mounted.
fsck.ext3: No such file or directory while trying to open /dev/sda1
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

But if as root, i MAKEDEV the sda1, remount it on / and run "init 3"
almost everything works properly.

Anyone knows how to resolve this?

I guess this is the udev issue. Udev is not yet running when mounting the root partition, so you need to have an initrd containing the dev entries.

Read here: (6.2. Why does Fedora Core 3 stop working...)
http://wiki.xensource.com/xenwiki/XenFaq#head-ea8b39d71e49cc16d287257de4c482f99d883097

You have to add a ramdisk="/boot/..." to your domain configuration file. The initrd file must contain the device nodes.

Best Regards,
Michael Paesold

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>