From: "Matthew T. Jachimstal" <matthew@uniqsys.com>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] question about grub
Date: 15 Mar 2002 13:03:16 -0500 [thread overview]
Message-ID: <1016215397.4355.49.camel@pinky.uniqsys.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0203151155340.6671-100000@rivendell.starshadow.com>
[-- Attachment #1: Type: text/plain, Size: 2122 bytes --]
On Fri, 2002-03-15 at 13:00, Ryan McLean wrote:
> Hello,
>
> I was reading your excellent installation documentation online, and I
> ran into a question. Near the end you're breaking down the commands for
> grub, but you leave some information out that I would like to know:
>
> # Below needed only for people who dual-boot
> title=Windows NT Workstation
> root (hd0,5)
> chainloader +1
>
> I'm unclear as to what the (hd0,5) are pointing to, is to say "boot of
> off the FAT partition located at partition 5"? Normally MS likes to
> reside on the primary partition of the drive, so I just want clarification
> on this. For instance, if I have a dual boot, MS on the primary partition
> and Gentoo's root at (sd0,3), then I would put root (sd0,1) under my
> Windows boot section, correct? And also, what does the chainloader +1
> command do? Thank you fo your time, I'm an old fan of lilo, but I have
> been cosidering migrating to a newer bootloader :)
I'll take a quick stab at this:
First, always add 1 to grub's numbers for disk and partition. The first
partition of the first disk is (hd0,0). So, if your Windows is on sda1,
the grub parameter is (sd0,0).
The chainloader +1 (I think) means to start chain loading the boot
loader 1 sector from the start of the specified (root) partition.
There's some excellent grub docs at the GNU website:
http://www.gnu.org/manual/grub-0.90/grub.html
I'd definitely encourage you to move to grub. Writing the boot sector
once really is much nicer. I messed up a config file, putting hd(0,0)
instead of (hd0,0). With LILO I would've needed to find a boot disc. In
grub, I simply edited the boot commands from the menu and merrily went
on with the boot.
Have fun!
Matthew
--
Matthew T. Jachimstal | Phone: (419) 861-3331 .~.
System Administrator | FAX: (419) 861-3340 /V\
Unique Systems, Inc. | http://www.uniqsys.com // \\
6920 Spring Valley Drive, Suite 106 | matthew@uniqsys.com /( )\
Holland, OH 43528 | ^`~'^
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2002-03-15 18:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-15 18:00 [gentoo-dev] question about grub Ryan McLean
2002-03-15 18:03 ` Matthew T. Jachimstal [this message]
2002-03-15 18:35 ` Dan Armak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1016215397.4355.49.camel@pinky.uniqsys.com \
--to=matthew@uniqsys.com \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox