You are not logged in.
Ok, very frustrated. If I still had grub-legacy this would have been a piece of cake.
How do I get grub2 to recognize and give me menu options for xen?
It is "looking at it" because when I changed it to 09_linux_xen it moved it up in /boot/grub/grub.cfg
### BEGIN /etc/grub.d/09_linux_xen ###
### END /etc/grub.d/09_linux_xen ###Is there a script I'm failing to run?
The wiki gives old advice/instructions.
Thanks!
Offline
+1
Offline
You can create /boot/grub/custom.cfg and it will be shown when you boot the system, or check whether the executable flag is set on /etc/grub.d/20_linux_xen .
Offline
Still not creating grub entries automatically
but my error in this
menuentry "Arch Linux(XEN 0)" {
set root=(hd1,4)
multiboot /boot/xen-4.1.3.gz dom0_mem=4096M
module /boot/vmlinuz-linux root=/dev/disk/by-uuid/24162965-0871-4c70-a575-9c1f72284931 ro
module /boot/initramfs-linux.img
}
I got all the time
ERROR: /sbin/init does not exist. Error: Root device mounted successfully, but /sbin/init does not exist. Bailing out, you are on your own.
Because the UUID was not the right one ![]()
Last edited by polito (2012-09-08 20:26:59)
Offline
I also found no solution yet to this problem. Also my bash skills are not sufficient to understand what the heck is happening inside "20_linux_xen" :-( For now i added an according entry in the custom file to add xen. But would like to get the "automatic" solution working...
Offline
For automatic solution to work with 20_linux_xen script, you need to provide up to date kernel config-linux file in one of the following locations:
/boot/config-${version}
/boot/config-${alt_version}
/etc/kernels/kernel-config-${version}
Quick workaround is to create kernel config file from working kernel.
zcat /proc/config.gz >/boot/config-linux
Config file must be updated every time kernel gets updated!
Uros
Offline