| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.21 2006/10/06 21:48:25 nightmorph Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.22 2006/11/25 04:04:43 nightmorph Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/gentoo-freebsd.xml"> |
5 | <guide link="/doc/en/gentoo-freebsd.xml"> |
| 6 | <title>A short guide to Gentoo/FreeBSD</title> |
6 | <title>A short guide to Gentoo/FreeBSD</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| 9 | <mail link="ignacio.arquelatour@gmail.com">Ignacio Arque-Latour</mail> |
9 | <mail link="ignacio.arquelatour@gmail.com">Ignacio Arque-Latour</mail> |
| 10 | </author> |
10 | </author> |
| 11 | <author title="Author"> |
11 | <author title="Author"> |
| 12 | <mail link="citizen428@gentoo.org">Michael Kohl</mail> |
12 | <mail link="citizen428@gentoo.org">Michael Kohl</mail> |
| 13 | </author> |
13 | </author> |
| 14 | <author title="Author"> |
14 | <author title="Author"> |
| 15 | <mail link="angusyoung@gentoo.org">Otavio R. Piske</mail> |
15 | <mail link="angusyoung@gentoo.org">Otavio R. Piske</mail> |
| 16 | </author> |
16 | </author> |
| 17 | <author title="Author"> |
17 | <author title="Author"> |
| … | |
… | |
| 232 | <p> |
232 | <p> |
| 233 | This next step also uses <c>sysinstall</c>, but with different arguments: |
233 | This next step also uses <c>sysinstall</c>, but with different arguments: |
| 234 | </p> |
234 | </p> |
| 235 | |
235 | |
| 236 | <pre caption="Running sysinstall to setup partition sizing and mount points"> |
236 | <pre caption="Running sysinstall to setup partition sizing and mount points"> |
| 237 | # <i>sysinstall diskLabelEditor diskLabelCommit</i> |
237 | # <i>sysinstall diskLabelEditor diskLabelCommit</i> |
| 238 | </pre> |
238 | </pre> |
| 239 | |
239 | |
| 240 | <p> |
240 | <p> |
| 241 | Here, we'll refrain from using the automatic layout, and create one giant root |
241 | Here, we'll refrain from using the automatic layout, and create one giant root |
| 242 | partition, followed by a swap partition. Hit <b>c</b> to create a new |
242 | partition, followed by a swap partition. Hit <b>c</b> to create a new |
| 243 | partition. A dialog prompts you to enter a size. Go ahead and do so, using |
243 | partition. A dialog prompts you to enter a size. Go ahead and do so, using |
| 244 | MB/GB for setting different sizes, or C for cylinders. For root, choose FS as |
244 | MB/GB for setting different sizes, or C for cylinders. For root, choose FS as |
| 245 | the partition type, and set the mount point as <path>/mnt/gentoo</path>. <e>If |
245 | the partition type, and set the mount point as <path>/mnt/gentoo</path>. <e>If |
| 246 | you do not adjust the mount point, it will overwrite the FreeSBIE |
246 | you do not adjust the mount point, it will overwrite the FreeSBIE |
| 247 | environment!</e>. As <path>/boot</path> is not a separate partition, you'll |
247 | environment!</e> As <path>/boot</path> is not a separate partition, you'll |
| 248 | need to disable soft-updates, or your system will not boot! To do so, use the |
248 | need to disable soft-updates, or your system will not boot! To do so, use the |
| 249 | arrow keys to navigate to your newly created partition, then hit the <b>s</b> |
249 | arrow keys to navigate to your newly created partition, then hit the <b>s</b> |
| 250 | key, until "Newfs" contains no <b>+S</b>. Now navigate the arrow keys until |
250 | key, until "Newfs" contains no <b>+S</b>. Now navigate the arrow keys until |
| 251 | the "Disk" line is highlighted, and hit <b>c</b> again to create a swap |
251 | the "Disk" line is highlighted, and hit <b>c</b> again to create a swap |
| 252 | partition. Generally, we recommend a swap space that is twice the size of your |
252 | partition. Generally, we recommend a swap space that is twice the size of your |
| 253 | RAM. Choose SWAP as the partition type, and don't worry about soft-updates, as |
253 | RAM. Choose SWAP as the partition type, and don't worry about soft-updates, as |
| 254 | it does not apply to swap. Now we're finished, so hit <b>q</b> to finish the |
254 | it does not apply to swap. Now we're finished, so hit <b>q</b> to finish the |
| 255 | process. |
255 | process. |
| 256 | </p> |
256 | </p> |
| 257 | |
257 | |
| 258 | <p> |
258 | <p> |
| 259 | This will finalize the partitioning process, and format the drive in UFS for |
259 | This will finalize the partitioning process, and format the drive in UFS for |
| 260 | FreeBSD to utilize. This will also mount the drive for you at the mount point |
260 | FreeBSD to utilize. This will also mount the drive for you at the mount point |
| 261 | specified earlier (<path>/mnt/gentoo</path>). You can verify this worked by |
261 | specified earlier (<path>/mnt/gentoo</path>). You can verify this worked by |
| 262 | running <c>mount</c>: |
262 | running <c>mount</c>: |