From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MATm4-0005P2-Uj for garchives@archives.gentoo.org; Sat, 30 May 2009 18:59:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49CECE03BE; Sat, 30 May 2009 18:59:19 +0000 (UTC) Received: from allies.uri.edu (allies.uri.edu [131.128.1.50]) by pigeon.gentoo.org (Postfix) with ESMTP id 25CC2E03BE for ; Sat, 30 May 2009 18:59:19 +0000 (UTC) Received: from [131.128.89.166] (166.89.128.131.dhcp.uri.edu [131.128.89.166]) by allies.uri.edu (8.13.6/8.13.6) with ESMTP id n4UIx0nh024461 for ; Sat, 30 May 2009 14:59:02 -0400 Message-ID: <4A2181F4.2040407@uri.edu> Date: Sat, 30 May 2009 14:59:00 -0400 From: "John P. Burkett" User-Agent: Thunderbird 2.0.0.21 (X11/20090410) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] grub: how to install new version of stage 1 X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3ae3240b-e466-415a-91a6-46d64ec4cd28 X-Archives-Hash: 9bb2153a9b65a636fd30fa885546f37a On a x86 machine I did "emerge -D -uav world" and got a response that read in part as follows: * Messages for package sys-boot/grub-0.97-r9: * * To avoid automounting and autoinstalling with /boot, * just export the DONT_MOUNT_BOOT variable. * * *** IMPORTANT NOTE: you must run grub and install * the new version's stage1 to your MBR. Until you do, * stage1 and stage2 will still be the old version, but * later stages will be the new version, which could * cause problems such as an unbootable system. * This means you must use either grub-install or perform * root/setup manually! For more help, see the handbook: * http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto * To interactively install grub files to another device such as a USB * stick, just run the following and specify the directory as prompted: * emerge --config =grub-0.97-r9 * Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell * grub where to install in a non-interactive way. After reading http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto I did "grep -v rootfs /proc/mounts > /etc/mtab". That seems to have produced the needed /etc/mtab file. Now I'm confused by the part of the manual with code listings 2.6 and 2.7 and the associated commentary. The manual suggests doing "grub-install --no-floppy /dev/sda" but later says "If your system does not have any floppy drives, add the --no-floppy option to the above command to prevent grub from probing the (non-existing) floppy drives." My machine has a floppy drive. Should I omit the --no-floppy option and just do "grub-install /dev/sda" ? -John -- John P. Burkett Department of Economics University of Rhode Island Kingston, RI 02881-0808 USA phone (401) 874-9195