/[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.115 Revision 1.116
1895 <title>Creating Bootdisks</title> 1895 <title>Creating Bootdisks</title>
1896 <section> 1896 <section>
1897 <title>GRUB Bootdisks</title> 1897 <title>GRUB Bootdisks</title>
1898 <body> 1898 <body>
1899 <p>It is always a good idea to make a boot disk the first 1899 <p>It is always a good idea to make a boot disk the first
1900 time you install any Linux distribution. This is a security 1900 time you install any Linux distribution. This is a security
1901 blanket, and generally not a bad thing to do. If you are using some kinds of hardware RAID, you may <e>need</e> to make a GRUB boot 1901 blanket, and generally not a bad thing to do. If you are using some kinds of hardware RAID, you may <e>need</e> to make a GRUB boot
1902 disk. With these types of hardware RAID, 1902 disk. With these types of hardware RAID,
1903 if you try to install grub from your chrooted shell it will fail. If you are in this camp, 1903 if you try to install grub from your chrooted shell it will fail. If you are in this camp,
1904 make a GRUB 1904 make a GRUB
1905 boot disk, and when you reboot the first time you can install GRUB 1905 boot disk, and when you reboot the first time you can install GRUB
1906 to the MBR. Make your 1906 to the MBR. Make your
1907 bootdisks like this: 1907 bootdisks like this:
1908 </p> 1908 </p>
1909<pre caption="Creating a GRUB Bootdisk"> 1909<pre caption="Creating a GRUB Bootdisk">
1910# <c>mke2fs /dev/fd0</c> 1910# <c>cd /usr/share/grub/i386-pc/</c>
1911# <c>mount /dev/fd0 /mnt/floppy</c> 1911# <c>cat stage1 stage2 > /dev/fd0</c>
1912# <c>mkdir -p /mnt/floppy/boot/grub</c>
1913# <c>cp /usr/share/grub/i386-pc/stage1 /mnt/floppy/boot/grub/</c>
1914# <c>cp /usr/share/grub/i386-pc/stage2 /mnt/floppy/boot/grub/</c>
1915# <c>umount /mnt/floppy</c>
1916# <c>grub</c>
1917
1918grub&gt; <c>root (fd0)</c>
1919grub&gt; <c>setup (fd0)</c>
1920grub&gt; <c>quit</c>
1921</pre> 1912</pre>
1922 <p>Now reboot and load the floppy. At the floppy's <c>grub&gt;</c> prompt, you can now execute the necessary <c>root</c> 1913 <p>Now reboot and load the floppy. At the floppy's <c>grub&gt;</c> prompt, you can now execute the necessary <c>root</c>
1923 and <c>setup</c> commands.</p> 1914 and <c>setup</c> commands.</p>
1924 </body> 1915 </body>
1925 </section> 1916 </section>
1926 <section> 1917 <section>
1927 <title>LILO Bootdisks</title> 1918 <title>LILO Bootdisks</title>
1928 <body> 1919 <body>
1929 <p>If you are using LILO, it is also a good idea to make a bootdisk: 1920 <p>If you are using LILO, it is also a good idea to make a bootdisk:
1930 </p> 1921 </p>
1931<pre caption="Making a LILO Bootdisk"> 1922<pre caption="Making a LILO Bootdisk">
1932# <c>dd if=/boot/your_kernel of=/dev/fd0 </c> 1923# <c>dd if=/boot/your_kernel of=/dev/fd0 </c>
1933<comment>This will only work if your kernel is smaller than 1.4MB</comment> 1924<comment>This will only work if your kernel is smaller than 1.4MB</comment>
1934</pre> 1925</pre>
1935 </body> 1926 </body>

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116

  ViewVC Help
Powered by ViewVC 1.1.20