Strange interaction from grub2 and XEN
Marco Nenciarini ha scritto:
Quoted 8 lines
Boris Derzhavets ha scritto:
Quoted 6 lines
I switched etc/default/grub :
| GRUB_DISABLE_LINUX_UUID=true
and ran:-# update-grub Compiled pvops kernel with built in command line:- root=/dev/sda(x) ro console=tty0
Quoted 7 lines
This is a workaround, like my dummy argument.
I'm looking for a real solution, as find where is the problem and a proper correction, or a rationale that explain what I'm doing wrong.
Kind regards,
Marco
I finally found the the root cause of this issue on grub-devel mailing list.
http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00001.html
Now I wonder if there is any chance to make the xen hypervisor aware of this behavior change in grub2.
Kind regards,
Marco
Signature · 5 lines
--------------------------------------------------------------------- | Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | | [email protected] | http://www.prato.linux.it/~mnencia | --------------------------------------------------------------------- Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4
Quoted 9 lines · Marco Nenciarini
Quoted 2 lines
I'm looking for a real solution, as find where is the problem and a proper correction, or a rationale that explain what I'm doing wrong.
I finally found the the root cause of this issue on grub-devel mailing list.
http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00001.html
Now I wonder if there is any chance to make the xen hypervisor aware of this behavior change in grub2.
So they've stopped passing the kernel name as a first element of the command line, but haven't allocated a new flag or anything to indicate that new behaviour? What are we supposed to do to detect it and act on it?
-- Keir
Quoted 6 lines · Keir Fraser
Quoted 2 lines
Now I wonder if there is any chance to make the xen hypervisor aware of this behavior change in grub2.
So they've stopped passing the kernel name as a first element of the command line, but haven't allocated a new flag or anything to indicate that new behaviour? What are we supposed to do to detect it and act on it?
Looks like you're supposed to provide your own dummy first arg, like a '.' or something, if booting something that assumes first arg is the kernel name. Seems pretty stupid and unnecessary to change the behaviour I must say. GRUB sucks.
-- Keir