find: `/boot/grub/menu.lst': No such file or directory
I had dual booted my internal harddisk.
OpenSuse 11.2 was already installed. I installed Linux-Mint Fluxbox, second. I need to modify the grub - menu.lst since Suse is not getting displayed in the boot menu ! Code:
aquarius ~ # find /boot/grub/menu.lst Code:
aquarius ~ # find /etc/lilo.conf |
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:
http://www.dedoimedo.com/computers/grub-2.html |
Thanks for replying.
Quote:
Quote:
Following code is from my external harddisk: Code:
Eccentric-aquarian anisha # grub |
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: Quote:
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 |
"grub-install -v" will give you a version number; "0.9[67]" is grub1, and "1.9?" is grub2.
If it is grub2 it should have found OpenSuSE on install. |
yancek and syg00
Thanks to both of you. Code:
Eccentric-aquarian anisha # grub-install -v Quote:
Quote:
Code:
Eccentric-aquarian anisha # grub Quote:
Code:
Eccentric-aquarian anisha # fdisk -l Quote:
Yes I am able to boot Mint from my external disk and I have posted all this from my external disk Mint. HELP HELP |
Hi!
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. A little search found this; http://www.linuxquestions.org/questi...-howto-517717/ Regards, Alan. |
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:
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. |
yancek,
Thanks for following up. Quote:
Quote:
External harddisk :
I do not know what disk represents sda and sdb. Quote:
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 Code:
anisha@Eccentric-aquarian ~ $ su |
If you edit the grub.cfg file, your changes will be lost the next time some program calls update-grub. It may help to call the command yourself.
|
Quote:
|
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:
Quote:
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. |
Quote:
I booted Mint from my external harddisk in the rescue mode and ran the command Code:
update-grub and I rebooted, OpenSuse 11.2 showed up in the booting menu !!! and I am posting this from that Suse itself. Thanks again. |
Quote:
160GB is internal harddisk with the dual boot : Suse+Mint 500GB is external harddisk with Mint. What was so obvious in that thread ? Yes, I am a Grub illiterate. |
All times are GMT -5. The time now is 11:11 PM. |