From: Andries Brouwer <aebr@win.tue.nl>
To: Michael Dreher <dreher@math.tu-freiberg.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: hda has changed heads
Date: Thu, 16 Jan 2003 22:21:09 +0100 [thread overview]
Message-ID: <20030116212109.GB22359@win.tue.nl> (raw)
In-Reply-To: <200301162151.34206.dreher@math.tu-freiberg.de>
On Thu, Jan 16, 2003 at 09:51:34PM +0100, Michael Dreher wrote:
> Hello,
>
>
> Am Samstag, 11. Januar 2003 23:16 schrieb Andries Brouwer:
> > On Sat, Jan 11, 2003 at 10:49:11PM +0100, Michael Dreher wrote:
> > > Basically, I dont care about the new number of heads,
> >
> > Right
> >
> > > but now lilo complains like this (it did not complain before):
> >
> > Try giving LILO the keyword linear or lba32.
> > Then it does not need any idea about the geometry at bootloader
> > install time.
>
> I tried, and it does not work.
>
>
> karpfen:/home/dreher # lilo
> Added testing *
> Added linux
> Added failsafe
> Added linux-2.5.56
> Added linux-2.5.54
> Device 0x0300: Invalid partition table, 2nd entry
> 3D address: 1/0/20 (20160)
> Linear address: 1/12/318 (321300)
>
> Contrary to what it prints here, lilo has added nothing.
>
> It should write the boot sector for windows on /dev/hda5, but can not
> do that because it does not understand the partition table anymore.
>
> My box is running 2.5.56 at the moment.
> I wanted to install 2.5.58. But lilo refuses to change the MBR, because
> of the number of changed heads. Even if I start it as lilo -L.
>
>
> My solution is: reboot into 2.5.54. run lilo there. reboot into 2.5.58.
> Repeat for 2.5.59.
>
> This is annoying. Any ideas how to solve this ?
You have not revealed your lilo version.
The above error message does not occur in a recent lilo,
so probably you have some older version. Looking at a
random older source I see
if ((lin_3d > part_table[part].start_sect || (lin_3d <
part_table[part].start_sect && cyl != BIOS_MAX_CYLS-1)) && !nowarn) {
fflush(stdout);
fprintf(stderr,"Device 0x%04X: Invalid partition table, %d%s entry\n",
dev_nr & ~PART_MASK,part+1,!part ? "st" : part == 1 ? "nd" : part ==
2 ? "rd" : "th");
...
if (!cfg_get_flag(cf_options,"fix-table") && !cfg_get_flag(cf_options,
"ignore-table")) exit(1);
So, there is a warning here that is fatal unless nowarn or ignore-table is set.
The nowarn is set by the lilo -w option.
So, try giving lilo the -w flag. Or upgrade to a more recent lilo.
Andries
next prev parent reply other threads:[~2003-01-16 21:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-11 21:49 Michael Dreher
2003-01-11 22:16 ` Andries Brouwer
2003-01-12 15:10 ` Michael Dreher
2003-01-16 20:51 ` Michael Dreher
2003-01-16 21:08 ` Michael Dreher
2003-01-16 21:21 ` Andries Brouwer [this message]
2003-01-16 21:49 ` hda has changed heads [solved] Michael Dreher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030116212109.GB22359@win.tue.nl \
--to=aebr@win.tue.nl \
--cc=dreher@math.tu-freiberg.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®