home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!ukma!darwin.sura.net!Sirius.dfn.de!chx400!bernina!almesber
- From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
- Subject: Re: LILO and extended partitions
- Message-ID: <1992Aug30.185213.12355@bernina.ethz.ch>
- Sender: news@bernina.ethz.ch (USENET News System)
- Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
- References: <1992Aug27.143355.27893@inmet.camb.inmet.com>
- Date: Sun, 30 Aug 1992 18:52:13 GMT
- Lines: 39
-
- In article <1992Aug27.143355.27893@inmet.camb.inmet.com> newbie@dylan.camb.inmet.com (Chris Newbold) writes:
- > I grabbed the new alpha version 4 of LILO off tsx the other day. I've been
- > trying to install it to boot Linux out of an extended _parition_
-
- Hmm ... LILO can only boot from the first disk and only primary partitions
- and an extended partition itself, not the logical partitions (/dev/[hs]da5,
- ...). However, it needs those partitions only to store its first stage boot
- loader. Everything else can be on any type of partition on any drive.
-
- > I have two SCSI drives /dev/sda and /dev/sdb. The first drive is all
- > Messy-LOSS, Windows, OS/2 and Windows NT.
-
- There seems only the MBR (/dev/sda) to be left. You might be able to re-
- arrange things and to create an extended partition, but this may be a bit
- messy. (Or you could put Windows on the same partition as MS-DOS and make
- a small boot partition for LILO.)
-
- If you use LILO as your MBR, you should make a backup copy of your old
- MBR (probably some boot switcher) and make sure you can boot all other
- systems with LILO (msdos=/etc/lilo/chain.b+/dev/hda1@/dev/hda \
- windows=/etc/lilo/chain.b+/dev/hda2@/dev/hda ...).
-
- If this doesn't work, you might want to try BOOTLIN.
-
- > When I ran "lilo -i boot.b /usr/src/0.97-pl1/Image" I got the message
- > "Could not install boot sector in extended parition 0x815". Why is this
- > happening?
-
- LILO assumed that you'd want to put your boot sector on the partition that
- is currently mounted as root, because you didn't specify the -b option.
- BTW, it said "logical partition". Booting from extended partitions is per-
- fectly valid, although a bit unusual.
-
- - 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_/
-