[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Boot Problem with XEN 3.1.

TNX Tim!

I try to create a initrd like this command:

mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod -o initrd-2.6.18-xen.img -m 2.6.18-xen

Now seems to be XEN start but after memory message and little count down I received another error about "/etc/fstab file not found" and "no /sbin/init found on rootdev (or not mouted!)".

I can't past precise error because xen reboot system...argh...I think that initrd is bad builded!! Any modules is present in lib under initrd-tree and kernel dir in /initrd-tree/lib is relative to kernel....it would not have to be relative to xen kernel?

You have any idea? initrd bad sure....

TNX again for you help!

Best Regards

Tim Post wrote:

On Sat, 2007-09-15 at 23:12 +0200, Paradox wrote:
Hi to all.

I'm installed XEN3.1 correctly but I'm some problem to start it. XEN start but I received this message:

VFS: Cannot open root device "hda5" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

This is strange because my grub is configured like this:

 title XEN3.1-2.6.18
 #root (hd0,4)
 kernel (hd0,4)/boot/xen-3.1.gz dom0_mem=262144
 module (hd0,4)/boot/vmlinuz-2.6-xen root=/dev/hda5 ro console=tty0

Do you need an initrd? It looks like your kernel is not able to access
whatever type of disk /dev/hda5 is.

I use the following modules on my machine when making the initrd,
booting to IDE drives as well:


This lets me access all of the partitions that I need to continue
booting, at which point I pick up device mapper modules and LVM. Likely,
you don't need jfs.
I say "strange" because I have a slack partition (is logical partition) that start well and is configured like this:

 title Slack-
 root (hd0,4)
 kernel (hd0,4)/boot/vmlinuz-huge- root=/dev/hda5 ro vga=773

Yes, this is strange. The only explanation is the kernels being built a
little differently. Likely, your kernel has the modules listed
above (or whatever modules are needed to boot) built in, not needing the
modules or initrd any longer.

XEN kernel is installed under this slack partition, so root option is correctly.

You can help me?

Hope so :) You can try a menuconfig on your Xen kernel and build the
generic IDE stuff without modular support, or try an initrd.

I'm quite happy with the performance of the generic IDE drivers. If you
have a special chip set or controller, you might want to find better
drivers. The above should get you booting at least.

Hope this helps :)


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.