Mark Williamson
2005-Apr-03 17:49 UTC
Re: [Xen-users] Xen dom0 doesn''t find root device - kernel panic
Thanks for supplying such a complete set of config details.> # For booting GNU/Linux > title Gentoo Linux 2.6.11-gentoo-r4 > root (hd0,1) > kernel (hd0,1)/kernel-2.6.11-gentoo-r4 init=/linuxrc-----------------------------------------^ I guess this does some sort of Gentoo magic on boot. Are you running with udev? You should probably be using this under Xen too. Try changing the last line of your xen boot section to: module /vmlinuz-2.6.10-xen0 root=/dev/hda3 ro init=/linuxrc> /dev/hda1 on /backup type xfs (rw,noatime) [backup] > /dev/hda2 on /boot type xfs (rw,noatime) [boot] > /dev/hda3 on / type xfs (rw,noatime) [root] > /dev/hda4 on /home type xfs (rw,noatime) [home]Also, make sure you compile XFS support into the kernel (it''s not enabled in the default .config). Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rene Bartsch
2005-Apr-04 17:42 UTC
[Xen-users] Xen dom0 doesn''t find root device - kernel panic
Hi, I''ve installed xen-2.0.5 from source on gentoo, but the xen dom0 kernel doesn''t find the root device: ############################# snip ###################################### Kernel panic: VFS: Unable to mount root fs on unknown-block (3,3) ############################# snap ###################################### grub.conf: ############################# snip ###################################### # # Sample boot menu configuration file # # Boot automatically after 30 secs. timeout 10 # By default, boot the first entry. default 0 # Fallback to the second entry. #fallback 1 # Splash Image splashimage=(hd0,1)/grub/splash.xpm.gz # For booting GNU/Linux title Gentoo Linux 2.6.11-gentoo-r4 root (hd0,1) kernel (hd0,1)/kernel-2.6.11-gentoo-r4 init=/linuxrc # For booting XEN title Xen 2.0 / XenLinux 2.6.10 root (hd0,1) kernel /xen.gz module /vmlinuz-2.6.10-xen0 root=/dev/hda3 ro console=tty0 # For booting Windows NT or Windows95 #title Windows NT / Windows 95 boot menu #rootnoverify (hd0,0) #makeactive #chainloader +1 # For loading DOS if Windows NT is installed # chainload /bootsect.dos # For installing GRUB into the hard disk title Install GRUB into the hard disk root (hd0,1) setup (hd0) ############################# snap ###################################### mount -l: ############################# snip ###################################### /dev/hda1 on /backup type xfs (rw,noatime) [backup] /dev/hda2 on /boot type xfs (rw,noatime) [boot] /dev/hda3 on / type xfs (rw,noatime) [root] /dev/hda4 on /home type xfs (rw,noatime) [home] none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev type ramfs (rw) none on /dev/pts type devpts (rw) none on /dev/shm type tmpfs (rw) none on /proc/bus/usb type usbfs (rw) ############################# snap ###################################### How to I tell Xen the correct root device? Thanx for any hint Rene _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rene Bartsch
2005-Apr-05 10:31 UTC
Re: [Xen-users] Xen dom0 doesn''t find root device - kernel panic
On So, 3.04.2005, 19:49, Mark Williamson sagte:> Also, make sure you compile XFS support into the kernel (it''s not enabled > in > the default .config). >That''s been it! I didn''t realize it as it was enabled in the .config, but not in the xen0_defconfig ;-) Thanx Rene _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- RE: Error Creating Domain:vbd:Segment phy:/dev/hda3 isin writable use
- CentOS 5 grub boot problem
- Slightly OT: Debian and CentOS multiboot: menu.lst problem
- Bug#479197: xen-hypervisor-3.2-1-amd64: hypervisor fails to load dom0 ("not an ELF binary")
- CentOS 5 grub boot problem