Lilo spits "L 40 40 40 40"...

Lilo spits "L 40 40 40 40"...

Post by jefitzpatric » Wed, 12 Dec 2001 09:27:07



I upgraded from RH6.2 to Mandrake 8.1 and now the system will only boot
from a floppy.  "L 40 40 40 40 40 40 40...".   AGH!

I forced a disk scan
 touch /forcefsck
 echo -n '-c' /fsckoptions
and it all checked out OK.  Boots fine from a floppy.  Worked great
until
the upgrade.  Tried several re-installs and even modified my lilo.conf
file to force lilo to rewrite the mbr.  No luck.  Any ideas?

--- John

fdisk outout:
Disk /dev/ide/host0/bus0/target0/lun0/disc: 16 heads, 63 sectors, 33420
cylinders

device boot start end blocks id system
/dev/ide/host0/bus0/target0/lun0/part1 * 1 260 131008+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/part2 261 33420 16712640 5 Extended
/dev/ide/host0/bus0/target0/lun0/part5 261 780 262048+ 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part6 781 6875 3071848+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/part7 6876 33420 13378648+ 83 Linux

Disk  /dev/ide/host0/bus0/target0/lun0/disc: 16 heads, 63 sectors, 38792

cylinders Units = cylinders 0f 1008 * 512 bytes

Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 1 38792 19551136+ 83 Linux

Lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
lba32
prompt
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz
label=linux
root=/dev/hda6
initrd=/boot/initrd.img
append=" devfs=mount"
read-only

image=/boot/vmlinuz
label=failsafe
root=/dev/hda6
initrd=/boot/initrd.img
append=" devfs=mount failsafe"
read-only

other=/dev/fd0
label=floppy
unsafe

 
 
 

Lilo spits "L 40 40 40 40"...

Post by Eric Moor » Wed, 12 Dec 2001 16:18:50


Quote:> I upgraded from RH6.2 to Mandrake 8.1 and now the system will only boot
> from a floppy.  "L 40 40 40 40 40 40 40...".   AGH!

</snip/>

Quote:> and it all checked out OK.  Boots fine from a floppy.  Worked great
> until
> the upgrade.  Tried several re-installs and even modified my lilo.conf
> file to force lilo to rewrite the mbr.  No luck.  Any ideas?

What do you mean?
If you need to rewrite the bootsector, just run `/sbin/lilo -v`.
Period. Don't expect things to happen automagically! that's bound to fail.

Eric

 
 
 

Lilo spits "L 40 40 40 40"...

Post by John Fitzpatric » Thu, 13 Dec 2001 04:19:03


I have rewritten the boot sector with /sbin/lilo -v.  I just wanted to point
out that I had modified my configuration to ensure Lilo actually wrote the
sector (I'd heard that it did a comparison before doing the write).

I tried to uninstall/reinstall Lilo:
    dd if=/boot/boot.0300 of=/dev/hda bs=446 count=1
    shutdown & boot from floppy
    lilo -v
    L 40 40 40 40 40 40 40 40...AGH!

--- John


> > I upgraded from RH6.2 to Mandrake 8.1 and now the system will only boot
> > from a floppy.  "L 40 40 40 40 40 40 40...".   AGH!

> </snip/>

> > and it all checked out OK.  Boots fine from a floppy.  Worked great
> > until
> > the upgrade.  Tried several re-installs and even modified my lilo.conf
> > file to force lilo to rewrite the mbr.  No luck.  Any ideas?

> What do you mean?
> If you need to rewrite the bootsector, just run `/sbin/lilo -v`.
> Period. Don't expect things to happen automagically! that's bound to fail.

> Eric

 
 
 

Lilo spits "L 40 40 40 40"...

Post by John Fitzpatric » Thu, 13 Dec 2001 10:13:13


I re-installed RH6.2 and it works like a charm.  Must be something with the
version of Lilo that ships with Mandrake 8.1

> I have rewritten the boot sector with /sbin/lilo -v.  I just wanted to point
> out that I had modified my configuration to ensure Lilo actually wrote the
> sector (I'd heard that it did a comparison before doing the write).

> I tried to uninstall/reinstall Lilo:
>     dd if=/boot/boot.0300 of=/dev/hda bs=446 count=1
>     shutdown & boot from floppy
>     lilo -v
>     L 40 40 40 40 40 40 40 40...AGH!

> --- John


> > > I upgraded from RH6.2 to Mandrake 8.1 and now the system will only boot
> > > from a floppy.  "L 40 40 40 40 40 40 40...".   AGH!

> > </snip/>

> > > and it all checked out OK.  Boots fine from a floppy.  Worked great
> > > until
> > > the upgrade.  Tried several re-installs and even modified my lilo.conf
> > > file to force lilo to rewrite the mbr.  No luck.  Any ideas?

> > What do you mean?
> > If you need to rewrite the bootsector, just run `/sbin/lilo -v`.
> > Period. Don't expect things to happen automagically! that's bound to fail.

> > Eric

 
 
 

1. Lilo "L 40 40 40 40 40 40..."

Greetings,

I have set up a Linux From Scratch system on a 1.2Gb Maxtor hard drive. It
works fine on my two Athlon systems, but when I put the drive in my Pentium
100, the system results in "L 40 40 40 40 40 40..." before showing the Lilo
menu.

My Lilo.conf contains the "lba32" entry which should mean this would work,
but it doesn't.

Any ideas?

Regards,
Jon

2. Secure user authentication for NFS using RPCSEC_GSS [0/6]

3. LILO saying "L 40 40 40 40 40 40..."

4. building libc-5.2.18

5. Linux LILO Booting L 40 40 40...

6. all sick plates measure Susanne, and they eventually open Atiqullah too

7. AMD 386/40 + ULSI 387/40 crashes intermittantly

8. Solaris 2.6 PAM assistance - restricting direct login access

9. Option "AutoRepeat" "300 40"

10. segmentation fault with 1.3.40, nmbd 1.2.13-1.3.40

11. HP 4MP cannot got "40 ERROR" using serial.