home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!ira.uka.de!sbusol.rz.uni-sb.de!coli.uni-sb.de!mpi-sb.mpg.de!juergen
- From: juergen@mpi-sb.mpg.de (Juergen Stuber)
- Newsgroups: comp.os.linux
- Subject: Re: LILO 7 and LINUX 0.99.1
- Date: 5 Jan 1993 16:43:31 GMT
- Organization: Max-Planck-Institut f"ur Informatik
- Lines: 56
- Distribution: world
- Message-ID: <1icdrjINN1hh@coli-gate.coli.uni-sb.de>
- References: <72348@cup.portal.com>
- Reply-To: Juergen.Stuber@mpi-sb.mpg.de
- NNTP-Posting-Host: mpii02000.ag2.mpi-sb.mpg.de
-
- In article <72348@cup.portal.com>, Dave-Nuttall@cup.portal.com (David Dave Nuttall) writes:
- |> I can make a LILO 7 floppy which boots fine, but attempts to
- |> make the hard drive bootable are failures. Would appreciate
- |> insights other than RTFM/FAQs.
- |>
- |> My /etc/lilo/config is:
- |> install = /etc/lilo/boot.b
- |> image = /Image
- |> label = lin-hd
- |> root = /dev/hda1
- |>
- |> If I run:
- |> $ROOT/etc/lilo/lilo - C /etc/lilo/config $*
- |>
- |> no errors are reported.
- |> Then I sync and reboot.
- |> The system reports NO OS.
-
- Others have already suggested booting from /dev/hda, which works.
-
- When I installed lilo, I read the docs and decided to boot from
- /dev/hda1, to avoid replacing my master boot sector. I encountered
- the same problem, but being curious I went as far as disassembling
- the master boot record. Everything looked perfect, except that upon
- booting I got 'Missing Operating System'. Finally, I tracked down
- the problem to a slight inconsistency in the partition table. For
- each partition, it records the beginning of a partition both in terms
- of its cylinder/head/sector and as the offset of the partition from
- the partition table in sectors. The cylinder/head/sector address is
- used by the master boot record for loading the boot sector and was
- set to 0/1/1, while linux apparently uses the offset, which was 1,
- corresponding to sector 0/0/2.
-
- Sector 1 Sector 2 Sector 3 ... Sector 17
- Head 0 Master Boot Record Lilo Boot Sector Data
- Head 1 MBR loaded this one
- ..
-
- After changing the 0/1/1 to 0/0/2 everything now goes smoothly.
-
- Notes:
- - neither DOS nor linux fdisk reported this inconsistency
- - I don't know who wrote this entry. DOS partitions always start
- at the beginning of a track, so maybe DOS fdisk 'corrected'
- the table.
-
- Hope this makes things clearer
- be careful with your partition table
- don't blame me if you blow up your disk
-
- Jⁿrgen
-
- --
- J"urgen Stuber <juergen.stuber@mpi-sb.mpg.de>
- finger juergen@mpii02000.mpi-sb.mpg.de for pgp key
- Ni f}r g{rna skriva p} svenska.
-