Grub 2 information
Tom H
tomh0665 at gmail.com
Sun Apr 4 06:01:53 UTC 2010
> I have looked hard at this information:
>
> https://wiki.ubuntu.com/Grub2#Adding%20Entries%20to%20Grub%202
>
> and it has zero examples on how to actually do this!
>
> I want the guys who wrote this to show an example of a real Lucid
> system where I have many partitions and I want to make not the last
> Lucid to boot up but rather cause my Windows to boot up automatic rather
> than the Lucid.
>
> This is dirt easy with an editor on menu.lst and I want to see how
> easy it is to do this same thing with Grub2.
What could be simpler to do than create an executable file in
/etc/grub.d with the following
cat << EOF
menuentry "Karl custom" {
set root=(hd0,X)
linux /boot/vmlinuz-2.6...custom root=UUID=<uuid> ro
initrd /boot/initrd.img-2.6...custom
}
and then running update-grub?
More information about the ubuntu-users
mailing list