New menu.lst on Grub version 2
Karl F. Larsen
klarsen1 at gmail.com
Mon Oct 5 12:08:27 UTC 2009
Leonard Chatagnier wrote:
>
> --- On Sun, 10/4/09, Karl F. Larsen <klarsen1 at gmail.com> wrote:
>
>> From: Karl F. Larsen <klarsen1 at gmail.com>
>> Subject: New menu.lst on Grub version 2
>> To: "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com>
>> Date: Sunday, October 4, 2009, 12:05 PM
>> Here is a snippit
>> of the /boot/grub/grub.cfg file on karmic:
>>
>> 3-35245eb5fb2a ro single
>> initrd
>> /boot/initrd.img-2.6.31-11-generic
>> }
>> ### END /etc/grub.d/10_linux ###
>>
>> ### BEGIN /etc/grub.d/20_memtest86+ ###
>> menuentry "Memory test (memtest86+)" {
>> linux16
>> /boot/memtest86+.bin
>> }
>> menuentry "Memory test (memtest86+, serial console 115200)"
>> {
>> linux16
>> /boot/memtest86+.bin console=ttyS0,115200n8
>> }
>> ### END /etc/grub.d/20_memtest86+ ###
>>
>> ### BEGIN /etc/grub.d/30_os-prober ###
>> menuentry "Microsoft Windows XP Professional (on
>> /dev/sda1)" {
>> insmod ntfs
>> set root=(hd0,1)
>> search --no-floppy --fs-uuid --set
>> 7428ef7928ef392e
>> drivemap -s (hd0) ${root}
>> chainloader +1
>> }
>>
>>
>> Notice the ### instead of #, and the {
>> and } which set off
>> the actual chore grub does from the words that tell us what
>> it
>> is doing.
>>
>> This makes writing by hand an entry a
>> chore.
>>
>>
> Is there a question in here that I missed or is this just another of
> your list blogs?
> Leonard Chatagnier
> lenc5570 at sbcglobal.net
>
>
I had hoped it would prove interesting to some one.
73 karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
More information about the ubuntu-users
mailing list