On Tuesday 05 Feb 2002 21:06, Pixel wrote:
> Peter Ruskin <[EMAIL PROTECTED]> writes:
>
> [...]
>
> > > Esp. is it working with "disk=/dev/hde bios=0x80"?
> >
> > With "disk=/dev/hde bios=0x80" I just see "LI" on boot.
>
>   \item[\raw{LI}] The first stage boot loader was able to load the
> second stage boot loader, but has failed to execute it. This can either
> be caused by a geometry mismatch or by moving \path{/boot/boot.b}
> without running the map installer.
>
> > With "disk=/dev/hde bios=0x80" commented out I get a screenful of
> > "40"s
>
>   \item[\raw{L \meta{error} $\ldots$}] The first stage boot loader has
> been loaded and started, but it can't load the second stage boot
> loader. The two-digit error codes indicate the type of problem. (See
> also section \ref{bioserr}.) This condition usually indicates a media
> failure or a geometry mismatch (e.g. bad disk parameters, see section
> \ref{diskgeo}).
>
>   \item[\raw{0x40}] ``Seek failure''. This might be a media problem.
> Try booting again.
>
> i really don't know, try with:
>
> disk=/dev/hde bios=0x80
> disk=/dev/hdf bios=0x81
> disk=/dev/hdg bios=0x82
> disk=/dev/hgh bios=0x83
> disk=/dev/sda bios=0x84

/etc/lilo.conf...
boot=/dev/hdh1
map=/boot/map
install=/boot/boot.b
vga=791
default=linux
keytable=/boot/uk.klt
lba32
prompt
timeout=100
disk=/dev/hde bios=0x80
disk=/dev/hdf bios=0x81
disk=/dev/hdg bios=0x82
disk=/dev/hdh bios=0x83
disk=/dev/sda bios=0x84
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
        label=linux
        root=/dev/hdh5
        initrd=/boot/initrd.img
        append="devfs=mount mem=nopentium"
        read-only
image=/boot/vmlinuz
        label=failsafe
        root=/dev/hdh5
        initrd=/boot/initrd.img
        append="failsafe devfs=mount mem=nopentium"
        read-only
other=/dev/hde1
        label=windows
        table=/dev/hde
        map-drive=0x80
           to=0x81
        map-drive=0x81
           to=0x80
other=/dev/fd0
        label=floppy
        unsafe

[root@penguin root]# /sbin/lilo -v3
LILO version 22.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 31-Oct-2001 and compiled at 18:00:50 on Jan 30 2002.
MAX_IMAGES = 27

raid_setup returns offset = 00000000
Reading boot sector from /dev/hdh1
Warning: /dev/hdh1 is not on the first disk
Invalidating cache entry for /dev/hda (0x0300)
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2240: BIOS drive 0x83, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 0 sectors.
Merging with /boot/boot.b
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2241: BIOS drive 0x83, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 63 sectors.
Secondary loader: 14 sectors.
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2241: BIOS drive 0x83, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 63 sectors.
Mapping message file /boot/message
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2241: BIOS drive 0x83, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 63 sectors.
Message: 1 sector.
Boot image: /boot/vmlinuz
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2241: BIOS drive 0x83, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 63 sectors.
Setup length is 10 sectors.
Mapped 1722 sectors.
Mapping RAM disk /boot/initrd.img
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2241: BIOS drive 0x83, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 63 sectors.
RAM disk: 394 sectors.
Added linux *
    <dev=0xe3,hd=0,cyl=78,sct=130>
    "ro root=2245 devfs=mount mem=nopentium"

Boot image: /boot/vmlinuz
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2241: BIOS drive 0x83, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 63 sectors.
Setup length is 10 sectors.
Mapped 1722 sectors.
Mapping RAM disk /boot/initrd.img
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2241: BIOS drive 0x83, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 63 sectors.
RAM disk: 394 sectors.
Added failsafe
    <dev=0xe3,hd=0,cyl=78,sct=156>
    "ro root=2245 failsafe devfs=mount mem=nopentium"

  Mapping BIOS drive 0x80 to 0x81
  Mapping BIOS drive 0x81 to 0x80
Boot other: /dev/hde1, on /dev/hde, loader /boot/chain.b
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2101: BIOS drive 0x80, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 63 sectors.
Created temporary device /tmp/dev.0 (0x0300)
Removed temporary device /tmp/dev.0 (0x0300)
Device 0x2100: BIOS drive 0x80, 255 heads, 4982 cylinders,
               63 sectors. Partition offset: 0 sectors.
Mapped 6 (4+1+1) sectors.
Added windows
    <dev=0xe3,hd=0,cyl=78,sct=183>

Name: /dev/fd0  yields MBR: (NULL)  (with primary partition check)
Boot other: /dev/fd0, loader /boot/chain.b
Device 0x0200: BIOS drive 0x00, no geometry.
Pseudo partition start: 0
Mapped 6 (4+1+1) sectors.
Added floppy
    <dev=0xe3,hd=0,cyl=78,sct=189>

/boot/boot.2241 exists - no backup copy made.
Map file size: 34816 bytes.
Writing boot sector.

BINGO!!  That worked.  It's very strange -- I've never had to do anything 
like that before.  I did lilo -v5 but couldn't record the results because 
I ran out of history -- I'll have to increase that.

Thanks, Pixel.
-- 
Peter Ruskin, Wrexham, Wales.  AMD Athlon XP 1600+, 512MB RAM.
Registered Linux User 219434.  Mandrake Linux release 8.1 (Vitamin) 
Kernel 2.4.8-34.1mdk-win4lin,  XFree86 4.1.0, patch level 21mdk.
KDE: 2.2.2.  Qt: 2.3.2.  Up 1 hour 5 minutes.

Reply via email to