home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!daemon
- From: Ching-Hsiang Chen <chchen@stat.fsu.edu>
- Subject: LILO confusion
- Message-ID: <1992Nov10.012049.24026@athena.mit.edu>
- Sender: daemon@athena.mit.edu (Mr Background)
- Reply-To: chchen@stat.fsu.edu
- Organization: The Internet
- Date: Tue, 10 Nov 1992 01:20:49 GMT
- Lines: 34
-
- I finally printed out the LILO postscript documentation. While I was playing
- with LILO (God blessed me to not kill my HD :) ), I found different command
- lines are needed to make it work in different situations (my Linux is in
- /dev/hda3):
-
- 1. Booting from MCC-interim BOOT/ROOT disks(no /etc/lilo in RAMDISK):
-
- mount /dev/hda3 /root
- cd /root/etc/lilo
- ln -s /root/etc/lilo /etc/lilo (nessary?)
- /etc/lilo/lilo -i /etc/lilo/boot.b -c -b /dev/hda -m map \
- linux=/root/etc/Image
-
- 2. Booting from HJ's bootable ROOT disk(with /etc/lilo):
-
- mount /dev/hda3 /root
- cd /root/etc/lilo
- ./lilo -r /root -i /etc/lilo/boot.b -c -b /dev/hda -m map \
- linux=/etc/Image
- (note that I still need '/etc/lilo/' before boot.b otherwise LILO can not
- find the file boot.b; don't know why)
-
- 3. Booting from hard disk by LILO and want to upgrade new kernel image or
- new LILO version:
-
- cd /etc/lilo
- ./lilo -i boot.b -c -b /dev/hda -m map linux=/etc/Image
-
- Since I am preparing Linux disks for my friends in other cities and am
- writing some intructions for them, I got confused with these commands.
- However, the above 3 sets of commands worked. Any kind soul likes to
- enlighten me how I can simplify any of these?
-
- Steve Chen chchen@stat.fsu.edu
-