home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16192 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.7 KB  |  46 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!daemon
  3. From: Ching-Hsiang Chen <chchen@stat.fsu.edu>
  4. Subject: LILO confusion
  5. Message-ID: <1992Nov10.012049.24026@athena.mit.edu>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: chchen@stat.fsu.edu
  8. Organization: The Internet
  9. Date: Tue, 10 Nov 1992 01:20:49 GMT
  10. Lines: 34
  11.  
  12. I finally printed out the LILO postscript documentation. While I was playing
  13. with LILO (God blessed me to not kill my HD :) ), I found different command
  14. lines are needed to make it work in different situations (my Linux is in
  15. /dev/hda3):
  16.  
  17.   1. Booting from MCC-interim BOOT/ROOT disks(no /etc/lilo in RAMDISK):
  18.  
  19.      mount /dev/hda3 /root
  20.      cd /root/etc/lilo
  21.      ln -s /root/etc/lilo /etc/lilo (nessary?)
  22.      /etc/lilo/lilo -i /etc/lilo/boot.b -c -b /dev/hda -m map \
  23.       linux=/root/etc/Image
  24.  
  25.   2. Booting from HJ's bootable ROOT disk(with /etc/lilo):
  26.  
  27.      mount /dev/hda3 /root
  28.      cd /root/etc/lilo
  29.      ./lilo -r /root -i /etc/lilo/boot.b -c -b /dev/hda -m map \
  30.        linux=/etc/Image
  31.      (note that I still need '/etc/lilo/' before boot.b otherwise LILO can not
  32.       find the file boot.b; don't know why)
  33.  
  34.    3. Booting from hard disk by LILO and want to upgrade new kernel image or
  35.       new LILO version:
  36.  
  37.       cd /etc/lilo
  38.       ./lilo -i boot.b -c -b /dev/hda -m map linux=/etc/Image
  39.       
  40. Since I am preparing Linux disks for my friends in other cities and am 
  41. writing some intructions for them, I got confused with these commands.     
  42. However, the above 3 sets of commands worked. Any kind soul likes to
  43. enlighten me how I can simplify any of these?
  44.  
  45. Steve Chen       chchen@stat.fsu.edu
  46.