LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
LinkBack Search this Thread
Old 12-02-2005, 09:06 PM   #1
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Post DISCUSSION: Chainloading in Linux


This thread is to discuss the article titled: Chainloading in Linux
 
Old 01-20-2006, 11:19 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Content is good -- I do most of this myself.

It would be nice see a distinction made between a boot loader & a boot manager (such as GAG). We get so used to the fact that the common bootloaders we encounter also function as boot manager's, that we forget the distinction.

Any chance this can be edited to fix the following:
  • "chainlader +1" (1st occurence)
  • make the "Quote:"'s into Code blocks
  • make the bold tags work instead of being visible as text.
 
Old 09-20-2007, 10:05 AM   #3
witE.fellow
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
chainloader in the weeds

Quote:
Originally Posted by archtoad6 View Post
Content is good -- I do most of this myself.

It would be nice see a distinction made between a boot loader & a boot manager (such as GAG). We get so used to the fact that the common bootloaders we encounter also function as boot manager's, that we forget the distinction.

Any chance this can be edited to fix the following:
  • "chainlader +1" (1st occurence)
  • make the "Quote:"'s into Code blocks
  • make the bold tags work instead of being visible as text.
This thread was very good in explaining chainloading. However, how does bootloader of System A actually find the bootloader of System B? How does it read it in an execute it?

Since Windows is in a fixed location, is the boot.ini file executed?

I have been using Grub for years now and I never really understood how chainloading actually worked. I am interested in chainloading other Linux distros but I thought I would try to understand what chainloading actually is before I do so.

Thanks
-Wit
 
Old 09-20-2007, 02:05 PM   #4
alaskazimm
Member
 
Registered: Mar 2004
Location: Watching it snow in bush Alaska
Distribution: *ubuntu, Smoothwall, WinXP Pro
Posts: 126

Rep: Reputation: 15
Quote:
Originally Posted by witE.fellow View Post
This thread was very good in explaining chainloading. However, how does bootloader of System A actually find the bootloader of System B? How does it read it in an execute it?

Since Windows is in a fixed location, is the boot.ini file executed?
The bootloader of System A finds the bootloader of System B because you tell it where to look. An example of GRUB:

Code:
title Linux @ hda7
root (hd0,6)
chainlader +1
The root section tells GRUB where the / of System B is. / of System B is also where the bootloader of B resides. So in practice the first bootloader comes up and you point it to B, then the second bootloader comes up and you choose what to boot from there.
One advantage to this setup, if you have multiple Linux installs or you are testing new distros, is that you can boot into the new install right away without booting first into your main install to reconfigure the bootloader.

Hope that makes some kind of sense.
 
Old 09-23-2007, 08:49 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
If that isn't clear, you might want to look at the on-line manual for GRUB: http://www.gnu.org/software/grub/manual/grub.html


13.3.31 root
explains "root".


11.1 How to specify devices
explains "(hd0,6)".

13.3.4 chainloader explains "chainloader +1".


FWIW, 11.3 How to specify block lists suggests that the 2 commands could be combined as "chainloader (hd0,6)+1"
 
Old 05-14-2008, 12:27 PM   #6
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 441

Rep: Reputation: 30
Quote:
Chainloading for non-Linux systems..
if the os' file system is not supported (like in opensolaris with ZFS) you need to replace root with rootnoverify. Because you will get Unsupported File System error when grub tries to mount the partition.

Other then that, nice guide this helped alot!

thanks,

djgerbavore
 
Old 05-15-2008, 08:52 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Good reminder, I almost never need rootnoverify, so I forget that it's sometimes necessary.
 
Old 07-09-2010, 05:16 PM   #8
rsimpson
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Good info

Very nice info, lots of stuff I tend to forget.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Using Linux to backup and recover Windows and Linux systems shshjun LinuxAnswers Discussion 3 12-05-2009 09:42 PM
chainloading lilo mimithebrain Linux - Software 7 05-18-2005 05:31 PM
Grub difficulty chainloading 2000 and XP michapma Linux - General 2 05-17-2005 12:41 AM
dualboot grub chainloading copy and paste no success amarillo Linux - Distributions 4 02-23-2005 08:52 PM
grub and second linux, chainloading lacrimae Linux - Software 4 07-15-2002 09:17 PM


All times are GMT -5. The time now is 02:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration