home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / debian / docs / ImageLoaders / SiloDefault < prev    next >
Encoding:
Text File  |  2005-06-08  |  1.2 KB  |  27 lines

  1.  
  2.   $Id: SiloDefault,v 1.1 1998/03/05 22:45:34 srivasta Exp $
  3.  
  4. If the post install script finds SILO on the system (/sbin/silo),
  5. it checks to see if there already exists a configuration file
  6. /etc/silo.conf. If not, a boilerplate SILO configuration file that 
  7. will work with the image just installed, as follows.
  8.  
  9. It looks into /etc/fstab, looking for the device that the root (/)
  10. directory is on, also, it looks for any partition that may have a boot
  11. sector installed by SILO, ignoring swap, NFS and proc file systems and
  12. floppy drives (if no SILO sector is found, it assumes that the drive
  13. that the root device is on should be where SILO places the block (this
  14. is not good for all installations, but it gives a starting point) and
  15. inserts lines like (assuming the root directory is on /dev/sda4):
  16. ----------------------------------------------------------------------
  17. partition=4 root=/dev/sda4
  18. ----------------------------------------------------------------------
  19.  
  20. and then appends the following:
  21. ----------------------------------------------------------------------
  22. timeout=100
  23. image=/vmlinuz
  24. label=Linux
  25. read-only
  26. ----------------------------------------------------------------------
  27.