| To: | <xen-users@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [Xen-users] Xen boot failed while mount root FS |
| From: | "Taylor Lee" <taylorl@xxxxxxxxxxxx> |
| Date: | Wed, 7 Jun 2006 09:34:46 +0800 |
| Delivery-date: | 2006年6月06日 18:36:20 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| 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> |
| Sender: | xen-users-bounces@xxxxxxxxxxxxxxxxxxx |
| Thread-index: | AcaJzPunoZuYSv3uRf6GBXqtKSkOcQABDOmw |
| Thread-topic: | Xen boot failed while mount root FS |
All,
Sorry, I forgot subject in original mail ;-(
I am running xen3.0.2 on CentOS4.2, and get this error when trying to boot Xen kernel(domain0)
ERROR1: Before build initrd(mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen),I got this error during boot:
VFS: Cannot open root device "/" 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)
ERROR2: After initrd built, I got another error here during boot:
......
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempting to kill init!
>More,In grub.conf,I have changed the root=LABEL=/ to the actual device
(root=/dev/sda3),and make the same change in /etc/fstab,but I got same error.
my installation steps as below,
any clues?
Thanks
--Taylor
# pwd
/home/taylor/xen-3.0.2
# make KERNELS=linux-2.6-xen world
# make install
reboot system and got ERROR1:....
# cd /boot
# depmod 2.6.16-xen
# mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen
Creating initramfs
Looking for deps of module scsi_mod
Looking for deps of module sd_mod scsi_mod
Looking for deps of module scsi_mod
Looking for deps of module unknown
Looking for deps of module mptbase
Looking for deps of module mptscsih mptbase scsi_mod
Looking for deps of module mptbase
Looking for deps of module scsi_mod
Looking for deps of module ide-disk
Looking for deps of module dm-mod
Looking for deps of module ext3 jbd
Looking for deps of module jbd
Using modules: ./kernel/drivers/scsi/scsi_mod.ko ./kernel/drivers/scsi/sd_mod.ko ./kernel/drivers/message/fusion/mptbase.ko ./kernel/drivers/message/fusion/mptscsih.ko ./kernel/drivers/md/dm-mod.ko ./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko
/sbin/nash -> /tmp/initrd.L28813/bin/nash
/sbin/insmod.static -> /tmp/initrd.L28813/bin/insmod
/sbin/udev.static -> /tmp/initrd.L28813/sbin/udev
/etc/udev/udev.conf -> /tmp/initrd.L28813/etc/udev/udev.conf
copy from /lib/modules/2.6.16-xen/./kernel/drivers/scsi/scsi_mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/scsi_mod.ko(elf32-i386)
copy from /lib/modules/2.6.16-xen/./kernel/drivers/scsi/sd_mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/sd_mod.ko(elf32-i386)
copy from /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptbase.ko(elf32-i386) to /tmp/initrd.L28813/lib/mptbase.ko(elf32-i386)
copy from /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptscsih.ko(elf32-i386) to /tmp/initrd.L28813/lib/mptscsih.ko(elf32-i386)
copy from /lib/modules/2.6.16-xen/./kernel/drivers/md/dm-mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/dm-mod.ko(elf32-i386)
copy from /lib/modules/2.6.16-xen/./kernel/fs/jbd/jbd.ko(elf32-i386) to /tmp/initrd.L28813/lib/jbd.ko(elf32-i386)
copy from /lib/modules/2.6.16-xen/./kernel/fs/ext3/ext3.ko(elf32-i386) to /tmp/initrd.L28813/lib/ext3.ko(elf32-i386)
Loading module scsi_mod
Loading module sd_mod
Loading module mptbase
Loading module mptscsih
Loading module dm-mod
Loading module jbd
Loading module ext3
#
added "module /initrd-2.6.16-xen.img" into grub.conf file.
reboot system and got ERROR2:
My grub.conf file:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS-4 i386 (2.6.9-22.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-22.ELsmp.img
title CentOS-4 i386-up (2.6.9-22.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-22.EL.img
title Xen 3.0 / XenLinux 2.6
root (hd0,0)
kernel /xen-3.0.gz
module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0
module /initrd-2.6.16-xen.img
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-users] Xen and NAS , Devraj Mukherjee |
|---|---|
| Next by Date: | Re: [Xen-users] Xen boot failed while mount root FS , Adam Nielsen |
| Previous by Thread: | [Xen-users] Xen and NAS , Devraj Mukherjee |
| Next by Thread: | Re: [Xen-users] Xen boot failed while mount root FS , Adam Nielsen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |