Dual boot problem (Ubuntu and mepis)
Hi everyone. I am an utter Linux newb who was tricked into putting Ubuntu for 64-bit on his machine. After a few months of thinking I was an idiot, I realized that 64-bit stuff simply isn't available yet in sufficient quantities to be useful for an average user (despite my techie friends' exhortations). So I went and installed Simply Mepis, which I like, although I find the KDE desktop very busy.
Anyways, I had already partitioned the hard drive when I put Ubuntu on, figuring I might make the machine dual boot in the future. So I easily preserved /home and such, and Mepis installed like a dream. Except that I can't get to Ubuntu now. Somehow I must have screwed up and made it that the machine doesn't offer me the choice of OS. I have no idea how to fix this, and am hoping there is some simple line that will make the machine offer me the choice again. Ubuntu is on /hda1, while Mepis is on /hda2. /home is on its own partition, as is the swap. Any help to be found? (crosses fingers and prepares to sacrifice ducks to the computer gods.) |
What happened is that the boot loader Grub(I think Grub is the option for Mepis) installed in the MBR. All you need to do is to is edit /boot/grub/menu.lst. Add an entry for Ubuntu and restart. An example from my menu.lst:
Code:
title Ubuntu64 E |
That is an answer as good as one can get.
The bit that may help is One can mount Ubuntu partition /dev/hda1 in Mepis (Mepis could have mounted it automatically because that is what is different from others) and see the actual lines lines ubuntu use to boot itself. The file is /boot/grub/menu.lst in hda1. You can cut and paste the 4 relavant lines as indicated by esbel. As Mepis now control the MBR your editing should be confined to the /boot/grub/menu.lst of hda2. |
That's even more clever!;)
E |
It is very clever.
Except for one thing. I can't seem to edit menu_lst. This is what the menu_lst on hda 2 looks like Quote:
Quote:
First: Which of those lines should I paste in? Second: Why is it than when I do paste something in, I get a warning saying I can't edit that file? I suspect it has to do with getting into super user mode, but I tried running KEdit in super user and that accomplished nothing. Maybe I have to log out and log back in as super user? (Mepis appears to not let you just switch into super user mode). I thought maybe I had to run a text editor from the terminal, but I appear to only have vi, which is impossible to understand for a newbie. So... any suggestions? |
(1) Log in as root as you need admin privileage to work with system files
(2) Any choice between title and boot, why not cut and the the whole lot (only bits between title and boot are relevant)? |
Well, we've fixed part of the problem
I edited menu_lst to be the following: Quote:
Did I put in the wrong one? Should I put in all 4? And if I do, do I include the boot at the end? |
Hey comme on, showing off to the whole world your wrong typing?
Where did you get Quote:
Quote:
Why Can't you do cut and paste? Hightlight text, ctrl+C to copy, move cursor to destination and ctrl+V. |
All times are GMT -5. The time now is 05:44 AM. |