home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22555 < prev    next >
Encoding:
Text File  |  1993-01-03  |  2.4 KB  |  54 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!enterpoop.mit.edu!ira.uka.de!chx400!bernina!almesber
  3. From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  4. Subject: Re: Need help booting Linux off HD
  5. Message-ID: <1993Jan3.183914.9494@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <72759@cup.portal.com> <1993Jan2.202342.10290@nntpd2.cxo.dec.com> <1i5aa1INN8bp@crcnis1.unl.edu>
  9. Date: Sun, 3 Jan 1993 18:39:14 GMT
  10. Lines: 42
  11.  
  12. In article <1i5aa1INN8bp@crcnis1.unl.edu> makis@helios.unl.edu (Makis Maroulis) writes:
  13.  
  14. [...]
  15. > file "config"
  16. > ---------------------------------------------------------
  17. > boot = /dev/hda
  18. > compact
  19. > install = /etc/lilo/boot.b
  20. > map = /etc/lilo/map
  21. [...]
  22.  
  23. Two remarks: BOOT doesn't necessarily have to point to /dev/hda (or /dev/sda).
  24. LILO's boot sector can also be installed at some other place, e.g. on a Linux
  25. file system (Minix or Extended) if that partition can be made active. This has
  26. the advantage of making it easier to return the system to its original boot
  27. behaviour if desired. (But the example is correct, of course.)
  28.  
  29. The MAP variable defaults to /etc/lilo/map, so setting it doesn't have any
  30. effect in this config file. Of course, it doesn't do any harm either.
  31.  
  32. > file "disktab"
  33. > -------------------------------------------------------------
  34. > # Dev.  BIOS    Secs/   Heads/  Cylin-  Part.
  35. > # num.  code    track   cylin.  ders    offset
  36. > 0x300   0x80    17      10      980     0       # /dev/hda
  37. > 0x301   0x80    17      10      980     17      # /dev/hda1
  38. > 0x302   0x80    17      10      980     23630   # /dev/hda2
  39. > --------------------------------------------------------------
  40.  
  41. Ah, this is probably superfluous. LILO's map installer is usually able to
  42. determine the geometry of IDE disks with a little help from the kernel.
  43. Thus, it's safer to omit /etc/lilo/disktab in this case. (LILO 0.7 doesn't
  44. even always need /etc/lilo/disktab for SCSI disks, but there are a few
  45. bugs in that area that may yield unexpected results. They will be fixed in
  46. 0.8.)
  47.  
  48. - Werner
  49. -- 
  50.    _________________________________________________________________________
  51.   / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
  52.  / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
  53. /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
  54.