Cannot get LILO to write to MBR

Cannot get LILO to write to MBR

Post by Simon Chene » Mon, 31 Aug 1998 04:00:00



I have got hold of a new hard drive and have installed Red Hat 5.1
on it.  However, writing to the master boot record fails.

When I boot from floppies, mount the hard disk and try lilo
manually I get the following message:

LILO version 0.16, Copyright 1992-1995 Werner Almesberger

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Map segment is too big.

Can anyone shed some light on what this means?  Is there a problem
with the disk, my partitioning, or what?

An fdisk of my new drive, and cat of /etc/lilo.conf yield
the following unremarkable information:

Disk /dev/hda: 15 heads, 56 sectors, 989 cylinders
Units = cylinders of 840 * 512 bytes

  Device Boot  Begin   Start     End  Blocks   Id  System
/dev/hda1 *        1       1     486 204092    83  Linux native
/dev/hda2        487     487     989 211260     5  Extended
/dev/hda5        487     487     733 103712    83  Linux native
/dev/hda6        734     734     929  82292    83  Linux native
/dev/hda7        930     930     988  24752    82  Linux swap

boot = /dev/hda
root = /dev/hda1
image = /boot/vmlinuz-2.0.35-2
label = vmlinuz

--
Simon

You cannot be serious -- John McEnroe.

 
 
 

Cannot get LILO to write to MBR

Post by rens » Mon, 31 Aug 1998 04:00:00


You probably checked, but just to make sure :

do you have virus or bootsector-protection switched on in the BIOS of
your PC ??
if so, switch it off.....

Since linux has full control of the hardware, there is only one piece of
software that can stop it from doing something: te PC-software it
self.... And that is the BIOS-software.
( the BIOS-setup can usually be entered by pressing the <del> key or
something like that.... )

Rens
--
_____________________________
I speak for myself.....
_____________________________

 
 
 

Cannot get LILO to write to MBR

Post by Yuri Tito » Fri, 18 Sep 1998 04:00:00



> I have got hold of a new hard drive and have installed Red Hat 5.1
> on it.  However, writing to the master boot record fails.

> When I boot from floppies, mount the hard disk and try lilo
> manually I get the following message:

> LILO version 0.16, Copyright 1992-1995 Werner Almesberger

> Reading boot sector from /dev/hda
> Merging with /boot/boot.b
> Map segment is too big.

> Can anyone shed some light on what this means?  Is there a problem
> with the disk, my partitioning, or what?

> An fdisk of my new drive, and cat of /etc/lilo.conf yield
> the following unremarkable information:

> Disk /dev/hda: 15 heads, 56 sectors, 989 cylinders
> Units = cylinders of 840 * 512 bytes

>   Device Boot  Begin   Start     End  Blocks   Id  System
> /dev/hda1 *        1       1     486 204092    83  Linux native
> /dev/hda2        487     487     989 211260     5  Extended
> /dev/hda5        487     487     733 103712    83  Linux native
> /dev/hda6        734     734     929  82292    83  Linux native
> /dev/hda7        930     930     988  24752    82  Linux swap

> boot = /dev/hda
> root = /dev/hda1
> image = /boot/vmlinuz-2.0.35-2
> label = vmlinuz

> --
> Simon

> You cannot be serious -- John McEnroe.

  Are you using old disks?  I had the same problem until I created
new boot.img disk using the new 5.1 RH cd.

Regards

Yuri

 
 
 

Cannot get LILO to write to MBR

Post by Mr.Bitze » Tue, 29 Sep 1998 04:00:00




> > I have got hold of a new hard drive and have installed Red Hat 5.1
> > on it.  However, writing to the master boot record fails.

> > When I boot from floppies, mount the hard disk and try lilo
> > manually I get the following message:

> > LILO version 0.16, Copyright 1992-1995 Werner Almesberger

> > Reading boot sector from /dev/hda
> > Merging with /boot/boot.b
> > Map segment is too big.

> > Can anyone shed some light on what this means?  Is there a problem
> > with the disk, my partitioning, or what?

> > An fdisk of my new drive, and cat of /etc/lilo.conf yield
> > the following unremarkable information:

> > Disk /dev/hda: 15 heads, 56 sectors, 989 cylinders
> > Units = cylinders of 840 * 512 bytes

> >   Device Boot  Begin   Start     End  Blocks   Id  System
> > /dev/hda1 *        1       1     486 204092    83  Linux native
> > /dev/hda2        487     487     989 211260     5  Extended
> > /dev/hda5        487     487     733 103712    83  Linux native
> > /dev/hda6        734     734     929  82292    83  Linux native
> > /dev/hda7        930     930     988  24752    82  Linux swap

> > boot = /dev/hda
> > root = /dev/hda1
> > image = /boot/vmlinuz-2.0.35-2
> > label = vmlinuz

> > --
> > Simon

> > You cannot be serious -- John McEnroe.

>   Are you using old disks?  I had the same problem until I created
> new boot.img disk using the new 5.1 RH cd.

> Regards

> Yuri

  Hi,
some BIOS support MBR Securety, this means if turned on you may not be
able to write LILO and fdisk /mbr.
Look at the BIOS maybe the devil sits in there. Same happened to me and
drove me crasy.
Albert
 
 
 

1. write LILO to mbr?

Near the end of my RH 5.2 install, the setup program gave me a choice
of putting LILO in the mbr, or putting it in /boot, which is my first
partition (primary).  I chose the latter, and the system won't boot
except with a boot floppy.  Is there a simple way of moving LILO to
the mbr - or is that necessary (ie, why give me the choice if option 2
is not workable?!).  

I tried the command lilo with no parameters;  it took a few seconds
and returned to the prompt with no message returned (either completion
or error) - so I'd assume that didsomething - but I still can't boot
from the HDD.  Any suggestions?
to reply by email, please remove the "zz" from the address.

Edmonton, Alberta, Canada

2. Why can't I set a socket to nonblocking

3. Lilo won't write to mbr!

4. Help on p2c needed

5. HELP: wrote Lilo to Win NT MBR, can't find my NT now ...

6. how do pf and ipsec interact?

7. LILO installation problem, writing to MBR

8. HP's glance-like program on Linux ?

9. lilo can't write mbr, HATE using loadlin

10. lilo writes bogus MBR on HP Vectra

11. Will SCANDISK write over LILO (in MBR)

12. RH 5.2 - Maxtor - LILO - MBR - failure to write

13. getting lilo back into MBR