Grub2 and multiple boot different ubuntu versions
Goh Lip
g.lip at gmx.com
Thu Mar 25 06:00:54 UTC 2010
On 03/25/2010 11:28 AM, NoOp wrote:
> I'll try on a test system tomorrow. However, I think that your advise to
> edit the grub.cfg file is mistaken and is dangerous to those without
> 'test' systems. For instance:
>
>>> ### BEGIN /etc/grub.d/20_memtest86+ ###
>>> menuentry "Memory test (memtest86+)" {
>>> insmod ext2
>>> set root='(hd0,8)'
>>> search --no-floppy --fs-uuid --set<snipped>
>>> linux16 /boot/memtest86+.bin
>>> }
>>> menuentry "Memory test (memtest86+, serial console 115200)" {
>>> insmod ext2
>>> set root='(hd0,8)'
>>> search --no-floppy --fs-uuid --set<snipped>
>>> linux16 /boot/memtest86+.bin console=ttyS0,115200n8
>>> }
>>> ### END /etc/grub.d/20_memtest86+ ###
>
> So would I need to delete all of the above or just the
Sorry Noob, didn't see the sentence just above, it was sandwiched
between the other quoted parts without spaces in between. There is no
need to delete any of these. Leave it alone. In Colin's example, cut
(copy not delete, cut not copied, er I mean....) all the entries of
karmic and put above all of lucid's entries. No menuentry was killed in
the making of this grub.cfg :)
>>> }
>>> menuentry "Memory test (memtest86+, serial console 115200)" {
>>> insmod ext2
>>> set root='(hd0,8)'
>>> search --no-floppy --fs-uuid --set<snipped>
>>> linux16 /boot/memtest86+.bin console=ttyS0,115200n8
>>> }
> part? Would a standard user have an inkling of how to do the above even
> if given clear instructions? Is this even the right place to
> edit/modify? Afterall the begining of the file states:
>
> <quote>
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by /usr/sbin/grub-mkconfig using templates
> # from /etc/grub.d and settings from /etc/default/grub
> </quote>
>
> So I think that you are advising users to venture into files that
> perhaps the standard user should not. There must be a better/safer way
> to do all of this.
Regards - Goh Lip
--
When the reasons for the rules are no longer valid......
More information about the ubuntu-users
mailing list