Changeset 0d7900a for postlfs/filesystems/initramfs.xml
- Timestamp:
- 02/11/2013 06:51:17 PM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 8f83eeb
- Parents:
- a161de9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/filesystems/initramfs.xml
ra161de9 r0d7900a 42 42 <title>Building an initramfs</title> 43 43 44 <para>If you do decide to build an initramfs, the following scripts 45 will provide a basis to do it. The scripts will allow specifying a 46 rootfs via partition UUID or partition LABEL or a rootfs on an 44 <para>If you do decide to build an initramfs, the following scripts 45 will provide a basis to do it. The scripts will allow specifying a 46 rootfs via partition UUID or partition LABEL or a rootfs on an 47 47 LVM logical volume. They do not support an encrypted root file system 48 or mounting the rootfs over a network card. For a more complete 48 or mounting the rootfs over a network card. For a more complete 49 49 capability see <ulink url="http://www.linuxfromscratch.org/hints/read.html"> 50 50 the LFS Hints</ulink> or <ulink url="http://fedoraproject.org/wiki/Dracut"> … … 230 230 231 231 <command>chmod 0755 /sbin/mkinitramfs</command></userinput></screen> 232 232 233 233 <screen role="root"><userinput>mkdir -p /usr/share/mkinitramfs && 234 234 cat > /usr/share/mkinitramfs/init.in << "EOF" … … 337 337 338 338 EOF</userinput></screen> 339 339 340 340 </sect2> 341 341 … … 371 371 class='directory'>/boot</filename> directory.</para> 372 372 373 <para>Now edit <filename>/boot/grub/grub.cfg</filename> and add a new 373 <para>Now edit <filename>/boot/grub/grub.cfg</filename> and add a new 374 374 menuentry. Below are several examples.</para> 375 375 376 376 <screen><userinput># Generic initramfs and root fs identified by UUID 377 menuentry "LFS Dev (LFS-7.0-Feb14) initrd, Linux 3.0.4" 377 menuentry "LFS Dev (LFS-7.0-Feb14) initrd, Linux 3.0.4" 378 378 { 379 379 linux /vmlinuz-3.0.4-lfs-20120214 root=UUID=54b934a9-302d-415e-ac11-4988408eb0a8 ro … … 382 382 383 383 <screen><userinput># Generic initramfs and root fs on LVM partition 384 menuentry "LFS Dev (LFS-7.0-Feb18) initrd lvm, Linux 3.0.4" 384 menuentry "LFS Dev (LFS-7.0-Feb18) initrd lvm, Linux 3.0.4" 385 385 { 386 386 linux /vmlinuz-3.0.4-lfs-20120218 root=/dev/mapper/myroot ro … … 389 389 390 390 <screen><userinput># Specific initramfs and root fs identified by LABEL 391 menuentry "LFS Dev (LFS-7.1-Feb20) initrd label, Linux 3.2.6" 391 menuentry "LFS Dev (LFS-7.1-Feb20) initrd label, Linux 3.2.6" 392 392 { 393 393 linux /vmlinuz-3.2.6-lfs71-120220 root=LABEL=lfs71 ro
Note:
See TracChangeset
for help on using the changeset viewer.