From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DMARC_QUAR,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from bridge.uniqsys.com (bridge.uniqsys.com [65.165.122.193]) by chiba.3jane.net (Postfix) with ESMTP id CA11D201BDA0 for ; Fri, 15 Mar 2002 12:08:13 -0600 (CST) Received: from pinky.uniqsys.com (pinky.uniqsys.com [65.165.122.201]) by bridge.uniqsys.com (8.11.6/8.11.6) with ESMTP id g2FI3Ho18610 for ; Fri, 15 Mar 2002 13:03:17 -0500 Subject: Re: [gentoo-dev] question about grub From: "Matthew T. Jachimstal" To: gentoo-dev@gentoo.org In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-RkGWDAqXpO2JI8Iko6l8" X-Mailer: Evolution/1.0.2 Date: 15 Mar 2002 13:03:16 -0500 Message-Id: <1016215397.4355.49.camel@pinky.uniqsys.com> Mime-Version: 1.0 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: d04c82db-5bd6-43d3-b0f2-627cf47297e1 X-Archives-Hash: 5939dec3d31eee416e809bc25bd634eb --=-RkGWDAqXpO2JI8Iko6l8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2002-03-15 at 13:00, Ryan McLean wrote: > Hello, >=20 > 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: >=20 > # Below needed only for people who dual-boot > title=3DWindows NT Workstation > root (hd0,5) > chainloader +1 >=20 > 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 clarificatio= n > on this. For instance, if I have a dual boot, MS on the primary partitio= n > 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 --=20 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 | ^`~'^ --=-RkGWDAqXpO2JI8Iko6l8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8kjdkXPqnGDQC3ZURAjFqAJ49yIlok5kz2tYg60ItkCjjUeosdwCgiWBU aqBXVIsE/DZJMpRnl9kKxFw= =JXf3 -----END PGP SIGNATURE----- --=-RkGWDAqXpO2JI8Iko6l8--