Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 306623 Details for
Bug 408691
Add information on initramfs in installation instructions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for kernel configuration
hb-install-x86+amd64-kernel.patch (text/plain), 2.31 KB, created by
Sven Vermeulen (RETIRED)
on 2012-03-25 17:31:24 UTC
(
hide
)
Description:
Patch for kernel configuration
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2012-03-25 17:31:24 UTC
Size:
2.31 KB
patch
obsolete
>Index: hb-install-x86+amd64-kernel.xml >=================================================================== >RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v >retrieving revision 1.45 >diff -u -B -r1.45 hb-install-x86+amd64-kernel.xml >--- hb-install-x86+amd64-kernel.xml 22 Feb 2012 21:27:45 -0000 1.45 >+++ hb-install-x86+amd64-kernel.xml 25 Mar 2012 17:30:10 -0000 >@@ -342,6 +342,59 @@ > # <i>cp arch/<keyval id="arch-sub"/>/boot/bzImage /boot/<keyval id="kernel-name"/></i> > </pre> > >+</body> >+</subsection> >+<subsection id="initramfs"> >+<title>(Optional) Building an Initramfs</title> >+<body> >+ >+<p> >+If you use a specific partition layout where important file system locations >+(like <path>/usr</path> or <path>/var</path>) are on separate partitions, then >+you will need to setup an initramfs so that this partition can be mounted before >+it is needed. >+</p> >+ >+<p> >+Without an initramfs, you risk that the system will not boot up properly as the >+tools that are responsible for mounting the file systems need information that >+resides on those file systems. An initramfs will pull in the necessary files >+into an archive which is used right after the kernel boots, but before the >+control is handed over to the <c>init</c> tool. Scripts on the initramfs will >+then make sure that the partitions are properly mounted before the system >+continues booting. >+</p> >+ >+<p> >+To install an initramfs, install <c>genkernel</c> first, then have it >+generate an initramfs for you. >+</p> >+ >+<pre caption="Building an initramfs"> >+# <i>emerge genkernel</i> >+# <i>genkernel --install initramfs</i> >+</pre> >+ >+<p> >+If you need specific support in the initramfs, such as lvm or raid, add in the >+appropriate options to genkernel. See <c>genkernel --help</c> for more >+information, or the next example which enables support for LVM and software raid >+(mdadm): >+</p> >+ >+<pre caption="Building an initramfs with support for LVM and software raid"> >+# <i>genkernel --lvm --mdadm --install initramfs</i> >+</pre> >+ >+<p> >+The initramfs will be stored in <path>/boot</path>. You can find the file by >+simply listing the files starting with <path>initramfs</path>: >+</p> >+ >+<pre caption="Checking the initramfs file name"> >+# <i>ls /boot/initramfs*</i> >+</pre> >+ > <p> > Now continue with <uri link="#kernel_modules">Kernel Modules</uri>. > </p>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 408691
:
305785
|
305787
| 306623