swift 13/12/17 09:26:33 Modified: hb-install-x86+amd64-disk.xml Log: fdisk now uses sectors, need to have initial sector at 2048 or later for GRUB2
Revision Changes Path 1.26 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.26&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.26&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?r1=1.25&r2=1.26 Index: hb-install-x86+amd64-disk.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- hb-install-x86+amd64-disk.xml 17 Dec 2013 09:13:22 -0000 1.25 +++ hb-install-x86+amd64-disk.xml 17 Dec 2013 09:26:33 -0000 1.26 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v 1.25 2013/12/17 09:13:22 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v 1.26 2013/12/17 09:26:33 swift Exp $ --> <sections> @@ -13,7 +13,7 @@ This chapter describes how to partition a disk for future usage. </abstract> -<version>18</version> +<version>19</version> <date>2013-12-17</date> <section> @@ -389,8 +389,9 @@ <p> We first create a small boot partition. Type <c>n</c> to create a new partition, then <c>p</c> to select a primary partition, followed by <c>1</c> to select the -first primary partition. When prompted for the first cylinder, hit enter. When -prompted for the last cylinder, type <c>+32M</c> to create a partition 32 Mbyte +first primary partition. When prompted for the first sector, make sure it starts +from <c>2048</c> (which is needed for the boot loader) and hit enter. When +prompted for the last sector, type <c>+32M</c> to create a partition 32 Mbyte in size: </p> @@ -401,9 +402,8 @@ p primary partition (1-4) <i>p</i> Partition number (1-4): <i>1</i> -First cylinder (1-3876, default 1): <comment>(Hit Enter)</comment> -Using default value 1 -Last cylinder or +size or +sizeM or +sizeK (1-3876, default 3876): <i>+32M</i> +First sector (64-10486533532, default 64): <i>2048</i> +Last sector, +sectors +size{M,K,G} (4096-10486533532, default 10486533532): <i>+32M</i> </pre> <p> @@ -437,8 +437,8 @@ Let's now create the swap partition. To do this, type <c>n</c> to create a new partition, then <c>p</c> to tell fdisk that you want a primary partition. Then type <c>2</c> to create the second primary partition, <path>/dev/sda2</path> in -our case. When prompted for the first cylinder, hit enter. When prompted for -the last cylinder, type <c>+512M</c> (or any other size you need for the swap +our case. When prompted for the first sector, hit enter. When prompted for +the last sector, type <c>+512M</c> (or any other size you need for the swap space) to create a partition 512MB in size. </p> @@ -471,8 +471,8 @@ Finally, let's create the root partition. To do this, type <c>n</c> to create a new partition, then <c>p</c> to tell fdisk that you want a primary partition. Then type <c>3</c> to create the third primary partition, <path>/dev/sda3</path> -in our case. When prompted for the first cylinder, hit enter. When prompted for -the last cylinder, hit enter to create a partition that takes up the rest of the +in our case. When prompted for the first sector, hit enter. When prompted for +the last sector, hit enter to create a partition that takes up the rest of the remaining space on your disk. After completing these steps, typing <c>p</c> should display a partition table that looks similar to this: </p>