home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9383 < prev    next >
Encoding:
Text File  |  1992-08-30  |  2.4 KB  |  51 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!ukma!darwin.sura.net!Sirius.dfn.de!chx400!bernina!almesber
  3. From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  4. Subject: Re: LILO and extended partitions
  5. Message-ID: <1992Aug30.185213.12355@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <1992Aug27.143355.27893@inmet.camb.inmet.com>
  9. Date: Sun, 30 Aug 1992 18:52:13 GMT
  10. Lines: 39
  11.  
  12. In article <1992Aug27.143355.27893@inmet.camb.inmet.com> newbie@dylan.camb.inmet.com (Chris Newbold) writes:
  13. > I grabbed the new alpha version 4 of LILO off tsx the other day. I've been
  14. > trying to install it to boot Linux out of an extended _parition_
  15.  
  16. Hmm ... LILO can only boot from the first disk and only primary partitions
  17. and an extended partition itself, not the logical partitions (/dev/[hs]da5,
  18. ...). However, it needs those partitions only to store its first stage boot
  19. loader. Everything else can be on any type of partition on any drive.
  20.  
  21. > I have two SCSI drives /dev/sda and /dev/sdb. The first drive is all
  22. > Messy-LOSS, Windows, OS/2 and Windows NT.
  23.  
  24. There seems only the MBR (/dev/sda) to be left. You might be able to re-
  25. arrange things and to create an extended partition, but this may be a bit
  26. messy. (Or you could put Windows on the same partition as MS-DOS and make
  27. a small boot partition for LILO.)
  28.  
  29. If you use LILO as your MBR, you should make a backup copy of your old
  30. MBR (probably some boot switcher) and make sure you can boot all other
  31. systems with LILO (msdos=/etc/lilo/chain.b+/dev/hda1@/dev/hda \
  32. windows=/etc/lilo/chain.b+/dev/hda2@/dev/hda ...).
  33.  
  34. If this doesn't work, you might want to try BOOTLIN.
  35.  
  36. > When I ran "lilo -i boot.b /usr/src/0.97-pl1/Image" I got the message
  37. > "Could not install boot sector in extended parition 0x815". Why is this
  38. > happening?
  39.  
  40. LILO assumed that you'd want to put your boot sector on the partition that
  41. is currently mounted as root, because you didn't specify the -b option.
  42. BTW, it said "logical partition". Booting from extended partitions is per-
  43. fectly valid, although a bit unusual.
  44.  
  45. - Werner
  46. -- 
  47.    _________________________________________________________________________
  48.   / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
  49.  / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
  50. /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
  51.