Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Whera I can Find "menu.lst" for GRUB With This Situation.....

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Jul 2012
    Posts
    5

    Question Whera I can Find "menu.lst" for GRUB With This Situation.....

    Hello all.
    I installed Backtrack 5 r2 with Windows 7 & for some tutorials that i read before installing about dual-boot and for run GRUB so i installed GRUB in partition that i installed Win now i want to change something in menu.lst from GRUB for customize but i can't find it in "/boot/grub",I also searched in Win partition but nothing ....
    Where I can find that?

  2. #2
    Senior Member VulpiArgenti's Avatar
    Join Date
    Sep 2011
    Location
    lost
    Posts
    174

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    /etc/default/grub

  3. #3
    Just burned his ISO
    Join Date
    Jul 2012
    Posts
    5

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    Quote Originally Posted by VulpiArgenti View Post
    /etc/default/grub
    Thanks a lot. in "default" folder i couldn't see "grub" folder to edit "menu.lst" i just saw a file in default folder with name "grub" that
    e.g. i changed timeout and saved it but when i reboot computer nothing changed in grub.
    do you know why?

    and @ dear Snayler i copy that in terminal but show one thing that's not about it.

  4. #4
    Senior Member BigMac's Avatar
    Join Date
    Jan 2008
    Posts
    213

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    i guess this thread is solved and i dont want to upset anyone with my question but i fill this is the correct place to ask being it is sort of related...

    "How do i change the boot order" i have done a triple boot, windows7, linux mint and backtrack 5(10.04 lucid kernel 3.2.6)
    when my grub loads it looks something like this

    cat /boot/grub/grub.cfg | grep menuentry
    Code:
    (DO NOT EDIT THIS FILE)
    menuentry 'Ubuntu, with Linux 3.2.6' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 3.2.6 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.32-42-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.32-42-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry "Memory test (memtest86+)" {
    menuentry "Memory test (memtest86+, serial console 115200)" {
    menuentry "Windows Vista (loader) (on /dev/sda1)" {
    menuentry "Windows 7 (loader) (on /dev/sda2)" {
    menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-31-generic (/dev/sdb1) (on /dev/sdb1)" {
    menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-31-generic (/dev/sdb1) -- recovery mode (on /dev/sdb1)" {
    menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-23-generic (/dev/sdb1) (on /dev/sdb1)" {
    menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-23-generic (/dev/sdb1) -- recovery mode (on /dev/sdb1)" {
    so my question is how can i change the order and set linux mint as the first boot...

  5. #5
    Very good friend of the forum maverik35's Avatar
    Join Date
    Sep 2009
    Location
    Debian land
    Posts
    734

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    Quote Originally Posted by BigMac View Post
    i guess this thread is solved and i dont want to upset anyone with my question but i fill this is the correct place to ask being it is sort of related...

    "How do i change the boot order" i have done a triple boot, windows7, linux mint and backtrack 5(10.04 lucid kernel 3.2.6)
    when my grub loads it looks something like this

    cat /boot/grub/grub.cfg | grep menuentry
    Code:
    (DO NOT EDIT THIS FILE)
    menuentry 'Ubuntu, with Linux 3.2.6' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 3.2.6 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.32-42-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.32-42-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry "Memory test (memtest86+)" {
    menuentry "Memory test (memtest86+, serial console 115200)" {
    menuentry "Windows Vista (loader) (on /dev/sda1)" {
    menuentry "Windows 7 (loader) (on /dev/sda2)" {
    menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-31-generic (/dev/sdb1) (on /dev/sdb1)" {
    menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-31-generic (/dev/sdb1) -- recovery mode (on /dev/sdb1)" {
    menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-23-generic (/dev/sdb1) (on /dev/sdb1)" {
    menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-23-generic (/dev/sdb1) -- recovery mode (on /dev/sdb1)" {
    so my question is how can i change the order and set linux mint as the first boot...
    I belive it was solved...

    You do not upset anyone, my friend, we are here to help..But you had to open a new thread since this one is from someone else..

    But being here, I'd like to give you a piece of advice: read little more about ther GRUB...

    Now, let's get to the point:

    to change the order of default boot, as I mentioned before, you have 2 "templates" so to speak..Those 2 ftemplates will modify your grub.cfg file...

    One of the templates or files is /etc/default/grub, here you will modify the boot order. Now this file or template has many parameters, if you can browse it or edit it.

    To change a meny entry to be the default, there is a value you have to modify: GRUB_DEFAULT, having 3 ways of doing it:

    1. Assign the corresponding line number (starting from 0) in /boot/grub/grub.cfg
    GRUB_DEFAULT=0 (in your case this would be the first line and I quote : 'Ubuntu, with Linux 3.2.6' --class ubuntu --class gnu-linux --class gnu --class os {"
    if you want, per say : menuentry "Linux Mint 13 Cinnamon 64-bit, 3.2.0-31-generic (/dev/sdb1) (on /dev/sdb1)" { you have to see the line number starting from 0, this line is number 9, starting from 0).. Then your parameter wold be:
    GRUB_DEFAULT=9

    2. Asign the menu entry Label: as appearded in your grub.cfg:
    GRUB_DEFAULT="Linux Mint 13 Cinnamon 64-bit, 3.2.0-31-generic (/dev/sdb1) (on /dev/sdb1)"

    3. Also assigning the "saved" value, if so, it will use the entry used in the last boot.
    GRUB_DEFAULT=saved

    Once modified, run update-grub, this will make system to read both templates (/etc/default/grub and scripts under /etc/grub.d) with your modifications and will create the NEW /boot/grub/grub.cfg...Then Reboot.

    So, first, take a look at your /etc/grub and see it to modify accordingly..

    Luck.

  6. #6
    My life is this forum Snayler's Avatar
    Join Date
    Jan 2010
    Posts
    1,418

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    A good linux command for this situations is "locate":
    Code:
    locate menu.lst
    It will return a list with all the directories containing a file named "menu.lst".
    Run "man locate" for more information.

  7. #7
    Just burned his ISO
    Join Date
    Jul 2012
    Posts
    5

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    Thanks but there is not a folder with name "grub" in "etc/default"
    i just found a grub file in that location that names "grub" and i changed but nothing changed!!
    and when i enter "locate menu.lst" they show one file that names "grub-menu.lst" and it's not about it.
    Can you help me?

  8. #8
    Just burned his ISO
    Join Date
    Jun 2012
    Posts
    12

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    the file in question your looking for is grub.cfg

    nano /boot/grub/grub.cfg


    r083rt

  9. #9
    Junior Member
    Join Date
    Jun 2012
    Posts
    42

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    Yet another way to find any file on your system:
    Code:
    find / | grep {filename}
    such as:
    Code:
    find / grep menu.lst
    . You can make the search go faster if you know approximately where the file is, such as
    Code:
    find /root | grep myfile

  10. #10
    Very good friend of the forum maverik35's Avatar
    Join Date
    Sep 2009
    Location
    Debian land
    Posts
    734

    Default Re: Whera I can Find "menu.lst" for GRUB With This Situation.....

    No menu.list in GRUB2...Please read more about grub2, and the 2 files that configure the options. No menu.lst in grub2...

Page 1 of 2 12 LastLast

Similar Threads

  1. Grub menu feezes
    By numerouno in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 06-21-2012, 12:34 PM
  2. 7 options in grub menu
    By halfmoon in forum BackTrack 5 Beginners Section
    Replies: 2
    Last Post: 11-16-2011, 02:41 PM
  3. GRUB prompt at boot instead of menu
    By 7yphoid in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 06-20-2011, 11:36 PM
  4. Install BT5 on USB no menu.lst after GRUB
    By pedrazaa in forum BackTrack 5 Beginners Section
    Replies: 1
    Last Post: 06-05-2011, 01:45 AM
  5. what happened to Grub Menu in BT4 R1?
    By algemy in forum Beginners Forum
    Replies: 0
    Last Post: 09-28-2010, 09:03 PM

Posting Permissions

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