1 |
swift 13/12/17 09:26:33 |
2 |
|
3 |
Modified: hb-install-x86+amd64-disk.xml |
4 |
Log: |
5 |
fdisk now uses sectors, need to have initial sector at 2048 or later for GRUB2 |
6 |
|
7 |
Revision Changes Path |
8 |
1.26 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.26&view=markup |
11 |
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 |
12 |
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 |
13 |
|
14 |
Index: hb-install-x86+amd64-disk.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v |
17 |
retrieving revision 1.25 |
18 |
retrieving revision 1.26 |
19 |
diff -u -r1.25 -r1.26 |
20 |
--- hb-install-x86+amd64-disk.xml 17 Dec 2013 09:13:22 -0000 1.25 |
21 |
+++ hb-install-x86+amd64-disk.xml 17 Dec 2013 09:26:33 -0000 1.26 |
22 |
@@ -4,7 +4,7 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $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 $ --> |
27 |
+<!-- $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 $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
@@ -13,7 +13,7 @@ |
32 |
This chapter describes how to partition a disk for future usage. |
33 |
</abstract> |
34 |
|
35 |
-<version>18</version> |
36 |
+<version>19</version> |
37 |
<date>2013-12-17</date> |
38 |
|
39 |
<section> |
40 |
@@ -389,8 +389,9 @@ |
41 |
<p> |
42 |
We first create a small boot partition. Type <c>n</c> to create a new partition, |
43 |
then <c>p</c> to select a primary partition, followed by <c>1</c> to select the |
44 |
-first primary partition. When prompted for the first cylinder, hit enter. When |
45 |
-prompted for the last cylinder, type <c>+32M</c> to create a partition 32 Mbyte |
46 |
+first primary partition. When prompted for the first sector, make sure it starts |
47 |
+from <c>2048</c> (which is needed for the boot loader) and hit enter. When |
48 |
+prompted for the last sector, type <c>+32M</c> to create a partition 32 Mbyte |
49 |
in size: |
50 |
</p> |
51 |
|
52 |
@@ -401,9 +402,8 @@ |
53 |
p primary partition (1-4) |
54 |
<i>p</i> |
55 |
Partition number (1-4): <i>1</i> |
56 |
-First cylinder (1-3876, default 1): <comment>(Hit Enter)</comment> |
57 |
-Using default value 1 |
58 |
-Last cylinder or +size or +sizeM or +sizeK (1-3876, default 3876): <i>+32M</i> |
59 |
+First sector (64-10486533532, default 64): <i>2048</i> |
60 |
+Last sector, +sectors +size{M,K,G} (4096-10486533532, default 10486533532): <i>+32M</i> |
61 |
</pre> |
62 |
|
63 |
<p> |
64 |
@@ -437,8 +437,8 @@ |
65 |
Let's now create the swap partition. To do this, type <c>n</c> to create a new |
66 |
partition, then <c>p</c> to tell fdisk that you want a primary partition. Then |
67 |
type <c>2</c> to create the second primary partition, <path>/dev/sda2</path> in |
68 |
-our case. When prompted for the first cylinder, hit enter. When prompted for |
69 |
-the last cylinder, type <c>+512M</c> (or any other size you need for the swap |
70 |
+our case. When prompted for the first sector, hit enter. When prompted for |
71 |
+the last sector, type <c>+512M</c> (or any other size you need for the swap |
72 |
space) to create a partition 512MB in size. |
73 |
</p> |
74 |
|
75 |
@@ -471,8 +471,8 @@ |
76 |
Finally, let's create the root partition. To do this, type <c>n</c> to create a |
77 |
new partition, then <c>p</c> to tell fdisk that you want a primary partition. |
78 |
Then type <c>3</c> to create the third primary partition, <path>/dev/sda3</path> |
79 |
-in our case. When prompted for the first cylinder, hit enter. When prompted for |
80 |
-the last cylinder, hit enter to create a partition that takes up the rest of the |
81 |
+in our case. When prompted for the first sector, hit enter. When prompted for |
82 |
+the last sector, hit enter to create a partition that takes up the rest of the |
83 |
remaining space on your disk. After completing these steps, typing <c>p</c> |
84 |
should display a partition table that looks similar to this: |
85 |
</p> |