/[gentoo]/xml/htdocs/doc/en/gentoo-x86-install.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-install.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
429 <p>Before creating your partitions, it is a <e>very</e> good idea to initialize the 429 <p>Before creating your partitions, it is a <e>very</e> good idea to initialize the
430 beginning of your HD using <c>dd</c>. Doing this will ensure that you have no issues with 430 beginning of your HD using <c>dd</c>. Doing this will ensure that you have no issues with
431 mounting previously <i>fat32</i> partitions, like <path>/boot</path> 431 mounting previously <i>fat32</i> partitions, like <path>/boot</path>
432 for example. To do this you would do: 432 for example. To do this you would do:
433 </p> 433 </p>
434 434
435 <pre caption = "Initializing first 1024 Sectors of HD"> 435 <pre caption = "Initializing first 1024 Sectors of HD">
436# <c>dd if=/dev/zero of=/dev/hdaBOOT bs=1024 count=1024 </c> 436# <c>dd if=/dev/zero of=/dev/hdaBOOT bs=1024 count=1024 </c>
437<comment>BOOT is the partition that holds your <path>/boot</path>.</comment> 437<comment>BOOT is the partition that holds your <path>/boot</path>.</comment>
438 </pre> 438 </pre>
439 439
440 <p>At this point, create your partitions using fdisk. Note that your partitions 440 <p>At this point, create your partitions using fdisk. Note that your partitions
441 should be of type 82 if swap and 83 for regular filesystems (whether ReiserFS <e>or</e> ext2/3). </p> 441 should be of type 82 if swap and 83 for regular filesystems (whether ReiserFS <e>or</e> ext2/3). </p>
442 442
443 <note><i>cfdisk</i> is included on the install CD, and it is *considerably* easier to use than 443 <note><i>cfdisk</i> is included on the install CD, and it is *considerably* easier to use than
444 <i>fdisk</i>. Just type <c>cfdisk</c> to run it. </note> 444 <i>fdisk</i>. Just type <c>cfdisk</c> to run it. By default cfdisk work with <b>/dev/hda</b>. If /dev/hda is not hard disk you want to partition, give the right value to cfdisk as a parameter. For example: <c>cfdisk /dev/hde</c></note>
445 <note>Changes to the partitions don't reflect on-the-fly, so please reboot after using fdisk or cfdisk.</note>
445 446
446 <note>If you are using RAID your partitions will be a little 447 <note>If you are using RAID your partitions will be a little
447 different. 448 different.
448 You will have the partitions like this: 449 You will have the partitions like this:
449 <path>/dev/ataraid/discX/partY</path> 450 <path>/dev/ataraid/discX/partY</path>
450 X is the arrays you have made, so if you only have made 1 451 X is the arrays you have made, so if you only have made 1
451 array, then it will 452 array, then it will
452 be disc0.Y is the partition number as in <path>/dev/hdaY</path> 453 be disc0.Y is the partition number as in <path>/dev/hdaY</path>
453 </note> 454 </note>
454 455
455 456
456 <p>Once you've created your partitions, it's time to initialize 457 <p>Once you've created your partitions, it's time to initialize
457 the filesystems that will be used to house our data. Initialize swap as follows:</p> 458 the filesystems that will be used to house our data. Initialize swap as follows:</p>
458 459
459 <pre caption= "Initializing Swap"> 460 <pre caption= "Initializing Swap">
1298 If you set up scsi emulation for an IDE cd burner earlier, then to get it to 1299 If you set up scsi emulation for an IDE cd burner earlier, then to get it to
1299 actually work you need to add an "hdx=ide-scsi" fragment to the kernel 1300 actually work you need to add an "hdx=ide-scsi" fragment to the kernel
1300 line in grub.conf (where "hdx" should be the device for your cd burner). 1301 line in grub.conf (where "hdx" should be the device for your cd burner).
1301 </impo> 1302 </impo>
1302 1303
1303 <p>After saving this file, Gentoo Linux installation is complete. Selecting the first option will 1304 <p>After saving this file, Gentoo Linux installation is complete. Selecting the first option will
1304 tell GRUB to boot Gentoo Linux without a fuss. The second part of the grub.conf file is optional, 1305 tell GRUB to boot Gentoo Linux without a fuss. The second part of the grub.conf file is optional,
1305 and shows you how to use GRUB to boot a bootable Windows partition. 1306 and shows you how to use GRUB to boot a bootable Windows partition.
1306 </p> 1307 </p>
1307 1308
1308 <note>Above, <path>(hd0,0)</path> should point to your "boot" partition 1309 <note>Above, <path>(hd0,0)</path> should point to your "boot" partition
1309 (<path>/dev/hda1</path> in our example config) and <path>/dev/hda3</path> should point to 1310 (<path>/dev/hda1</path> in our example config) and <path>/dev/hda3</path> should point to
1310 your root filesystem. <path>(hd0,5)</path> contains the NT boot 1311 your root filesystem. <path>(hd0,5)</path> contains the NT boot
1311 loader. 1312 loader.
1312 </note> 1313 </note>
1314 <note>
1315 The path to the kernel image is relative to the boot partition. If for example you have separated boot partition <path>(hd0,0)</path> and root partition <path>(hd0,1)</path>, all paths in the grub.conf file above will become <path>/bzImage</path>.
1316 </note>
1313 1317
1314 <p>If you need to pass any additional options to the kernel, simply 1318 <p>If you need to pass any additional options to the kernel, simply
1315 add them to the end of the <c>kernel</c> command. We're already passing one option 1319 add them to the end of the <c>kernel</c> command. We're already passing one option
1316 (<c>root=/dev/hda3</c>), but you can pass others as well. In particular, you can 1320 (<c>root=/dev/hda3</c>), but you can pass others as well. In particular, you can
1317 turn off devfs by default (not recommended unless you know what you're doing) by 1321 turn off devfs by default (not recommended unless you know what you're doing) by
1318 adding the <c>gentoo=nodevfs</c> option to the <c>kernel</c> command. 1322 adding the <c>gentoo=nodevfs</c> option to the <c>kernel</c> command.
1319 </p> 1323 </p>
1320 1324
1321 <note>Unlike in earlier versions of Gentoo Linux, you no longer have to add 1325 <note>Unlike in earlier versions of Gentoo Linux, you no longer have to add
1322 <c>devfs=mount</c> to the end of the <c>kernel</c> line to enable devfs. In rc6 1326 <c>devfs=mount</c> to the end of the <c>kernel</c> line to enable devfs. In rc6
1323 devfs is enabled by default. 1327 devfs is enabled by default.
1324 </note> 1328 </note>
1325 1329
1326 <p>If you are using hardware RAID, you must make a GRUB boot 1330 <p>If you are using hardware RAID, you must make a GRUB boot
1327 disk. With hardware RAID 1331 disk. With hardware RAID

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20