Find the answer to your Linux question:
Results 1 to 3 of 3
After installing Windows 7 I didn't know how to restore GRUB and I installed a new Ubuntu 10.4, so that now the former installation is in 6th position on the ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    1

    Resetting menu.lst in GRUB vers 1.9

    After installing Windows 7 I didn't know how to restore GRUB and I installed a new Ubuntu 10.4, so that now the former installation is in 6th position on the booting screen.
    I tried to edit the "menu.lst" but, now in Grub 1.9 I can't find the "menu.lst".
    Could someone help me?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Hello and welcome!

    Ubuntu 10.04 uses GRUB2, which is different from GRUB Legacy and it doesn't have a menu.lst file. Instead it has a grub.cfg file but you shouldn't edit it directly. Check these HowTos for the info you need to work with GRUB2:

    https://help.ubuntu.com/community/Grub2

    GRUB 2 bootloader - Full tutorial
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You can change default OS in GRUB Menu by editing /etc/default/grub file. Set GRUB_DEFAULT value to 6 in that file and execute sudo update-grub command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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