How to modify menu.lst
elmo at ne.rr.com
Mon May 12 23:37:31 UTC 2008
Derek Broughton wrote:
> SYNass IT Ubuntu / Linux wrote:
>> Hello Ubuntu experts
>> I would appreciate to get some assistance in modificating the attached
>> menu.lst ! ;-)
>> At system boot it currently shows the 3 Ubuntu entries
>> (normal/recovery/memtest86+) = OK !
>> It also shows the WinXPP entry !
>> I would like to hear / learn how to get the WinXPP entry invisible in
>> the list but
>> available with scrolling down to get it visible !?
>> What do I need to change ?
> Add a lot of blank lines? I don't think it's possible to make them just
>> Another more cosmetic question:
>> The 3 Ubuntu entries are listed in 3 lines and
>> after "Other operating systems:
>> it shows the line with WinXPP !!!
>> How can i get it looking like following:
>> visible Ubuntu 8.04 DT, kernel 2.6.24-16-generic
>> visible Ubuntu 8.04 DT, kernel 2.6.24-16-generic (recovery mode)
>> visible Ubuntu 8.04 DT, memtest86+
>> invisible -----------------------------------------
>> invisible Other operating systems:
>> invisible M$ WinXP PRO SP3
> I must be missing something, because that looks like the same question. I
> guess all those exclamations after WinXPP must be significant...
It's difficult to figure out exactly what you are trying to do but this
If the changes you want to make are to be accepted by menu.lst, you
should prepare menu.lst before starting to make these changes Use a
terminal and type in; chmod go+rw /boot/grub/menu.ls, Thereafter,
any changes you make in menu.lst will be accepted on a save command.
Notice that most of the lines in menu.lst start with # and the effective
systems lines do not start with #.
You can prevent any line from appearing on the bootup menu or performing
its function by preceding it with a #.
If you want things to appear in a certain order on the bootup menu, you
can use an editor to move items around in /boot/grub/menu.lst
For example, I wanted Windows XP to be at the top of the bootup menu so
I moved its entire entry of XP to be the first entry. (Actually, I
copied it in a space before the first UBUNTU entry, then I went to the
original location of XP and preceded each line
with a # instead of deleting the entire original XP.
After you made your changes, perform a save. Normally, the save
would not be accepted but the ' chmod go+rw /boot/grub/menu.ls ' you
did earlier will allow you to do the save, now and in the future.
More information about the ubuntu-users