LinuxQuestions.org
Help answer threads with 0 replies.
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 02-26-2007, 11:22 AM   #1
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Fedora 14, Ubuntu , Slax 5.1.8, OpenSolaris, Centos 4.8
Posts: 296

Rep: Reputation: 30
Grub Chainloading /direct booting ( arising from Boot 100+ systems tutorial)


Hi.
Just read Saikee's highly impressive "How to boot 100+ systems via grub" tutorial. Two things arose on reading which have me asking questions.

1. Chainloading or direct booting. Why one and not the other ?

Several lines from that menu.lst file :

Code:
title          Asian Linux  @ hda33
root           (hd0,32)
chainloader    +1
                  
title          Ubuntu 6.04 Dapper (by direct boot) @ hda34
root           (hd0,33)
kernel         /boot/vmlinuz-2.6.15-8-386 root=/dev/hda34 ro quiet splash
initrd         /boot/initrd.img-2.6.15-8-386
Was there are reason why Ubuntu 6.04 was not chainloaded as well ? I assumed it could not be hence the "direct boot."

And number two question. During a new linux installation will you ask the boot loader ( that comes wiht that distro of linux) to be installed on the "root partition" as opposed to the MBR so it does not interfere with your "100+ grub menu.lst"
I take it you will have to edit your main menu.lst( which contains all the lisings to boot the 100+ os) manually. Adding separate lines for your new Linux.
Clarifying these two problems will definitely enhance my understanding of Grub and the way it operates.
I have a spare partition on a HD which already houses Ubuntu. I would like to install a new linux on this but do not want it to overwrite with my current grub startup menu /MBR which was installed by Ubuntu.
Essentially I would like to install the new linux and manually edit my original menu.lst adding the new linux details.

Cheers,
Uncle

Last edited by uncle-c; 02-26-2007 at 11:36 AM.
 
Old 02-26-2007, 08:23 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Direct-booting v Chainloading:
The advantage of chainloading as Saikee suggests is that if a distro upgrades its kernel then you don't have to make any changes to the main menu.lst. All distros can be chainloaded, providing that they have their own grub installed in their root partition.

If you set everything up as Saikee suggests, then the only thing you need to edit the main menu.lst for is to change the name of this distro you are booting.

--Ian
 
Old 02-27-2007, 04:47 AM   #3
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Fedora 14, Ubuntu , Slax 5.1.8, OpenSolaris, Centos 4.8
Posts: 296

Original Poster
Rep: Reputation: 30
Excellent. Everything now fits into place.
Getting into the nitty gritty of GRUB had been on my TODO list for a while. I've got a lot sorted over the last few days.
Much appreciated and thanks again,

Uncle.

Last edited by uncle-c; 02-27-2007 at 04:49 AM.
 
  


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 & XP w/out Chainloading: Possible? Computer Guru Linux - Software 5 06-14-2006 01:23 PM
Grub difficulty chainloading 2000 and XP michapma Linux - General 2 05-17-2005 01:41 AM
GRUB Directives for Booting W98 Systems RJEmery Linux - Newbie 2 04-19-2005 09:29 AM
dualboot grub chainloading copy and paste no success amarillo Linux - Distributions 4 02-23-2005 09:52 PM
grub and second linux, chainloading lacrimae Linux - Software 4 07-15-2002 10:17 PM


All times are GMT -5. The time now is 09:43 AM.

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