|
Page 1 of 1
|
[ 8 posts ] |
|
how to add grub 2 distros to grub legacy menu.lst
| Author |
Message |
|
jozien
MEPIS Rules!
Joined: Sun Aug 06, 2006 4:49 pm Posts: 125 Has thanked: 0 time Have thanks: 3 times
|
Post # 293117
 how to add grub 2 distros to grub legacy menu.lst
Mepis 11 is my default linux and it uses grub legacy Grub legacy uses menu.lst to show all distros you can boot and it is in the MBR. When I install grub 2 distros, linux mint, ubuntu and debian, they will overwrite the MBR. I can install grub 2 in the partition I install the grub 2 distros but can't boot them. How can you add grub 2 distros to grub legacy menu.lst? I don't use grub 2 to boot distros, too complex to use.
jozien
|
| Mon Jan 09, 2012 1:14 pm |
|
 |
|
lucky9
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 5:54 am Posts: 9157 Location: Tulsa, Oklahoma U.S.A. Has thanked: 2708 times Have thanks: 574 times
|
Post # 293119
 Re: how to add grub 2 distros to grub legacy menu.lst
I chainload anything that doesn't get treated correctly by GRUB. See: http://www.mepis.org/docs/en/index.php? ... nload_GRUB
_________________ "There is no "slippery slope" toward loss of liberties, only a long staircase where each step downward must first be tolerated by the American people and their leaders." Alan K. Simpson
|
| Mon Jan 09, 2012 1:24 pm |
|
 |
|
kmathern
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 2:26 pm Posts: 5134 Has thanked: 269 times Have thanks: 1396 times
|
Post # 293120
 Re: how to add grub 2 distros to grub legacy menu.lst
I'm doing something like that. I have a boot partition using grub legacy that's installed to the mbr. I chainload to other partitions that have grub legacy or grub2 installed to their roots. Here's a few stanzas from my master menu.lst on my boot partition. The stanzas highlighted in green are for chainloading to grub2.  |  |  |  | Quote: timeout 15 default 1 color cyan/blue white/blue foreground ffffff background 0639a1 gfxmenu /boot/grub/message title sda8, chainloaded rootnoverify (hd0,7) chainloader +1 boot title Chainload to sda8 with grub2 on it's root kernel (hd0,7)/boot/grub/core.img title sdb6 chainloaded rootnoverify (hd1,5) chainloader +1 boot title Chainload to sdb6 with grub2 on it's root kernel (hd1,5)/boot/grub/core.img
title sdb7 chainloaded rootnoverify (hd1,6) chainloader +1 boot title Chainload to sdb7 with grub2 on it's root kernel (hd1,6)/boot/grub/core.img |  |  |  |  |
you might notice that I have dual entries for chainloading to either grub-legacy or grub2.
|
| Mon Jan 09, 2012 1:27 pm |
|
 |
|
malspa
MEPIS Guide
Joined: Thu Jul 13, 2006 7:21 am Posts: 1496 Location: albuquerque Has thanked: 70 times Have thanks: 90 times
|
Post # 293124
 Re: how to add grub 2 distros to grub legacy menu.lst
Here's my approach. These are the entries in my Mepis 11 menu.lst for the other distros I boot here. SalineOS, Ubuntu Lucid, Debian Squeeze, and Fedora 16 are the grub2 distros.
|
| Mon Jan 09, 2012 2:25 pm |
|
 |
|
Danum
MEPIS Guide
Joined: Sun Mar 25, 2007 5:49 pm Posts: 2447 Location: Doncaster UK Has thanked: 99 times Have thanks: 610 times
|
Post # 293127
 Re: how to add grub 2 distros to grub legacy menu.lst
I do use Grub2, and far from being complex, it does not get any easier, I also run multiple disros, one simple command on my main system after installing or removing a distro. as root and that is it, job done
_________________ *Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic(Windoze)*
Kubuntu KDE 4.10.2 / Debian Wheezy-Experimental KDE 4.10.2 / Plasma Active 3 Tablet
|
| Mon Jan 09, 2012 2:51 pm |
|
 |
|
DBeckett
MEPIS Guide
Joined: Sat May 16, 2009 3:59 pm Posts: 2491 Has thanked: 290 times Have thanks: 359 times
|
Post # 293132
 Re: how to add grub 2 distros to grub legacy menu.lst
I use Mepis 11's grub, and I've always booted to grub2 distros in the following way. The only difference is in the location of the vmlinuz and initrd links.
_________________ Gigabyte 7ZXE, AMD Athlon XP 2200+, 160GB, 1.5GB, XP, M11, M8.5, Wheezy IBM ThinkPad T43, Intel Pentium M (1.73GHz), 60GB, 1GB, XP, Mepis 11
|
| Mon Jan 09, 2012 4:08 pm |
|
 |
|
JimC
MEPIS Guide
Joined: Tue Jul 25, 2006 12:47 pm Posts: 1270 Location: Savannah, GA Has thanked: 68 times Have thanks: 232 times
|
Post # 293133
 Re: how to add grub 2 distros to grub legacy menu.lst
I've always done it by installing all of the distros I want to use, including Mepis, then booting into a Mepis Live CD or DVD and using the Mepis System Assistant to reinstall GRUB in the MBR after letting other distros use their boot managers there. IOW, just let Mepis overwrite what's in the MBR by using the Mepis System Assistant to reinstall GRUB after finishing with installing another distro.
From my experience, GRUB usually does a pretty good job of recognizing other distros installed on my partitions and adds them to the /apt/boot/menu.lst used by Mepis when you use the Mepis System Assistant from a Live DVD or USB stick to reinstall GRUB in the MBR.
That way, I don't have to worry about other boot managers at all (I just let GRUB handle it).
|
| Mon Jan 09, 2012 4:36 pm |
|
 |
|
KrispyKritter
MEPIS is cool!
Joined: Fri Dec 29, 2006 8:09 pm Posts: 597 Location: Dallas, Texas Has thanked: 39 times Have thanks: 57 times
|
Post # 293140
 Re: how to add grub 2 distros to grub legacy menu.lst
I have used grub2 for over a year installed from my Ubuntu installation. I have Windows 7 which had to be installed first then Ubuntu got installed and allowed to write to the MBR. Then the other system (3 in number) got installed and their respective boots were written to their root directories. Then doing a update-grub from the Ubuntu installation would find these systems. Nothing could be easier.
I have just replaced the hard drive on this computer and gotten Windows 7 installed and Mepis 11 (KDE 4.6.5). The Mepis 11 has also been upgraded to Grub2 and this is stored to the MBR. The only gotch that you might find is remembering which system is the "control" system ie the system that has its grub installed in the MBR. That is the system you have to go to and run "update-grub" when you install another system.
Steve
_________________
I messed with the dragon and now I am ready for the ketchup! The only stupid question is the one you already know the answer. ~Krispy Kritter~ Toshiba Satellite A215-S7427(AMD-64) Windows7/M11(KDE4.6.5)/M11(RoadblockTRK2-32) via Grub2
|
| Mon Jan 09, 2012 6:22 pm |
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|