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 / VmeliloDefault < prev   
Encoding:
Text File  |  2005-06-08  |  1.1 KB  |  29 lines

  1.  
  2.  
  3. If the post install script finds VMELILO on the system (/sbin/vmelilo),
  4. it checks to see if a configuration file (/etc/vmelilo.conf) already
  5. exists. If not, it creates a boilerplate VMELILO configuration file
  6. that will work with the image just installed, as follows.
  7.  
  8. It looks into /etc/fstab, looking for the device that the root (/)
  9. directory is on, ignoring swap, NFS and proc file systems it assumes
  10. that the drive that the root device is on should be where VMELILO
  11. installs the boot sector (this is not good for all installations, but
  12. it gives a starting point) and inserts lines like (assuming the root
  13. directory is on /dev/sda2):
  14. ----------------------------------------------------------------------
  15. boot      = /dev/sda
  16. root      = /dev/sda2
  17. ----------------------------------------------------------------------
  18.  
  19. and then appends the following:
  20. ----------------------------------------------------------------------
  21. default   = Linux
  22. delay     = 2
  23.  
  24. [boot]
  25. label     = Linux
  26. image     = /vmlinuz
  27. read-only
  28. ----------------------------------------------------------------------
  29.