home *** CD-ROM | disk | FTP | other *** search
/ host-198-236-40-254.wlwv.k12.or.us / host-198-236-40-254.wlwv.k12.or.us.tar / host-198-236-40-254.wlwv.k12.or.us / tsu / BareMetalInstall.iso / requirements.txt < prev    next >
Text File  |  2012-12-18  |  3KB  |  58 lines

  1. Linux Live scripts Requirements         by Tomas M.   http://www.linux-live.org
  2.  
  3.   To be able to create a Linux Live CD, your kernel must meet all the
  4.   requirements noted below. Sample kernel config file can be found in
  5.   ./DOC/config/.config.kernel
  6.  
  7.   If you don't wish to compile anything, go to www.linux-live.org
  8.   and download precompiled Linux kernel with everything included.
  9.  
  10.   * Your distro must use kernel 2.6.9 or higher
  11.   * udev must be installed and working in your distribution
  12.     (because devices from /dev are not copied to LiveCD)
  13.  
  14.   * all the following things must be compiled directly into kernel:
  15.      (these options are usually compiled so you shouldn't have problems)
  16.      - ext2 (CONFIG_EXT2_FS=y)
  17.      - tmpfs (CONFIG_TMPFS=y)
  18.      - ramdisk (CONFIG_BLK_DEV_RAM=y)
  19.      - initrd (CONFIG_BLK_DEV_INITRD=y)
  20.  
  21.     You can use untouched Vanila Linux kernel 2.6 from Slackware!
  22.     but in that case you have to compile unionfs and squashfs modules yourself
  23.  
  24.   * all the following things must be compiled in the kernel or must be
  25.      available as a kernel modules (.ko):
  26.      - loop (else mount -o loop won't work)
  27.      - zlib_inflate (used by squashfs module)
  28.      - isofs (if you will boot your live distro from CDROM)
  29.      - ehci-hcd, ohci-hcd, uhci-hcd, usb-storage (if you will boot your live distro from USB)
  30.  
  31.   * all these modules must be available:
  32.      - unionfs.ko (http://www.filesystems.org/project-unionfs.html)
  33.      - squashfs.ko (http://squashfs.sourceforge.net)
  34.  
  35.      If you compile them yourself, make sure unionfs.ko doesn't contain
  36.      debug info so it can fit 4MB initrd image. Copy your .ko modules to
  37.      linux live scripts to ./initrd/kernel-modules/2.6.* (create the dir!)
  38.  
  39.      In general, you don't need to compile anything unless you wish to use
  40.      some own kernel configuration, or you wish to use newer version of
  41.      squashfs or unionfs.
  42.  
  43.   * Your distro must have /usr/bin/chroot or /usr/sbin/chroot
  44.  
  45.   * You must modify your distro to NOT test the status of root directory
  46.      (whether it is (is not) writable). For example, Slackware is testing 
  47.      the status of the root partition during boot and if it's read-write,
  48.      it will display a message and will wait for user input. This is something 
  49.      we don't like, right? Unionfs can't be remounted ro, so I can't avoid 
  50.      this in linux live scripts. I have to patch Slackware rc scripts (rc.S)
  51.      to skip the test. You will need to do something similar for your distro.
  52.  
  53.   * some distributions can't handle compressed kernel modules well, for
  54.     example debian-based distros like debian itself or ubuntu
  55.     In this case, modify 'config' file and disable gzipping (set COMPRESS=0)
  56.  
  57.   These requirements could change with new kernel or unionfs versions.
  58.