From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1Efdhl-0001AR-UO for garchives@archives.gentoo.org; Fri, 25 Nov 2005 13:33:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAPDXECn021159; Fri, 25 Nov 2005 13:33:14 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAPDXDGS024183 for ; Fri, 25 Nov 2005 13:33:14 GMT Message-Id: <200511251333.jAPDXDGS024183@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org) by smtp.gentoo.org with smtp (Exim 4.43) id 1EfdhR-00087T-G8 for gentoo-doc-cvs@lists.gentoo.org; Fri, 25 Nov 2005 13:33:13 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Fri, 25 Nov 2005 13:33:13 +0000 From: "Xavier Neys" Date: Fri, 25 Nov 2005 13:33:13 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: hb-install-amd64-bootloader.xml Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 46a97a56-230b-47e9-afb0-a010ee7ddead X-Archives-Hash: 8d01b922d7afb946065a546e71ad9c22 neysx 05/11/25 13:33:13 Modified: xml/htdocs/doc/en/handbook/2005.1 hb-install-amd64-bootloader.xml hb-install-x86-bootloader.xml Log: #107181 Make grub-install work with and without a separate /boot partition Revision Changes Path 1.9 +12 -10 xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml?rev=1.9&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml?rev=1.9&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml.diff?r1=1.8&r2=1.9&cvsroot=gentoo Index: hb-install-amd64-bootloader.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- hb-install-amd64-bootloader.xml 24 Nov 2005 17:26:11 -0000 1.8 +++ hb-install-amd64-bootloader.xml 25 Nov 2005 13:33:13 -0000 1.9 @@ -4,12 +4,12 @@ - + -5.5 -2005-11-24 +5.6 +2005-11-25
Making your Choice @@ -316,15 +316,17 @@

-To install GRUB you will need to issue the grub-install command. However, -grub-install won't work off-the-shelf since we are inside a chrooted -environment. We need to update /etc/mtab (the file with information -about all mounted filesystems) first: luckily there is an easy way to accomplish -this - just copy over /proc/mounts to /etc/mtab: +To install GRUB you will need to issue the grub-install command. +However, grub-install won't work off-the-shelf since we are inside a +chrooted environment. We need to create /etc/mtab which lists all +mounted filesystems. Fortunately, there is an easy way to accomplish this - +just copy over /proc/mounts to /etc/mtab, excluding +the rootfs line if you haven't created a separate boot partition. The +following command will work in both cases:

-
-# cp /proc/mounts /etc/mtab
+
+# grep -v rootfs /proc/mounts > /etc/mtab
 

1.7 +12 -10 xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml?rev=1.7&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml?rev=1.7&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml.diff?r1=1.6&r2=1.7&cvsroot=gentoo Index: hb-install-x86-bootloader.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- hb-install-x86-bootloader.xml 24 Nov 2005 17:26:11 -0000 1.6 +++ hb-install-x86-bootloader.xml 25 Nov 2005 13:33:13 -0000 1.7 @@ -4,12 +4,12 @@ - + -5.2 -2005-11-24 +5.3 +2005-11-25

Making your Choice @@ -343,15 +343,17 @@

-To install GRUB you will need to issue the grub-install command. However, -grub-install won't work off-the-shelf since we are inside a chrooted -environment. We need to update /etc/mtab (the file with information -about all mounted filesystems) first: luckily there is an easy way to accomplish -this - just copy over /proc/mounts to /etc/mtab: +To install GRUB you will need to issue the grub-install command. +However, grub-install won't work off-the-shelf since we are inside a +chrooted environment. We need to create /etc/mtab which lists all +mounted filesystems. Fortunately, there is an easy way to accomplish this - +just copy over /proc/mounts to /etc/mtab, excluding +the rootfs line if you haven't created a separate boot partition. The +following command will work in both cases:

-
-# cp /proc/mounts /etc/mtab
+
+# grep -v rootfs /proc/mounts > /etc/mtab
 

-- gentoo-doc-cvs@gentoo.org mailing list