| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-disk.xml,v 1.8 2009/01/26 08:04:26 nightmorph Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-disk.xml,v 1.9 2010/07/20 05:14:55 nightmorph Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>4.0</version> |
11 | <version>5.0</version> |
| 12 | <date>2008-04-01</date> |
12 | <date>2010-07-19</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Introduction to Block Devices</title> |
15 | <title>Introduction to Block Devices</title> |
| 16 | |
16 | |
| 17 | <subsection> |
17 | <subsection> |
| … | |
… | |
| 313 | <title>Creating the EFI Boot Partition</title> |
313 | <title>Creating the EFI Boot Partition</title> |
| 314 | <body> |
314 | <body> |
| 315 | |
315 | |
| 316 | <p> |
316 | <p> |
| 317 | We first create a small EFI boot partition. This is required to be a FAT |
317 | We first create a small EFI boot partition. This is required to be a FAT |
| 318 | filesystem in order for the ia64 firmware to read it. Our example makes this |
318 | filesystem in order for the <keyval id="arch"/> firmware to read it. Our |
| 319 | 32 megabytes, which is appropriate for storing kernels and elilo configuration. |
319 | example makes this 32 MB, which is appropriate for storing kernels and |
| 320 | You can expect each ia64 kernel to be around 5 megabytes, so this configuration |
320 | <c>elilo</c> configuration. You can expect each <keyval id="arch"/> kernel to |
| 321 | leaves you some room to grow and experiment. |
321 | be around 5 MB, so this configuration leaves you some room to grow and |
|
|
322 | experiment. |
| 322 | </p> |
323 | </p> |
| 323 | |
324 | |
| 324 | <pre caption="Creating the boot partition"> |
325 | <pre caption="Creating the boot partition"> |
| 325 | (parted) <i>mkpart primary fat32 0 32</i> |
326 | (parted) <i>mkpart primary fat32 0 32</i> |
| 326 | (parted) <i>print</i> |
327 | (parted) <i>print</i> |
| … | |
… | |
| 522 | # <i>mount /dev/sda3 /mnt/gentoo</i> |
523 | # <i>mount /dev/sda3 /mnt/gentoo</i> |
| 523 | </pre> |
524 | </pre> |
| 524 | |
525 | |
| 525 | <note> |
526 | <note> |
| 526 | Unlike some of the other architectures supported by Gentoo, <path>/boot</path> |
527 | Unlike some of the other architectures supported by Gentoo, <path>/boot</path> |
| 527 | is not mounted on ia64. The reason for this is that the EFI boot partition will |
528 | is not mounted on ia64. The reason for this is that the EFI boot partition will |
| 528 | be automatically mounted and written by the elilo command each time that you run |
529 | be automatically mounted and written by the <c>elilo</c> command each time that |
| 529 | it. Because of this, /boot resides on the root filesystem and is the storage |
530 | you run it. Because of this, <path>/boot</path> resides on the root filesystem |
| 530 | place for the kernels referenced by your elilo configuration. |
531 | and is the storage place for the kernels referenced by your <c>elilo</c> |
|
|
532 | configuration. |
| 531 | </note> |
533 | </note> |
| 532 | |
534 | |
| 533 | <note> |
535 | <note> |
| 534 | If you want your <path>/tmp</path> to reside on a separate partition, be sure to |
536 | If you want your <path>/tmp</path> to reside on a separate partition, be sure to |
| 535 | change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This |
537 | change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This |