/[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.62 Revision 1.63
1304 <c>ln -s /boot/grub/grub.conf /boot/grub/menu.lst </c>. </impo> 1304 <c>ln -s /boot/grub/grub.conf /boot/grub/menu.lst </c>. </impo>
1305 <p>Now, create the grub.conf file (<c>nano -w /boot/grub/grub.conf</c>), and add the following to it: 1305 <p>Now, create the grub.conf file (<c>nano -w /boot/grub/grub.conf</c>), and add the following to it:
1306 </p> 1306 </p>
1307 <pre caption="Grub.conf for GRUB"> 1307 <pre caption="Grub.conf for GRUB">
1308default 0 1308default 0
1309timeout 30 1309timeout 30
1310splashimage=(hd0,0)/boot/grub/splash.xpm.gz 1310splashimage=(hd0,0)/boot/grub/splash.xpm.gz
1311 1311
1312title=My example Gentoo Linux 1312title=My example Gentoo Linux
1313root (hd0,0) 1313root (hd0,0)
1314kernel (hd0,0)/boot/bzImage root=/dev/hda3 1314kernel (hd0,0)/boot/bzImage root=/dev/hda3
1315 1315
1316<comment> #Below is for setup using hardware RAID</comment> 1316<comment> #Below is for setup using hardware RAID</comment>
1317title=My Gentoo Linux on RAID 1317title=My Gentoo Linux on RAID
1318root (hd0,0) 1318root (hd0,0)
1319kernel (hd0,0)/boot/bzImage root=/dev/ataraid/discX/partY 1319kernel (hd0,0)/boot/bzImage root=/dev/ataraid/dXpY
1320 1320
1321<comment># Below needed only for people who dual-boot</comment> 1321<comment># Below needed only for people who dual-boot</comment>
1322title=Windows NT Workstation 1322title=Windows NT Workstation
1323root (hd0,5) 1323root (hd0,5)
1324chainloader +1 1324chainloader +1
1325 </pre> 1325 </pre>
1326 <note> 1326 <note>
1327 (hd0,0) should be written without any spaces inside the parentheses. 1327 (hd0,0) should be written without any spaces inside the parentheses.
1328 </note> 1328 </note>
1329 <impo> 1329 <impo>
1330 If you set up scsi emulation for an IDE cd burner earlier, then to get it to 1330 If you set up scsi emulation for an IDE cd burner earlier, then to get it to
1331 actually work you need to add an &quot;hdx=ide-scsi&quot; fragment to the kernel 1331 actually work you need to add an &quot;hdx=ide-scsi&quot; fragment to the kernel
1332 line in grub.conf (where &quot;hdx&quot; should be the device for your cd burner). 1332 line in grub.conf (where &quot;hdx&quot; should be the device for your cd burner).
1333 </impo> 1333 </impo>
1334 <p>After saving this file, Gentoo Linux installation is complete. Selecting the first option will 1334 <p>After saving this file, Gentoo Linux installation is complete. Selecting the first option will
1370 <p>Now it is time to configure LILO. I will give you a small <i>lilo.conf</i> to use, and I will explain 1370 <p>Now it is time to configure LILO. I will give you a small <i>lilo.conf</i> to use, and I will explain
1371 the different parts of the file. 1371 the different parts of the file.
1372 </p> 1372 </p>
1373 <pre caption="Example lilo.conf"> 1373 <pre caption="Example lilo.conf">
1374boot=/dev/hda 1374boot=/dev/hda
1375map=/boot/map 1375map=/boot/map
1376install=/boot/boot.b 1376install=/boot/boot.b
1377prompt 1377prompt
1378timeout=50 1378timeout=50
1379message=/boot/message 1379message=/boot/message
1380lba32 1380lba32
1381default=linux 1381default=linux
1382 1382
1383image=/boot/vmlinuz-2.4.20 1383image=/boot/vmlinuz-2.4.20
1384 label=linux 1384 label=linux
1385 initrd=/boot/initrd-2.4.20.img
1386 read-only 1385 read-only
1387 root=/dev/hda5 1386 root=/dev/hda5
1388 1387
1389#For dual booting windows/other OS 1388#For dual booting windows/other OS
1390other=/dev/hda1 1389other=/dev/hda1
1391 label=dos 1390 label=dos
1392 1391
1393 </pre> 1392 </pre>
1394 <ul> 1393 <ul>
1395 <li><i>boot=/dev/hda</i> tells LILO to install itself on the first hard disk on the first IDE controller. </li> 1394 <li><i>boot=/dev/hda</i> tells LILO to install itself on the first hard disk on the first IDE controller. </li>
1396 <li><i>map=/boot/map</i> states the map file. In normal use, this should not be modified. </li> 1395 <li><i>map=/boot/map</i> states the map file. In normal use, this should not be modified. </li>
1397 <li><i>install=/boot/boot.b</i> tells LILO to install the specified file as the new boot sector. 1396 <li><i>install=/boot/boot.b</i> tells LILO to install the specified file as the new boot sector.
1398 In normal use, this should not be altered. If the install line is missing, LILO will 1397 In normal use, this should not be altered. If the install line is missing, LILO will
1399 assume a default of /boot/boot.b as the file to be used. </li> 1398 assume a default of /boot/boot.b as the file to be used. </li>
1400 <li>The existence of <i>prompt</i> tells LILO to show you whatever is referenced in the message line. 1399 <li>The existence of <i>prompt</i> tells LILO to show you whatever is referenced in the message line.
1401 While it is not recommended that you remove the prompt line, if you do remove it, you can still 1400 While it is not recommended that you remove the prompt line, if you do remove it, you can still
1402 get a prompt by holding down the [Shift] key while your machine starts to boot. </li> 1401 get a prompt by holding down the [Shift] key while your machine starts to boot. </li>
1403 <li><i>timeout=50</i> sets the amount of time that LILO will wait for user input before proceeding 1402 <li><i>timeout=50</i> sets the amount of time that LILO will wait for user input before proceeding
1404 with booting the default line entry. This is measured in tenths of a second, with 50 as the default. </li> 1403 with booting the default line entry. This is measured in tenths of a second, with 50 as the default. </li>
1405 <li><i>message=/boot/message</i> refers to the screen that LILO displays to let you select the 1404 <li><i>message=/boot/message</i> refers to the screen that LILO displays to let you select the
1406 operating system or kernel to boot. </li> 1405 operating system or kernel to boot. </li>
1407 <li><i>lba32</i> describes the hard disk geometry to LILO. Another common entry here is linear. You should 1406 <li><i>lba32</i> describes the hard disk geometry to LILO. Another common entry here is linear. You should
1408 not change this line unless you are very aware of what you are doing. Otherwise, you could put 1407 not change this line unless you are very aware of what you are doing. Otherwise, you could put
1409 your system in an unbootable state. </li> 1408 your system in an unbootable state. </li>
1410 <li><i>default=linux</i> refers to the default operating system for LILO to boot from the 1409 <li><i>default=linux</i> refers to the default operating system for LILO to boot from the
1411 options listed below this line. The name linux refers to the label line below in each of the boot options. </li> 1410 options listed below this line. The name linux refers to the label line below in each of the boot options. </li>
1412 <li><i>image=/boot/vmlinuz-2.4.20</i> specifies the linux kernel to boot with this particular boot option. </li> 1411 <li><i>image=/boot/vmlinuz-2.4.20</i> specifies the linux kernel to boot with this particular boot option. </li>
1413 <li><i>label=linux</i> names the operating system option in the LILO screen. In this case, 1412 <li><i>label=linux</i> names the operating system option in the LILO screen. In this case,
1414 it is also the name referred to by the default line. </li> 1413 it is also the name referred to by the default line. </li>
1415 <li><i>initrd=/boot/initrd-2.4.20.img</i> refers to the initial ram disk image that is used at boot time
1416 to actually initialize and start the devices that makes booting the kernel possible. The initial
1417 ram disk is a collection of machine-specific drivers necessary to operate a SCSI card, hard drive, or any
1418 other device needed to load the kernel. You should never try to share initial ram disks between machines. </li>
1419 <li><i>read-only</i> specifies that the root partition (see the root line below) is read-only and cannot be 1414 <li><i>read-only</i> specifies that the root partition (see the root line below) is read-only and cannot be
1420 altered during the boot process. </li> 1415 altered during the boot process. </li>
1421 <li><i>root=/dev/hda5</i> tells LILO what disk partition to use as the root partition. </li> 1416 <li><i>root=/dev/hda5</i> tells LILO what disk partition to use as the root partition. </li>
1422 </ul> 1417 </ul>
1423 <note>Thanks to <uri link="http://www.redhat.com">Redhat.com</uri> for this information. 1418 <note>Thanks to <uri link="http://www.redhat.com">Redhat.com</uri> for this information.
1424 </note> 1419 </note>
1425 <p>After you have edited your <i>lilo.conf</i> file, it is time to run LILO to load the information 1420 <p>After you have edited your <i>lilo.conf</i> file, it is time to run LILO to load the information
1426 into the MBR: 1421 into the MBR:
1427 </p> 1422 </p>
1428 <pre caption="Running LILO"> 1423 <pre caption="Running LILO">
1429# <c>/sbin/lilo</c> 1424# <c>/sbin/lilo</c>
1430 </pre> 1425 </pre>
1431 <p>LILO is configured, and now your machine is ready to boot into Gentoo Linux! 1426 <p>LILO is configured, and now your machine is ready to boot into Gentoo Linux!
1432 </p> 1427 </p>
1433 </body> 1428 </body>

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

  ViewVC Help
Powered by ViewVC 1.1.20