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.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from supermail.mweb.co.za (supermail.mweb.co.za [196.2.53.171]) by chiba.3jane.net (Postfix) with ESMTP id 9E1D920ED786 for ; Fri, 8 Mar 2002 14:39:14 -0600 (CST) Received: from [196.30.180.106] (helo=nosferatu.lan) by supermail.mweb.co.za with esmtp (Exim 3.22 #1) id 16jQsB-0000p1-00 for gentoo-dev@gentoo.org; Fri, 08 Mar 2002 22:21:52 +0200 Subject: RE: [gentoo-dev] Point of fact. From: Martin Schlemmer To: Gentoo-Dev In-Reply-To: <1015606277.2535.92.camel@maas.wired> References: <23DFAA462CC6A64487613B0E242D9FF706EBB4@mercury.phoenix-interactive.com> <1015606277.2535.92.camel@maas.wired> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution/1.0.2 Date: 08 Mar 2002 22:34:30 +0200 Message-Id: <1015619679.24548.4.camel@nosferatu.lan> 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: ea3f2c25-2dda-4f35-b2ba-ac38a3231b53 X-Archives-Hash: 0442929846b12174b7d5fa21ea7122d5 On Fri, 2002-03-08 at 18:51, Erik Grinaker wrote: > On Fri, 2002-03-08 at 16:55, Sean Mitchell wrote: >=20 > > Well, the rest of that whole post aside, many of us have had trouble wi= th > > grub because we have no separate /boot partition. In my case, my /boot > > partition is on /dev/hde1, which grub just can't seem to find. > >=20 I have experienced the same problem in the past. Try the following: device (hd0) /dev/hde root (hd0,0) #or whatever .... This works for me. > > I like grub, but I've had much more success with lilo. >=20 > This is all explained in the grub documentation > (http://www.gnu.org/manual/grub-0.90/html_chapter/grub_toc.html).=20 >=20 > The biggest problem people have with GRUB is that they fail to realize > what root in the GRUB config means - it is not the system root, but the > root where the kernel images reside. In other words, your boot > partition. >=20 Not entirely. root(hd?,?) sets the root partition for Grub's stage files. You can specify a kernel on a alternative partition: root (hd0,0) kernel (hd0,1)/vmlinuz root=3D/dev/foo bar ... > Your config entry should be for exampe "root (hd0,0)", where hd0,0 is > your boot partition. >=20 > When you specify your kernel image you must do this relative to your > boot root, which usually should be /. And then you > pass your *system root* as a boot argument, for example ; >=20 > kernel /bzkernel-2.4.18-2 root=3D/dev/hda5 >=20 > Now, in order to avoid all this confusion (or perhaps add to it :)), you > can create a symlink from /boot/boot to /boot. This allows you to > specify /boot/ in your grub config. To do this, issue the > command "cd /boot && ln -s . boot". >=20 It works on my system with a seperate /boot partition, but without the /boot/boot symlink. > now it will work to specify your kernel image as, for example ; >=20 > kernel /boot/bzkernel-2.4.18-2 root=3D/dev/hda5 >=20 > GRUB is far superior to LILO in pretty much every conceivable way, as > long as you read the documentation and understand how it works. And when > you do so you will quickly see that LILO is a child's toy in comparison. >=20 >=20 > Feel free to add this to the docs... >=20 > --=20 >=20 > Erik Grinaker > Freelance UNIX/Linux systems consultant >=20 > "Perfection is acheived not when there is nothing more to add, but > rather when there is nothing more to take away" > - Antoine de Saint-Exup=E9ry >=20 >=20 > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev --=20 Martin Schlemmer Gentoo Linux Developer, Desktop Team Developer Cape Town, South Africa