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=DKIM_ADSP_NXDOMAIN, DMARC_MISSING,MAILING_LIST_MULTI,RDNS_DYNAMIC autolearn=no autolearn_force=no version=4.0.0 Received: from wired-networks.net (213-145-191-67.dd.nextgentel.com [213.145.191.67]) by chiba.3jane.net (Postfix) with SMTP id E8FFE201CECC for ; Fri, 8 Mar 2002 10:55:15 -0600 (CST) Received: (qmail 30598 invoked from network); 8 Mar 2002 16:51:38 -0000 Received: from maas.wired (HELO maas) (192.168.0.2) by aleph.wired with SMTP; 8 Mar 2002 16:51:38 -0000 Subject: RE: [gentoo-dev] Point of fact. From: Erik Grinaker To: gentoo-dev@gentoo.org In-Reply-To: <23DFAA462CC6A64487613B0E242D9FF706EBB4@mercury.phoenix-interactive.com> References: <23DFAA462CC6A64487613B0E242D9FF706EBB4@mercury.phoenix-interactive.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution/1.0.2 Date: 08 Mar 2002 17:51:17 +0100 Message-Id: <1015606277.2535.92.camel@maas.wired> 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: fb197788-9dc3-4d8c-8212-7ab0ca5498a5 X-Archives-Hash: 46e7c9a05be4e12f05bf6ace2b8af946 On Fri, 2002-03-08 at 16:55, Sean Mitchell wrote: > Well, the rest of that whole post aside, many of us have had trouble with > 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 like grub, but I've had much more success with lilo. This is all explained in the grub documentation (http://www.gnu.org/manual/grub-0.90/html_chapter/grub_toc.html).=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. Your config entry should be for exampe "root (hd0,0)", where hd0,0 is your boot partition. 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 ; kernel /bzkernel-2.4.18-2 root=3D/dev/hda5 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". now it will work to specify your kernel image as, for example ; kernel /boot/bzkernel-2.4.18-2 root=3D/dev/hda5 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. Feel free to add this to the docs... --=20 Erik Grinaker Freelance UNIX/Linux systems consultant "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