home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!chx400!bernina!almesber
- From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
- Subject: Re: How I LILOed
- Message-ID: <1992Aug30.193826.12921@bernina.ethz.ch>
- Sender: news@bernina.ethz.ch (USENET News System)
- Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
- References: <1992Aug26.110711.35901@uservx.plk.af.mil>
- Date: Sun, 30 Aug 1992 19:38:26 GMT
- Lines: 70
-
- In article <1992Aug26.110711.35901@uservx.plk.af.mil> simonich@uservx.plk.af.mil writes:
- > I am a firm believer in specific examples for software. Therefore,
- > for the (possible) help it may provide to other newbies here
- > is what I did to boot from my hard disk.
-
- Excellent idea !
-
- > step 5: uncompress and untar lilo 4 source and binaries into
- > /usr/src/lilo
-
- You only need the binaries if you can't or don't want to compile the
- source. Note that the binaries won't work with the 0.97-pl2 kernel.
-
- > step 6: get a copy of dparam.com from lilo onto a dos readable
- > disk
- > [...]
- > step 11: Edit the /etc/lilo/disktab file to reflect your disks.
- > mine looks like this:
-
- /etc/lilo/disktab is only needed for SCSI disks, but it doesn't do any
- harm (if done properly) on non-SCSI disks.
-
- > step 9: make lilo. edit the Makefile and change:
- >
- > CC=cc --> CC=gcc
- > CPP=cpp --> $(CC) -E
- > [...]
-
- Or link gcc to cc. I'll use $(CC) -E in the next release instead of
- cpp. It's probably a bit more portable that way.
-
- > Step 13: If that worked, prepare to boot from the hard disk:
- >
- > cd /etc/lilo
- > ./lilo -b /dev/sda2 -i boot.b -v -v -v Image
-
- You should create a little shell script with this command. First, because
- this may become rather complex if you add more boot images or operating
- systems to boot, and second, because you have to re-run it whenever you
- update your kernel or LILO.
-
- You could also add the -c option to compact the map file. This makes
- booting a bit faster.
-
- > HAVE BACKUP COPIES OF EVERYTHING.
- > ^^^^^^^^^^
- > Read the READMEs
- > MAKE SURE YOU HAVE BACKUP COPIES OF EVERYTHING.
- > ^^^^^^^^^^
- > Make sure your backup copies (see above) are
- > on FLOPPY disks.
- > Can you REALLY regenerate your system from
- > the FLOPPIES?
- > Ask questions BEFORE you make an irrevocable change
-
- Very good points ! :-)
-
- It's also a good idea to verify that your emergency system recovery disks
- that you've made long long ago and stored at a safe place (wet, dusty,
- spiders, ...) still work with your current setup and are actually still
- readable. It's no fun to be greeted by a kernel panic because of a bad
- sector on your only root image disk after you've messed up your hard disk
- boot sequence ...
-
- - Werner
- --
- _________________________________________________________________________
- / Werner Almesberger, ETH Zuerich, CH almesber@nessie.cs.id.ethz.ch /
- / IFW A44 Tel. +41 1 254 7213 almesberger@rzvax.ethz.ch /
- /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
-