Results 1 to 10 of 10

Thread: Invisible menu.lst

  1. #1
    Join Date
    Nov 2009
    Location
    Northumberland
    Posts
    12

    Default Invisible menu.lst

    Under /boot/grub there are two files, menu.lst.old and menu.lst.
    In menu.lst.old are all the entries I would expect to see but in menu.lst there is nothing.
    There is an choice listed when I boot which I would like to remove so how do I edit the menu.lst
    Has opensuse gone to Grub2

    Regards

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,766

    Default Re: Invisible menu.lst

    What about YaST > System > Bootloader? Does it also show nothing?
    Henk van Velden

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,671
    Blog Entries
    3

    Default Re: Invisible menu.lst

    If "menu.lst" is empty, you have a problem. Perhaps you edited it with yast, and messed up. In that case, it might be best to rename or copy "menu.lst.old" back to "menu.lst" - provided that you have the kernel(s) used in that file.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  4. #4
    Join Date
    Nov 2009
    Location
    Northumberland
    Posts
    12

    Default Re: Invisible menu.lst

    Quote Originally Posted by hcvv View Post
    What about YaST > System > Bootloader? Does it also show nothing?
    Looked in the above

    Changed the entry label windows 1 to Windows 7
    Deleted the entry for windows 2

    Boot menu screen now shows opensuse 11.4
    failsafe
    windows 7
    computer boots ok in both linux and windows. still can't understand why menu.lst to edit. will wait and see if it continues to work without this.

  5. #5
    Join Date
    Nov 2009
    Location
    Northumberland
    Posts
    12

    Default Re: Invisible menu.lst

    Quote Originally Posted by nrickert View Post
    If "menu.lst" is empty, you have a problem. Perhaps you edited it with yast, and messed up. In that case, it might be best to rename or copy "menu.lst.old" back to "menu.lst" - provided that you have the kernel(s) used in that file.

    Yes, I had guessed I had a problem but obviously not using menu.lst to boot. have things working as I wanted thanks to other reply. I don't think the usability of openSuse has improved with age.

  6. #6
    Join Date
    Nov 2009
    Location
    Northumberland
    Posts
    12

    Default Re: Invisible menu.lst

    Sorry missed off "Thanks for the quick response to my question"

  7. #7

    Default Re: Invisible menu.lst

    Quote Originally Posted by tyronet2009 View Post
    Sorry missed off "Thanks for the quick response to my question"
    I see a blank menu.lst if you open it with a text editor without being 'su'
    Maybe you tried opening it like the above.
    People who do not break things first will never learn to create anything

  8. #8
    Join Date
    Nov 2009
    Location
    Northumberland
    Posts
    12

    Default Re: Invisible menu.lst

    Eureka!! That is exactly what I'd done. So I went to command line then su > vi boot/grub/menu.lst and there was the contents of the file with the edits I'd done in yast>system>bootloader.
    Thanks for your help. Next time I see an "Empty" file I'll look as su.

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,766

    Default Re: Invisible menu.lst

    Also a bit my fault, I of course assumed(!) that you, as system manager, would use things like cat and vi to look in such files, or, as noob, would use YaST to do system management

    I can however recommend to use YaST when possible, it will spare you a lot of problems.

    And please use su - instead of su when you need to be root (or any other user).
    Henk van Velden

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Invisible menu.lst

    On 03/22/2011 11:06 AM, hcvv wrote:
    >
    > And please use -su -- instead of -su- when you need to be -root- (or
    > any other user).


    for any nntp users, hcvv is correct in writting

    Code:
    use  su -   instead of   su
    it is an unfortunate side effect of blending together an http and nntp
    forum together that causes what he wrote in italics to come through in
    nnep as:

    Code:
    -su --  or -su-
    which is unusable in every case..

    note: this http>nntp "bug" is not likely to be repaired...which is ok..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD
    [NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
    173.14.28 3D, Athlon 64 3000+]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •