menu.lst is empty

when I boot up I have a large list of options to boot up in . I only need the default option.

when I go to /boot/grub/menu.lst - it’s empty. how can it be empty? where can I adjust the menu list so I only have the one default option when I boot up?

I’m running 11.3 KDE 64bit

Hello vinoman2,

Are you sure it’s empty?

There could be several reasons why your menu.lst is empty:

  • You use a bootloader of another distro.
  • You don’t use Grub.
  • You have installed Grub on a different partition.

Another thing you can check is if you open the file menu.lst as root.
Maybe you use a text-editor as default user and since the menu.lst is owned by root it won’t show any contents.

Anyway, you can also configure your boot options through YaST.
Start YaST->System->Bootloader.

Best of luck!:wink:

  • vinoman2,

strange. The safest way to edit it is Yast, System, Boot Loader.

Uwe

thanks, I had to be in root for it to show up.

I used nano and I wasn’t able to copy it to show you what is there. I did go to Yast > system > bootloader and there is a list of what’s on the splash screen. Can I delete everything but the default desktop? How would I get rid of the actual programs/settings like zen, white, debug, failsafe, vanilla, ec2, and trace ?

vinoman2 asks:

thanks, I had to be in root for it to show up.

I used nano and I wasn’t able to copy it to show you what is there. I did go to Yast > system > bootloader and there is a list of what’s on the splash screen. Can I delete everything but the default desktop? How would I get rid of the actual programs/settings like zen, white, debug, failsafe, vanilla, ec2, and trace ?
I may have missed it, but what desktop are you using? If it were KDE, use the following command to edit your menu.lst file (menu Run Command):

kdesu kwrite /boot/grub/menu.lst

I do not recommend deleting any entries in the menu.lst file without knowing more about your system. You might want to post a copy of your menu.lst file as well as the file listing in your /boot folder for further review.

I do place the entries I use all of the time at the top of the list. You may have more than one kernel installed in your openSUSE. Consider that this can be good if you do something to one of them and it will not load up. If you run a File Manager in Super User Mode, look at the folder /boot where you will see (but do not delete) all installed kernel versions. If you really have an entry in your menu.lst file that no longer exists in the /boot folder, then you would want to remove it.

If for some reason you had more than one NTFS Windows partition, you might end up with more than one Windows startup option in your menu.lst file and removing any extra OS options to run a copy of Windows that does not exist can also be removed. But be careful when making such changes if you do not know how this file is structured.

Thank You,

here’s the menu.lst:

Modified by YaST2. Last modification on Sat Sep 25 05:42:19 PDT 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Desktop – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-desktop

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.3 - 2.6.34.7-0.3 (desktop)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-desktop

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.7-0.3 (default)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-default root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-default

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.3 - 2.6.34.7-0.3 (default)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-default root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-default

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Vanilla – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-vanilla root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-vanilla

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Ec2 – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-ec2 root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-ec2

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Trace – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-trace root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-trace

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Debug – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-debug root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-debug

###Don’t change this comment - YaST2 identifier: Original name: xen###
title Xen – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/xen.gz vgamode=0x31a
module /boot/vmlinuz-2.6.34.7-0.3-xen root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
module /boot/initrd-2.6.34.7-0.3-xen

here’s the menu.lst:

Modified by YaST2. Last modification on Sat Sep 25 05:42:19 PDT 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Desktop – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-desktop

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.3 - 2.6.34.7-0.3 (desktop)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-desktop

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.7-0.3 (default)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-default root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-default

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.3 - 2.6.34.7-0.3 (default)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-default root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-default

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Vanilla – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-vanilla root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-vanilla

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Ec2 – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-ec2 root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-ec2

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Trace – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-trace root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-trace

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Debug – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-debug root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-debug

###Don’t change this comment - YaST2 identifier: Original name: xen###
title Xen – openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/xen.gz vgamode=0x31a
module /boot/vmlinuz-2.6.34.7-0.3-xen root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
module /boot/initrd-2.6.34.7-0.3-xen

First off, anytime you want to post something like your menu.lst file, consider using the CODE (#) command. You must be using the advanced message editor for this to work. Copy the text in question into your message here, then select only the text you just copied into your message and then press the CODE (#) button. Here is your text shown in a code box:

# Modified by YaST2. Last modification on Sat Sep 25 05:42:19 PDT 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34.7-0.3
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.3-desktop  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2  resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent  quiet showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.34.7-0.3-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.3 (desktop)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.3-desktop  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 showopts apm=off  noresume edd=off powersaved=off nohz=off highres=off  processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.34.7-0.3-desktop

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.7-0.3 (default)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.3-default  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2  resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent  quiet showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.34.7-0.3-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.3 (default)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.3-default  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 showopts apm=off  noresume edd=off powersaved=off nohz=off highres=off  processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.34.7-0.3-default

###Don't change this comment - YaST2 identifier: Original name: linux###
title Vanilla -- openSUSE 11.3 - 2.6.34.7-0.3
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.3-vanilla  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2  resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent  quiet showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.34.7-0.3-vanilla

###Don't change this comment - YaST2 identifier: Original name: linux###
title Ec2 -- openSUSE 11.3 - 2.6.34.7-0.3
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.3-ec2  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2  resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent  quiet showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.34.7-0.3-ec2

###Don't change this comment - YaST2 identifier: Original name: linux###
title Trace -- openSUSE 11.3 - 2.6.34.7-0.3
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.3-trace  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2  resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent  quiet showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.34.7-0.3-trace

###Don't change this comment - YaST2 identifier: Original name: linux###
title Debug -- openSUSE 11.3 - 2.6.34.7-0.3
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34.7-0.3-debug  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2  resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent  quiet showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.34.7-0.3-debug

###Don't change this comment - YaST2 identifier: Original name: xen###
title Xen -- openSUSE 11.3 - 2.6.34.7-0.3
    root (hd0,1)
    kernel /boot/xen.gz vgamode=0x31a 
    module /boot/vmlinuz-2.6.34.7-0.3-xen  root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2  resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent  quiet showopts nomodeset vga=0x31a
    module /boot/initrd-2.6.34.7-0.3-xen

So what I see is that you have the normal Desktop and Default in Normal and Failsave mode, but also kernels called xen, Vanilla, Ec2, Trace & Debug. It would seem that you kind of went crazy one time or another loading extra kernels. I suggest you keep at least four entries there. Here is a possible reduced version of your menu.lst file.

# Modified by YaST2. Last modification on Sat Sep 25 05:42:19 PDT 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-desktop

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.7-0.3 (default)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-default root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part1 splash=silent quiet showopts nomodeset vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.3 (desktop)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.3 (default)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.3-default root=/dev/disk/by-id/ata-ST3250310AS_6RY3JXDB-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.3-default

So I left in Desktop and Default with both Normal and failsafe entries. Removing kernel load options from your menu.lst file does not remove them from the /boot folder, but they do not use all that must room. You could also remove them in your Software Management, but I don’t like to suggest such a thing to a new user as the wrong kernel might get removed. As always I suggest you make a backup copy of your menu.lst file before making any changes to it.

Thank You,

Thanks for all your help. The reason why I have all those options was a couple weeks ago there was a kernel update that made the mouse freeze up and that was one of the options that someone thought would help, turned out that the fix was something else. Normally I don’t care if the kernel gets updated, I just don’t want something else to break because of it.