/[gentoo]/xml/htdocs/doc/en/genkernel.xml
Gentoo

Diff of /xml/htdocs/doc/en/genkernel.xml

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

Revision 1.37 Revision 1.38
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/genkernel.xml,v 1.37 2011/09/03 07:18:26 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/genkernel.xml,v 1.38 2012/06/29 19:20:43 swift Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide> 5<guide>
6<title>Gentoo Linux Genkernel Guide</title> 6<title>Gentoo Linux Genkernel Guide</title>
7 7
30 30
31<!-- The content of this document is licensed under the CC-BY-SA license --> 31<!-- The content of this document is licensed under the CC-BY-SA license -->
32<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 32<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
33<license/> 33<license/>
34 34
35<version>7</version> 35<version>8</version>
36<date>2011-09-03</date> 36<date>2012-06-29</date>
37 37
38<chapter> 38<chapter>
39<title>Introduction</title> 39<title>Introduction</title>
40<section> 40<section>
41<title>Rationale</title> 41<title>Rationale</title>
863</body> 863</body>
864</section> 864</section>
865</chapter> 865</chapter>
866 866
867<chapter> 867<chapter>
868<title>Booting a genkernel initramfs</title>
869<section>
870<title>Introduction</title>
871<body>
872
873<p>
874If you installed an initramfs with genkernel, you should definitely take a look
875at the various boot options that you can (or need to) define in your bootloader
876configuration. The most common ones are added to this guide for your reference.
877</p>
878
879</body>
880</section>
881<section>
882<title>Loading LVM or software-RAID</title>
883<body>
884
885<p>
886If your system uses LVM or software-RAID, you undoubtedly have built the
887initramfs using the <c>--lvm</c> and <c>--mdadm</c> options (didn't you).
888However, you should not forget to enable support during boot as well. This can
889be done using the <c>dolvm</c> and <c>domdadm</c> options.
890</p>
891
892<pre caption="Enabling LVM and/or MDADM support">
893<comment># Example for GRUB 1.x</comment>
894title Gentoo Linux
895root (hd0,0)
896kernel /vmlinuz root=/dev/md3 <i>dolvm domdadm</i>
897initrd /initramfs-genkernel-x86_64-3.4.3
898</pre>
899
900</body>
901</section>
902<section>
903<title>Booting in single-user mode</title>
904<body>
905
906<p>
907If for some reason boot-up fails, you might be able to rescue your system by
908booting in the single-user mode. This will only load the really necessary
909services and then drop you to a rescue (root) shell.
910</p>
911
912<pre caption="Booting in single-user mode">
913<comment># Example for GRUB 1.x</comment>
914title Gentoo Linux
915root (hd0,0)
916kernel /vmlinuz root=/dev/md3 <i>init_opts=S</i>
917initrd /initramfs-genkernel-x86_64-3.4.3
918</pre>
919
920</body>
921</section>
922</chapter>
923
924<chapter>
868<title>Conclusion</title> 925<title>Conclusion</title>
869<section> 926<section>
870<title>To Automate or not to Automate?</title> 927<title>To Automate or not to Automate?</title>
871<body> 928<body>
872 929
877</p> 934</p>
878 935
879</body> 936</body>
880</section> 937</section>
881</chapter> 938</chapter>
939
882</guide> 940</guide>

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20