From owner-freebsd-mobile Fri Dec 22 12:18:11 2000 From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 22 12:18:05 2000 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by hub.freebsd.org (Postfix) with ESMTP id A52B637B400; Fri, 22 Dec 2000 12:18:05 -0800 (PST) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id MAA16704; Fri, 22 Dec 2000 12:18:06 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.1/8.11.1) id eBMKI5E45367; Fri, 22 Dec 2000 12:18:05 -0800 (PST) (envelope-from bmah) Message-Id: <200012222018.eBMKI5E45367@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Nik Clayton Cc: "Bruce A. Mah" , John Van Sickle , freebsd-mobile@FreeBSD.ORG Subject: Re: Thinkpad Partition Problem Solved? In-Reply-To: <20001222112445.A84939@canyon.nothing-going-on.org> References: <002001c06b69$278a7f60$d84c0f18@evansv1.in.home.com> <200012211849.eBLIngE35110@bmah-freebsd-0.cisco.com> <20001222112445.A84939@canyon.nothing-going-on.org> Comments: In-reply-to Nik Clayton message dated "Fri, 22 Dec 2000 11:24:45 +0000." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_969930484P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 22 Dec 2000 12:18:05 -0800 Sender: bmah@cisco.com Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_969930484P Content-Type: text/plain; charset=us-ascii If memory serves me right, Nik Clayton wrote: > Attached is a FAQ patch. Comments? Cool! Wish I'd thought of this idea; the "F" has certainly been true for me the last couple of weeks. :-) Comments on the text in-line... [snip] > Index: book.sgml > =================================================================== > RCS file: /home/ncvs/doc/en_US.ISO_8859-1/books/faq/book.sgml,v > retrieving revision 1.129 > diff -u -r1.129 book.sgml > --- book.sgml 2000/12/05 13:18:16 1.129 > +++ book.sgml 2000/12/22 11:24:17 > @@ -2399,6 +2399,75 @@ > In my addled mental state, I read this as . :-p > > + > + I have an IBM Thinkpad A20p that FreeBSD installs on, but then > + the machine locks up on next boot. How can I solve this? > + 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. There's two problems to be solved here. The first is to get the machine past its self-test screen. The second is to get FreeBSD installed in a way that can boot. The text I wrote gets the reader through the second problem, but there's still the first part to deal with. OK, how about something like this: > + > + > + It seems as though IBM decided to use partition ID 165 for > + their suspend-to-disk partition. This is the same ID FreeBSD > + uses, and after installing FreeBSD the BIOS refuses to boot. First, you'll need to to restore the machine to a state where it can get through its self-test screen. Doing this requires powering up the machine up without letting it find a FreeBSD partition on its primary disk. One way is to remove the hard disk and temporarily move it to an older ThinkPad (such as a ThinkPad 600) or a desktop PC with an appropriate conversion cable. Once it's there, you can delete the FreeBSD partition and move the hard disk back. The ThinkPad should now be in a bootable state again. With the machine functional again, you can use the workaround procedure described here to get a working FreeBSD installation. Essentially, you will perform an install of FreeBSD, change the partition ID that FreeBSD uses, and install new blocks that can handle the different partition ID. > + > + > + Download boot1 and > + boot2 from + url="http://people.freebsd.org/~bmah/ThinkPad/">http://peo > ple.freebsd.org/~bmah/ThinkPad/. > + Put these files somewhere you will be able to retrieve them > + later. > + > + > + > + Install FreeBSD as normal on to the ThinkPad. > + Do not use Dangerously > + Dedicated mode. Do not > + reboot when the install has finished. > + > + > + > + Either switch to the Emergency Holographic > + Shell (ALT > + F4) or start a > + fixit shell. > + > + > + > + Use &man.fdisk.8; to change the FreeBSD partition ID from > + 165 to 166 (this is the > + type used by OpenBSD). > + > + > + > + Bring the boot1 and > + boot2 files to the local > + filesystem. > + > + > + > + Use &man.disklabel.8; to write boot1 > + and boot2 to your FreeBSD slice. > + > + &prompt.root; disklabel -B -b boot1 -s boot2 a > d0 > + One correction. First, we don't write to the disk itself, we need to write to the slice. Second, we unfortunately don't know what exact slice the user needs to use (since we can't clairvoyantly see their partition table. So: Use &man.disklabel.8; to write boot1 and boot2 to your FreeBSD slice. &prompt.root; disklabel -B -b boot1 -s boot2 ad0sn n is the number of the slice where you installed FreeBSD. > + > + > + Reboot. At the boot prompt you will be given the option > + of booting OpenBSD. This will actually > + boot FreeBSD. > + > + > + > + Getting this to work in the case where you want to dual boot > + OpenBSD and FreeBSD on the same laptop is left as an exercise for > + the reader. > + > + > + > + > > Does FreeBSD support JAZ, EZ and other removable > drives? Nice job of mark-up BTW. I think I learned a couple of things reading this. Thanks! Bruce. --==_Exmh_969930484P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6Q7b82MoxcVugUsMRAtChAJ9NvCnQvbPQQicYW9CRWqvhwWFK0gCfa8RL wV2pXEM86/IW+wkw4JMHrnI= =wS6K -----END PGP SIGNATURE----- --==_Exmh_969930484P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message