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 1Efdhj-0005Ox-Pe for garchives@archives.gentoo.org; Fri, 25 Nov 2005 13:33:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAPDXEQB021595; 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 jAPDXDpi000736 for ; Fri, 25 Nov 2005 13:33:13 GMT Message-Id: <200511251333.jAPDXDpi000736@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 1EfdhQ-0001RF-Py for gentoo-doc-cvs@lists.gentoo.org; Fri, 25 Nov 2005 13:33:12 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Fri, 25 Nov 2005 13:33:12 +0000 From: "Xavier Neys" Date: Fri, 25 Nov 2005 13:33:12 +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: 5ffe2837-e469-42f2-aa0a-b8e167385c1f X-Archives-Hash: e20aea3d78896ad3691c8635d5600214 neysx 05/11/25 13:33:12 Modified: xml/htdocs/doc/en/handbook 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.38 +12 -10 xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml?rev=1.38&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml?rev=1.38&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml.diff?r1=1.37&r2=1.38&cvsroot=gentoo Index: hb-install-amd64-bootloader.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- hb-install-amd64-bootloader.xml 24 Nov 2005 17:26:10 -0000 1.37 +++ hb-install-amd64-bootloader.xml 25 Nov 2005 13:33:12 -0000 1.38 @@ -4,12 +4,12 @@ - + -2.9 -2005-11-24 +2.10 +2005-11-25
Making your Choice @@ -323,15 +323,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.40 +12 -10 xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml?rev=1.40&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml?rev=1.40&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml.diff?r1=1.39&r2=1.40&cvsroot=gentoo Index: hb-install-x86-bootloader.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- hb-install-x86-bootloader.xml 24 Nov 2005 17:26:10 -0000 1.39 +++ hb-install-x86-bootloader.xml 25 Nov 2005 13:33:12 -0000 1.40 @@ -4,12 +4,12 @@ - + -2.8 -2005-11-24 +2.9 +2005-11-25

Making your Choice @@ -349,15 +349,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