2003-07-20 23:43:23

by Michael Schierl

[permalink] [raw]
Subject: 2.6.0-test1 and LILO problem: "Device 0x0300: Invalid partition table, 1st entry"

Hi,

(sorry if i am wrong here; could in that case someone tell me the
right place to report this?)

I installed 2.6.0-test1 kernel on my acer laptop. Seems to run quite
well (even APM works now), but when I try to rerun LILO (when I
recompiled the kernel), it does not work on 2.6.0-test1 kernel:

---
LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27

Reading boot sector from /dev/hda2
Merging with /boot/boot-menu.b
Boot image: /vmlinuz -> boot/vmlinuz
Added Linux

[...]

Boot image: /boot/vmlinuz-2.4
Added Linux2.4

Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
Device 0x0300: Invalid partition table, 1st entry
3D address: 1/1/261 (263151)
Linear address: 1/12/4159 (4193028)
---

hda1 is a fat32 partition w/ windows on it.

When I boot 2.4.20, i can rewrite LILO w/o errors.

looking at /proc/ide/hda/geometry reveals on 2.4.20:

---
physical 19485/16/63
logical 1222/255/63
---

on 2.6.0-test1:

---
physical 19485/16/63
logical 19485/16/63
---

/proc/partitions is in both cases:

---
major minor #blocks name

3 0 9820440 hda
3 1 7719201 hda1
3 2 1992028 hda2
3 3 104422 hda3
---

Michael


2003-07-21 00:27:55

by Andries Brouwer

[permalink] [raw]
Subject: Re: 2.6.0-test1 and LILO problem: "Device 0x0300: Invalid partition table, 1st entry"

On Mon, Jul 21, 2003 at 01:57:53AM +0200, Michael Schierl wrote:

> I installed 2.6.0-test1 kernel on my acer laptop. Seems to run quite
> well (even APM works now), but when I try to rerun LILO (when I
> recompiled the kernel), it does not work on 2.6.0-test1 kernel:
>
> ---
> LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
> Development beyond version 21 Copyright (C) 1999-2001 John Coffman
> Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
...
> Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
> Device 0x0300: Invalid partition table, 1st entry
> 3D address: 1/1/261 (263151)
> Linear address: 1/12/4159 (4193028)
...
> looking at /proc/ide/hda/geometry reveals on 2.4.20:
>
> ---
> physical 19485/16/63
> logical 1222/255/63
> ---
>
> on 2.6.0-test1:
>
> ---
> physical 19485/16/63
> logical 19485/16/63
> ---

I think the easiest answer is: get a more recent LILO.
(And make sure to use linear or lba32 or so.)

2003-07-21 20:28:57

by Michael Schierl

[permalink] [raw]
Subject: Re: 2.6.0-test1 and LILO problem: "Device 0x0300: Invalid partition table, 1st entry"

On Mon, 21 Jul 2003 02:50:06 +0200, in linux.kernel you wrote:
>On Mon, Jul 21, 2003 at 01:57:53AM +0200, Michael Schierl wrote:
>
>> LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
>> Development beyond version 21 Copyright (C) 1999-2001 John Coffman
>> Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
>...
>> Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
>> Device 0x0300: Invalid partition table, 1st entry
>> 3D address: 1/1/261 (263151)
>> Linear address: 1/12/4159 (4193028)
>
>I think the easiest answer is: get a more recent LILO.

Thanks. That helped.

>(And make sure to use linear or lba32 or so.)

lba32 was active before as well.

Michael
--
"New" PGP Key! User ID: Michael Schierl <[email protected]>
Key ID: 0x58B48CDD Size: 2048 Created: 26.03.2002
Fingerprint: 68CE B807 E315 D14B 7461 5539 C90F 7CC8
http://home.arcor.de/mschierlm/mschierlm.asc