[SOLVED] find: `/boot/grub/menu.lst': No such file or directory
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Did you install Linux Mint Grub to the mbr? Newer releases of Mint use Grub2 which should have detected Opensuse. Run the find command from a Grub prompt as root (sudo). If you installed Grub 2 and it does not detect Opensuse, you may have to update Grub. I don't use Grub2 but this link may help, Section 5:C:
Run the find command from a Grub prompt as root (sudo). If you installed Grub 2 and it does not detect Opensuse, you may have to update Grub. I don't use Grub2 but this link may help, Section 5:C:
You should be able to read the mbr contents using the dd command. Unfortunately, I'm not sure what the command is so I won't tread there. The default on Linux Mint as on most distributions is to install to the master boot record. If you did not select the Advanced tab from GParted when you were partitioning and installing the bootloader, it should have been installed to the mbr.
Getting a grub prompt should be as simple as logging in as root (sudo or sudo su in Mint) and typing grub? When I log in as root on my machine and type the find command, these are my results:
which shows I have the menu.lst file on three partitions.
What OS are you using to run the command? Could you post partition inforamtion indicating which drives/partitions you have which OS installed on. sudo fdisk -l (lower case Letter L)
You could use the Mint install CD, mount your Mint and Opensuse partitions and see whether these files are there. Not really sure what the problem is?
Are you able to boot Linux Mint
Last edited by yancek; 10-12-2010 at 03:40 PM.
Reason: Request add'l info
The default on Linux Mint as on most distributions is to install to the master boot record. If you did not select the Advanced tab from GParted when you were partitioning and installing the bootloader, it should have been installed to the mbr.
I have not done anything from GParted, long time back I had created the partitions with PartedMagic.
Quote:
Originally Posted by yancek
Getting a grub prompt should be as simple as logging in as root (sudo or sudo su in Mint) and typing grub? When I log in as root on my machine and type the find command, these are my results:
See this: Do I have to install Grub now ?
Code:
Eccentric-aquarian anisha # grub
The program 'grub' is currently not installed. You can install it by typing:
apt-get install grub
Quote:
Originally Posted by yancek
What OS are you using to run the command? Could you post partition inforamtion indicating which drives/partitions you have which OS installed on. sudo fdisk -l (lower case Letter L)
Linux Mint 9 Fluxbox
Code:
Eccentric-aquarian anisha # fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f0989
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1306 10490413+ 83 Linux
/dev/sda2 1307 6528 41945715 83 Linux
/dev/sda3 6529 19458 103853057 5 Extended
/dev/sda5 6529 18927 99587072 83 Linux
/dev/sda6 18927 19458 4264960 82 Linux swap / Solaris
Disk /dev/sdb: 500.1 GB, 500107861504 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003061f
Device Boot Start End Blocks Id System
/dev/sdb1 1 623 4999168 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 623 1121 3998721 5 Extended
/dev/sdb3 1121 60802 479385600 83 Linux
/dev/sdb5 623 1121 3998720 82 Linux swap / Solaris
Quote:
Originally Posted by yancek
You could use the Mint install CD, mount your Mint and Opensuse partitions and see whether these files are there. Not really sure what the problem is?
Are you able to boot Linux Mint
Which files you want me to find ?
Yes I am able to boot Mint from my external disk and I have posted all this from my external disk Mint.
Just a note from me, it is pretty obvious that SUSE's GRUB was overwritten with Mint's when you have installed it and that's why you can't see SUSE entry in the boot menu. What you need to do is to recover SUSE's GRUB and install it on the MBR then you have to install Mint's GRUB to his root / partition, because both GRUBs can't be on the MBR.
If I understand correctly, your current situation is that you are able to boot and use Linux Mint which is on your external drive?? Is your external sdb?
Quote:
grub-install -v
The output from the above command shows you have the ubuntu-mint Grub2.
Your post shows that when you type grub at the command line, you are told it is not installed. Curious?
Am I correct that you have Opensuse on the internal and that is sda?
You have Linux Mint on sdb?
Which drive do you have set to first boot priority in the BIOS? sda? sdb?
I noticed several days ago you had another post in which you listed the output of the "ls" command in your Mint install and only had one png file in the /boot/grub directory. If you boot Mint, go to the /boot/grub directory and see what files you have there. You should have a number of files including a grub.cfg file which is to Grub2 what menu.lst was in Grub Legacy.
If I understand correctly, your current situation is that you are able to boot and use Linux Mint which is on your external drive??
I am able to boot Linux Mint on my internal harddisk as well as Linux Mint on my external harddisk. What I am not able to boot is OpenSuse on the internal harddisk.
Quote:
Originally Posted by yancek
Am I correct that you have Opensuse on the internal and that is sda? You have Linux Mint on sdb?
Which drive do you have set to first boot priority in the BIOS? sda? sdb?
Internal harddisk :
OpenSuse 11.2
Linux Mint 9
External harddisk :
Linux Mint 9
I do not know what disk represents sda and sdb.
Quote:
Originally Posted by yancek
I noticed several days ago you had another post in which you listed the output of the "ls" command in your Mint install and only had one png file in the /boot/grub directory. If you boot Mint, go to the /boot/grub directory and see what files you have there. You should have a number of files including a grub.cfg file which is to Grub2 what menu.lst was in Grub Legacy.
You noticed that thread of mine but still didn't help there ???
Yes I have found that grub.cfg here:
and you are saying now I should do with grub.cfg whatever I wanted to do with menu.lst
The file grub.cfg is not intended to be edited by the user, it is automatically created if the command update-grub is executed. This command will search for bootable operating systems and then generate grub.cfg according to its findings. So may be it helps if you boot into your Mint and run, as root, update-grub.
Which Linux Mint are you using to boot?
Which was the last you installed, external?
Do you have the internal drive set to first boot priority?
If it is, when you boot, are you able to boot either Linux Mint?
Can you set the external drive to first boot priority? If so, do that and re-boot to see what happens.
Quote:
I do not know what disk represents sda and sdb.
Your fdisk output posted above indicates sda is 160GB drive and sdb is a 500GB drive.
Quote:
You noticed that thread of mine but still didn't help there ???
Correct. I guess it just seemed to obvious, the only file in the directory was an image file?
I think the first thing you need to figure out is which Grub you re using to boot, the internal or external drive. Try changing boot priorities as suggested above to see what happens. I think the update-grub command should work but, I have not used Grub2 at all so won't make any further suggestions in that regard.
The file grub.cfg is not intended to be edited by the user, it is automatically created if the command update-grub is executed. This command will search for bootable operating systems and then generate grub.cfg according to its findings. So may be it helps if you boot into your Mint and run, as root, update-grub.
I don't know how to thank you now.
I booted Mint from my external harddisk in the rescue mode and ran the command
Code:
update-grub
It gave some output showing that it had detected Suse on a harddisk and Mint on another.
and I rebooted,
OpenSuse 11.2 showed up in the booting menu !!!
and I am posting this from that Suse itself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.