Skip to contentSkip to conversation

xen 3.4.0 & pvgrub

DISCUSSION Mickael Marchand 1 participant 1 message May 19, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I have built ubuntu packages for Xen 3.4.0
(https://launchpad.net/~mikmak/+archive/experimental),
they apparently work fine except when using pvgrub.

booting a domU with kernel/ramdisk in the config file works fine, booting the same domU with pvgrub (and same kernel inside the domU) it's not able to find sda1 or xvda1, /dev looks empty in regards to disk devices
it correctly loads grub, grub boots the kernel and initrd, but it's not able to mount any root (root=/dev/xvda1 or sda1, ls /dev inside the initrd shows no sd or xvd disks)

any idea what could be missing ?

(please CC me answers)

Cheers,
Mik

Config example :
#works fine with these 3 lines
#kernel="/boot/vmlinuz-2.6.24-24-xen"
#ramdisk="/boot/initrd.img-2.6.24-24-xen"
#root = '/dev/xvda1 ro'
#does not work with these 2
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra = "(hd0)/boot/grub/menu.lst"

#usual stuff
memory = '1024'
vcpus = '2'
disk = [

                  'phy:/dev/bay2/jaunty-disk,xvda1,w',
                  'phy:/dev/bay2/jaunty-swap,xvda2,w',
              ]

name = 'jaunty'
vif = [ 'mac=00:16:3E:FF:FC:2D' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'