/[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.151 Revision 1.152
2651root (hd0,0) 2651root (hd0,0)
2652kernel (hd0,0)/boot/bzImage root=/dev/hda3 2652kernel (hd0,0)/boot/bzImage root=/dev/hda3
2653 2653
2654<comment># If you're using genkernel, use something like this instead:</comment> 2654<comment># If you're using genkernel, use something like this instead:</comment>
2655title=My example Gentoo Linux (genkernel) 2655title=My example Gentoo Linux (genkernel)
2656root (hd0,0) 2656root (hd0,0)
2657kernel (hd0,0)/boot/kernel-KV root=/dev/hda3 2657kernel (hd0,0)/boot/kernel-KV root=/dev/hda3
2658initrd (hd0,0)/boot/initrd-KV 2658initrd (hd0,0)/boot/initrd-KV
2659 2659
2660<comment># Below needed only for people who dual-boot</comment> 2660<comment># Below needed only for people who dual-boot</comment>
2661title=Windows XP 2661title=Windows XP
2662root (hd0,5) 2662root (hd0,5)
2663chainloader (hd0,5)+1 2663chainloader (hd0,5)+1
2664</pre> 2664</pre>
2665 2665
2666<p>
2667Substitute <c>KV</c> with the kernel version you have installed.
2668</p>
2669
2666<note> 2670<note>
2667(hd0,0) should be written without any spaces inside the parentheses. 2671(hd0,0) should be written without any spaces inside the parentheses.
2668</note> 2672</note>
2669 2673
2670<impo> 2674<impo>
2671If you set up SCSI emulation for an IDE cd burner earlier, then to get it to 2675If you set up SCSI emulation for an IDE cd burner earlier, then to get it to
2672actually work you need to add an <c>hdx=ide-scsi</c> fragment to the kernel 2676actually work you need to add an <c>hdx=ide-scsi</c> fragment to the kernel
2673line in <path>grub.conf</path> (where "hdx" should be the device for your cd 2677line in <path>grub.conf</path> (where "hdx" should be the device for your cd
2674burner). 2678burner).
2675</impo> 2679</impo>
2676 2680
2677<p> 2681<p>
2678After saving this file, Gentoo Linux installation is complete. Selecting the 2682After saving this file, Gentoo Linux installation is complete. Selecting the
2679first option will tell GRUB to boot Gentoo Linux without a fuss. The second 2683first option will tell GRUB to boot Gentoo Linux without a fuss. The second
2680part of the <path>grub.conf</path> file is optional and shows you how to use 2684part of the <path>grub.conf</path> file is optional and shows you how to use
2751 read-only 2755 read-only
2752 root=/dev/hda3 2756 root=/dev/hda3
2753 2757
2754<comment># If you used genkernel, use something like this:</comment> 2758<comment># If you used genkernel, use something like this:</comment>
2755image=/boot/kernel-KV 2759image=/boot/kernel-KV
2756 label=gk_linux 2760 label=gk_linux
2757 root=/dev/hda3 2761 root=/dev/hda3
2758 initrd=/boot/initrd-KV 2762 initrd=/boot/initrd-KV
2759 append="root=/dev/ram0 init=/linuxrc" 2763 append="root=/dev/ram0 init=/linuxrc"
2760 2764
2761 2765
2762<comment># For dual booting windows/other OS</comment> 2766<comment># For dual booting windows/other OS</comment>
2763other=/dev/hda1 2767other=/dev/hda1
2764 label=dos 2768 label=dos
2765</pre> 2769</pre>
2770
2771<p>
2772Substitute <c>KV</c> with the kernel version you have installed.
2773</p>
2766 2774
2767<ul> 2775<ul>
2768<li><c>boot=/dev/hda</c> tells LILO to install itself on the first hard disk on the first IDE controller.</li> 2776<li><c>boot=/dev/hda</c> tells LILO to install itself on the first hard disk on the first IDE controller.</li>
2769<li><c>map=/boot/map</c> states the map file. In normal use, this should not be modified. </li> 2777<li><c>map=/boot/map</c> states the map file. In normal use, this should not be modified. </li>
2770<li><c>install=/boot/boot.b</c> tells LILO to install the specified file as the new boot sector. In normal use, this should not be altered. If the install line is missing, LILO will assume a default of <path>/boot/boot.b</path> as the file to be used. </li> 2778<li><c>install=/boot/boot.b</c> tells LILO to install the specified file as the new boot sector. In normal use, this should not be altered. If the install line is missing, LILO will assume a default of <path>/boot/boot.b</path> as the file to be used. </li>
2771<li>The existence of <c>prompt</c> tells LILO to display the classic <e>lilo:</e> prompt at bootup. While it is not recommended that you remove the prompt line, if you do remove it, you can still get a prompt by holding down the [Shift] key while your machine starts to boot. </li> 2779<li>The existence of <c>prompt</c> tells LILO to display the classic <e>lilo:</e> prompt at bootup. While it is not recommended that you remove the prompt line, if you do remove it, you can still get a prompt by holding down the [Shift] key while your machine starts to boot. </li>
2772<li><c>timeout=50</c> sets the amount of time that LILO will wait for user input before proceeding with booting the default line entry. This is measured in tenths of a second, with 50 as the default. </li> 2780<li><c>timeout=50</c> sets the amount of time that LILO will wait for user input before proceeding with booting the default line entry. This is measured in tenths of a second, with 50 as the default. </li>
2773<li><c>lba32</c> describes the hard disk geometry to LILO. Another common entry here is linear. You should not change this line unless you are very aware of what you are doing. Otherwise, you could put your system in an unbootable state. </li> 2781<li><c>lba32</c> describes the hard disk geometry to LILO. Another common entry here is linear. You should not change this line unless you are very aware of what you are doing. Otherwise, you could put your system in an unbootable state. </li>
2774<li><c>default=linux</c> refers to the default operating system for LILO to boot from the options listed below this line. The name linux refers to the label line below in each of the boot options. </li> 2782<li><c>default=linux</c> refers to the default operating system for LILO to boot from the options listed below this line. The name linux refers to the label line below in each of the boot options. </li>
2775<li><c>image=/boot/bzImage</c> specifies the linux kernel to boot with this particular boot option. </li> 2783<li><c>image=/boot/bzImage</c> specifies the linux kernel to boot with this particular boot option. </li>
2776<li><c>label=linux</c> names the operating system option in the LILO screen. In this case, it is also the name referred to by the default line. </li> 2784<li><c>label=linux</c> names the operating system option in the LILO screen. In this case, it is also the name referred to by the default line. </li>
2777<li><c>read-only</c> specifies that the root partition (see the root line below) is read-only and cannot be altered during the boot process. </li> 2785<li><c>read-only</c> specifies that the root partition (see the root line below) is read-only and cannot be altered during the boot process. </li>
2778<li><c>root=/dev/hda3</c> tells LILO what disk partition to use as the root partition. </li> 2786<li><c>root=/dev/hda3</c> tells LILO what disk partition to use as the root partition. </li>
2779</ul> 2787</ul>
2780 2788
2893<codenote>(USE="bindist" must be set while installing GRP packages that use XFree86)</codenote> 2901<codenote>(USE="bindist" must be set while installing GRP packages that use XFree86)</codenote>
2894</pre> 2902</pre>
2895 2903
2896<p> 2904<p>
2897CD 1 contains enough applications to install a working system with XFree86. 2905CD 1 contains enough applications to install a working system with XFree86.
2898Additionally, CD2 of the 2-CD GRP set contains other applications including 2906Additionally, CD2 of the 2-CD GRP set contains other applications including
2899KDE, GNOME, Mozilla and others. To install these packages, you will need to 2907KDE, GNOME, Mozilla and others. To install these packages, you will need to
2900reboot into your new Gentoo system first (covered in the "Installation 2908reboot into your new Gentoo system first (covered in the "Installation
2901complete!" section near the end of this document). After you are running your 2909complete!" section near the end of this document). After you are running your
2902basic Gentoo system from the hard drive, you can mount the second CD and copy 2910basic Gentoo system from the hard drive, you can mount the second CD and copy
2903files: 2911files:
2904</p> 2912</p>
2905 2913
2906<pre caption="Loading binary packages from CD2"> 2914<pre caption="Loading binary packages from CD2">
2907# <i>mount /dev/cdrom /mnt/cdrom</i> 2915# <i>mount /dev/cdrom /mnt/cdrom</i>
2908# <i>cp -a /mnt/cdrom/packages/ /usr/portage/packages/</i> 2916# <i>cp -a /mnt/cdrom/packages/ /usr/portage/</i>
2909</pre> 2917</pre>
2910 2918
2911<p> 2919<p>
2912Now various other applications can be installed the same way. For example: 2920Now various other applications can be installed the same way. For example:
2913</p> 2921</p>
2914 2922
2915<pre caption="Installing KDE from GRP"> 2923<pre caption="Installing KDE from GRP">
2916# <i>USE="bindist" emerge -k kde</i> 2924# <i>USE="bindist" emerge -k kde</i>
2917</pre> 2925</pre>
2918 2926
2919</body> 2927</body>
2920</section> 2928</section>
2921</chapter> 2929</chapter>
2922 2930
2923<chapter> 2931<chapter>

Legend:
Removed from v.1.151  
changed lines
  Added in v.1.152

  ViewVC Help
Powered by ViewVC 1.1.20