grub-pc Xen dom0 support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub-pc
Okay I know I'm a crazy person for trying this stuff out but I was curious.
I'm attempting to boot Xen 3.5 unstable with a vanilla 2.6.31.4 with the xen-pv ops dom0 support enabled.
I started by following instructions found here:
http://
Everything compiled fine but this isn't what the bug is about. For some reason grub-pc on amd64 seems to strip out the root= commandline argument to the kernel when loading it after xen.
============ GRUB-PC CONFIG ================
root@uber-gamer:~# cat /etc/grub.
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Xen 3.5 / Ubuntu, kernel 2.6.31.4-1-xen" {
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 41102bda-
multiboot /xen-3.
module /vmlinuz-
module /initrd.
}
root@uber-gamer:~#
=======
After booting it eventually drops to the initramfs busybox shell and I attempt to cat /proc/cmdline and it shows only "ro quiet splash" somehow the root= got stripped out. I'm guessing grub-pc did this, since I'm able to use the exact same kernel and initrd to boot without Xen (since that works now too) and it didn't happen.
Some of the google searches on "grub2 xen" mention not having the multiboot option completed yet. However, the dates were all the way back in February.
Here's more stuff just in case you want it:
# lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
# apt-cache policy grub-pc
grub-pc:
Installed: 1.97~beta4-1ubuntu3
Candidate: 1.97~beta4-1ubuntu3
Version table:
*** 1.97~beta4-1ubuntu3 0
500 http://
500 http://
100 /var/lib/
1.
500 http://
500 http://
#
This bug isn't a big deal but I thought I'd mention it since you guys are moving to grub-pc on amd64 systems.
Oopse this maybe a duplicate of what's going on in bug 216176