[26595] in Athena Bugs

home help back first fref pref prev next nref lref last post

Subtle logic error in installer's analysis of pre-existing

daemon@ATHENA.MIT.EDU (Bill Cattey)
Mon Sep 12 16:35:55 2005

From: Bill Cattey <wdc@mit.edu>
To: amb@mit.edu
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Mon, 12 Sep 2005 16:35:15 -0400
Message-Id: <1126557315.22857.68.camel@tokata.mit.edu>
Mime-Version: 1.0
X-Spam-Score: 1.041
X-Spam-Level: * (1.041)
X-Spam-Flag: NO
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu

It took me a moment to realize that there was a bug here:

Repeat by:

Install Athena, blow Athena away with Windows, but leave the
/boot partition as the first partition on the disk.

Actual behavior:

The installer sees the /boot partition, and rather than realizing
its part of a normal Athena disk, says there's something already there
and asks if you want to boot it.  (I got confused and answered that yes
it should boot this as a windows partition.  I didn't read carefully
which partition it was talking about, and then when it went to ask me
about partition 2 with windows, I got it.)

I restarted the install with manual partitioning, and answered
explicitly that /boot was on sda1.  Then it proceeded as I originally
expected, to ask me about special booting partition 2.

Expected behavior:

Either offer me a way to go back and re-select the grub stuff,
or maybe be a bit smarter about noticing that a tiny linux partition
really wants to be /boot even though it comes discontinuously with the
other Athena-created partitions.

Wierd aspect:

The partition creation code CORRECTLY noticed there was a small /boot
partition and didn't create a second one.  It was just in the "ask for
special grub consideration of a pre-existing partition" that didn't
realize it was gonna be /boot.

-wdc


home help back first fref pref prev next nref lref last post