Rick Jones <[EMAIL PROTECTED]> writes:

> Sten Anderson wrote:
> > 
> > Sven Garbade <[EMAIL PROTECTED]> writes:
> > 
> > >   1. First, the Linux Loader LILO doesn't work correctly.
> > >
> > >   # LILO configuration file
> > >   #
> > >   # Start LILO global section
> > >   lock
> > >   boot = /dev/hda
> > 
> > Try boot=/dev/hda2
> > 
> > You can get the old MBR back with "fdisk /MBR" (the fdisk from DOS)
> > 
> > >   Partition table (fdisk):
> > >   ------------------------
> > >
> > >   Disk /dev/hda: 64 heads, 63 sectors, 1023 cylinders
> > >   Units = cylinders of 4032 * 512 bytes
> > >
> > >      Device Boot   Begin    Start      End   Blocks   Id  System
> > >   /dev/hda1   *        1        1      204   411232+   6  DOS 16-bit  =32M
> > >   /dev/hda2          205      205     1022  1649088    5  Extended
> > >   /dev/hda5   *      205      205      245    82624+  83  Linux native
> > 
> >                 ^
> >                 |
> > 
> > Only one partition should be active. With my above suggestion, it
> > should be hda2
> 
> Also.  Maybe this is a typo or something, but your /dev/hda2 and
> /dev/hda5 seem to be ocupying the same area of the disk.  

That is not a typo. The extended partition _includes_ the logical
partitions. 

Here is a print of my _working_ disk layout (from linux fdisk)

/dev/hda1            1        1      261  2096451    6  DOS 16-bit >=32M
/dev/hda2   *      262      262      524  2112547+   5  Extended
/dev/hda5          262      262      270    72261   82  Linux swap
/dev/hda6          271      271      524  2040223+  83  Linux native

I have lilo in the bootsector of /dev/hda2 (an extended partition). 

> Not to mention
> you are wanting to make an extended partion bootable *not* the linux
> partition.  

That is the correct way to do it according to the Lilo manual. You
cannot put lilo in the bootsector of a logical partion. In that case
lilo must reside in the bootsector of the enclosing extended
partition.  

> Looks to me like your partition table is hosed up.  Your
> cfdisk printout doesn't even show /dev/hda2.
> 

> boot=/dev/hda is correct if lilo is in the boot sector not the
> partition.

You are mixing the concepts. /dev/hda is the MBR, not a bootsector. 
Lilo can reside in the MBR, but the Lilo manual warns against it.

- Sten Anderson


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to