LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2005, 05:04 PM   #1
pcandpc
Member
 
Registered: Apr 2005
Posts: 241

Rep: Reputation: 30
grub loading grub


Hello?

What I'd like to do is load the second distro's boot loader
from the first distro's boot loader instead of just booting
the second distro.

For instance, if I have distroA's GRUB residing in the MBR
and when I load distroB, I'd like to see distroB's GRUB in
action including its own graphical menu/splash screen while
maintaining distroA's GRUB setting when it's booting.

Basically, I'd like to know what to add in distroA's menu.lst
file when distroB's bootloaser, let's say, resides in the following
locations:

1. MBR (/dev/hdd) of the drive where distroB (/dev/hdd2) resides.
2. The first boot sector of BOOT partition in distroB's drive.
3. The first boot sector of ROOT partition in distroB's drive.

Thanks.
 
Old 06-03-2005, 03:25 AM   #2
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
hi.
i dont think that this is a possible thing. the aim of a boot loader is to load and set up an operating system, and this could be done by a list of operations common to any O.S. (sequence of bootstrap) like load the partition table, check the file system and mount the root partition. for these reasons i dont think that you can tell to a boot loader to load ANOTHER boot loader. this is what i think!

bye

Matteo
 
Old 06-03-2005, 07:31 PM   #3
pcandpc
Member
 
Registered: Apr 2005
Posts: 241

Original Poster
Rep: Reputation: 30
Hi mrosati,

Thanks for your comments.

I encountered some comments regarding this issue
in the past that this is doable through some combination
of "chainloader +1" GRUB commands.

After all, Windows is another, sort of, boot loader that
is invoked through some GRUB commands combination
with "chainloader +1" when it coexists in a system with
Linux distros and is invoked from this other distro.

This was basically the essential idea from the past comment,
so I was just curious if anybody has managed to work out
this issue.

Regards,
 
Old 06-03-2005, 10:00 PM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
rootnoverify (hdx,x)
chainloader +1

it will only work if the bootloader is installed to the distros / partition i've done that a few times but i usually just edit grub to boot the second distro and not chainload
 
Old 06-03-2005, 10:32 PM   #5
pcandpc
Member
 
Registered: Apr 2005
Posts: 241

Original Poster
Rep: Reputation: 30
Hi Boow,

That's it! Thanks for your confirmation.

It appears that your suggestion would take care of the case 3
in the starting thread. So then, there's no way to accomplish
cases 1 and 2?

How about GRUB loading LILO and vice versa?

Regards,

Last edited by pcandpc; 06-03-2005 at 10:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub not loading jaya_surya1 Linux - Newbie 6 06-19-2008 04:32 AM
Grub not loading any OS Seribicus Linux - Software 3 05-08-2006 05:08 PM
grub loading borojohn Linux - Newbie 3 04-14-2005 03:28 AM
grub not loading configfile orinjus Fedora - Installation 1 06-22-2004 04:02 AM
Grub not loading pikeymick Linux - Newbie 4 04-30-2004 08:25 AM


All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration