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

[Xen-users] Problems booting Xen with LVM volumes


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Matti Pöllä <mpo@xxxxxx>
  • Date: Fri, 7 Jul 2006 01:19:18 +0300
  • Delivery-date: Fri, 07 Jul 2006 02:52:40 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

I'm having problems booting a Xen kernel (dom0) on a quite standard
Celeron machine running Debian unstable and using LVM for managing
disk space.

My GRUB menu.lst has the followng entry for the Xen kernel

title          Xen 3.0 / XenLinux 2.6
kernel         /xen-3.0-i386.gz noreboot
module         /vmlinuz-2.6.16-2-xen-686 root=/dev/mapper/Debian-root ro
module         /initrd.img-2.6.16-2-xen-686

The boot process panics with the following messages

device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@xxxxxxxxxx
mkdir: cannot create directory '/devfs/Debian': Read-only file system
mount: unknown filesystem type 'devfs'
  Volume group "Debian" not found
umount: /dev: not mounted
umount: devfs: not mounted
mount: unknown filesystem type 'devfs'
umount:devfs: not mounted
pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
Kernel panic - not syncing: Attempted to kill init!

For comparison, the machine boots up just fine with a standard kernel
(menu.lst entry as follows)

title           Debian GNU/Linux, kernel 2.6.17-1-486
root            (hd0,5)
kernel          /vmlinuz-2.6.17-1-486 root=/dev/mapper/Debian-root ro
initrd          /initrd.img-2.6.17-1-486
savedefault
boot

My filesystem looks like this

# mount
/dev/mapper/Debian-root on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda6 on /boot type ext3 (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)

All ideas on how to fix this are appreciated.

cheers,


-Matti


ps. Please cc me in your reply.

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


 


Rackspace

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