I came up with a very similar solution independently (although I chose a
"reserved" partition number). You may also wish to (I did) patch boot0 for
the cosmetic fix. It is possible to rescue a 165'd [ATX] series thinkpad
by booting an install floppy without an installed HD and hot-inserting the
HD before the kernel loads - allowing you to change the partition number
(have a fixit.flp or live CD handy). This is probably not very good for
the HD, but it works.

There's not reason why sysinstall can't come with a tool to change the
recognised partition number, is there? Apart from being pig-ugly nasty and
implying another line in make.conf and patches to anything using
disklabel.h or hardcoding values. Architecturally revolting.
/usr/src/sys/boot/thinkpad/, anyone? :)

Joshua

On Sun, 24 Dec 2000, Michael C . Wu wrote:

> On Sun, Dec 24, 2000 at 06:16:22PM +0000, Nik Clayton scribbled:
> | x-posting to -hackers
> | 
> | On Fri, Dec 22, 2000 at 12:18:05PM -0800, Bruce A. Mah wrote:
> | > >        <qandaentry>
> | > > +       <question id="boot-on-thinkpad">
> | > > +         <para>I have an IBM Thinkpad A20p that FreeBSD installs on, but then
> | > > +           the machine locks up on next boot. How can I solve this?</para>
> | > > +       </question>
> | > 
> | > I'd start with "I have an IBM ThinkPad in the A, T, or X series...".  My
> | > wonderful (actually it *is*, now that this problem's solved) T20 crapped 
> | > out to start this off.
> | 
> | Is there any way we can detect this at boot time, or sysinstall time?  It
> | would be nice to throw up a 
> | 
> |                                   WARNING
> | 
> |    You are attempting to install on an IBM ThinkPad A, T, or X series
> |    machine.
> | 
> |    A BIOS bug makes it likely that FreeBSD's default install will leave
> |    your computer in an unbootable state.
> | 
> |    Unless you have read and are planning to follow the instructions at
> |    http://www.FreeBSD.org/faq/... you should exit this install
> |    immediately.
> 
> I do not think that is possible, since the machine is seen as a 
> normal PC like everything else.  Unless you wish to somehow
> have sysinstall look at the BIOS version....ew..





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to