home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20247 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.8 KB  |  48 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!news.univie.ac.at!chx400!bernina!almesber
  3. From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  4. Subject: Re: lilo boot problem with 0.98p5 SLS
  5. Message-ID: <1992Dec14.013541.20736@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <Bz6KK3.Jps@acsu.buffalo.edu>
  9. Date: Mon, 14 Dec 1992 01:35:41 GMT
  10. Lines: 36
  11.  
  12. In article <Bz6KK3.Jps@acsu.buffalo.edu> jchen@acsu.buffalo.edu (Jonathan Chen) writes:
  13. >    partition table ok
  14. >    MINIX-fs: unable to read superblock
  15. >    EXT-fs: unable to read superblock
  16. >    MSDOS bread failed
  17. >    kernel panic: Unable to mount root
  18.  
  19. *Sniff,sniff* ... I smell a new FAQ.
  20.  
  21. This happens if a) your kernel has no or the wrong boot device set and
  22. b) you didn't tell LILO to override the boot device setting of the kernel.
  23.  
  24. To fix a) use rdev aka setroot, e.g. rdev /linux /dev/hda1
  25. (or change the value of ROOT_DEV in the top-level kernel Makefile,
  26. rebuild the kernel and - of course - run /etc/lilo/install.)
  27.  
  28. To fix b) (the preferred solution):
  29.  
  30.    If you're using old-style configuration, append ,<rootdev> to the
  31.    descriptor of your kernel, e.g. /linux,/dev/hda1
  32.  
  33.    If you're using new-style configuration, add the variable
  34.      root = <rootdev>
  35.    after the  image = ... variable in your /etc/lilo/config, e.g.
  36.  
  37.    image = /linux
  38.      root = /dev/hda1
  39.  
  40.    Then run /etc/lilo/install to copy the settings into the map file.
  41.  
  42. - Werner
  43. -- 
  44.    _________________________________________________________________________
  45.   / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
  46.  / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
  47. /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
  48.