From 7df987a652b93d55dd8eca363706d3bacc469b55 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 27 Nov 2014 16:29:31 -0600 Subject: Initial commit message for lfs live howto. --- essential.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 essential.xml (limited to 'essential.xml') diff --git a/essential.xml b/essential.xml new file mode 100644 index 0000000..4f3eb4d --- /dev/null +++ b/essential.xml @@ -0,0 +1,32 @@ + + + + + + + Reconfiguring the Kernel + This chapter is mandatory for building the livecd. The livekey only need an new kernel if you haven't enabled support for USB,EXT2/EXT3,SCSI and initial ramdisk + After having patched your kernel sources with aufs, you will have to configure your kernel to enable the new features. + Use your favorite configuration tool, like make menuconfig. + + As you will use your actual LFS system and maybe make a few changes in it, you should now backup your present kernel config, located in /boot/config-<kernel-version>. + + Enable Initial RAM filesystem and RAM disk (initramfs/initrd) support in General setup. + If you want your live system to boot on most architectures, you will have to enable Block layer SG support v4 (in menuconfig->Enable the block layer). + In Processor type and features, select 386 as Processor family + You will have to enable loopback device support and ramdisk support in Device Drivers->Block devices + If you plan to build a live usb key, you will have to say yes to USB support and to Support for Host-side USB, as well as UHCI HCD support, OHCI HCD support and EHCI HCD (USB 2.0) support. Say yes (y) to USB Mass Storage support also. + You will also need SCSI device support: SCSI disk support. + + If you plan to build a live cd or dvd, make sure you build the following modules direct into the kernel (* not m) : + *SCSI device support->SCSI CDROM support + *SCSI generic support + *ISO 9660 CDROM file system support in CD-ROM/DVD Filesystems + *PATA support. + + Last, but not least, enable AUFS and SquashFS, in File systems->Miscellaneous filesystems + + After configuration, just build and install your kernel. + + -- cgit v1.2.3-54-g00ecf