From owner-freebsd-mobile Thu Dec 21 10:49:50 2000 From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 21 10:49:47 2000 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by hub.freebsd.org (Postfix) with ESMTP id 44E3437B400 for ; Thu, 21 Dec 2000 10:49:43 -0800 (PST) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-1.cisco.com (8.9.3/8.9.1) with ESMTP id KAA09733; Thu, 21 Dec 2000 10:49:52 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.1/8.11.1) id eBLIngE35110; Thu, 21 Dec 2000 10:49:42 -0800 (PST) (envelope-from bmah) Message-Id: <200012211849.eBLIngE35110@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: "John Van Sickle" Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Thinkpad Partition Problem Solved? In-Reply-To: <002001c06b69$278a7f60$d84c0f18@evansv1.in.home.com> References: <002001c06b69$278a7f60$d84c0f18@evansv1.in.home.com> Comments: In-reply-to "John Van Sickle" message dated "Thu, 21 Dec 2000 10:14:54 -0600." 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_-251349390P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 21 Dec 2000 10:49:42 -0800 Sender: bmah@cisco.com Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_-251349390P Content-Type: text/plain; charset=us-ascii If memory serves me right, "John Van Sickle" wrote: > I own one of the dreaded Thinkpad's (A20p) that won't boot after installing > FreeBSD due to IBM's use of partition id 165 (A5) for suspend to disk. I was > told that someone on this mailing list was able to install FreeBSD on their > Thinkpad by using OpenBSD's partition id instead of using FreeBSD's > partition id. Could someone explain to me how to do that? Pretty please : ) > Or if there's another work around let me know. Thanks in advance! That was me, I guess. Here's some rough instructions for doing this (note there isn't anything magic about OpenBSD's partition ID): 1. Go to http://people.freebsd.org/~bmah/ThinkPad/ and grab the boot1 and boot2 files. Put them where you'll be able to retrieve them later (it might be sufficient just to note where they are, if network connectivity in the middle of your install is an option, so you may not really need to do anything here). 2. If you need to, make space for a FreeBSD slice (I used Parititon Magic, YMMV). 3. Do an install of FreeBSD using sysinstall and whatever media you have available. Make sure to *not* use dangerously dedicated mode, but just install to a normal slice. 4. Without shutting the machine down, start either an emergency holographic shell or a fixit shell. 5. Use fdisk(8) to change the type of your FreeBSD slice from 165 to 166 (this is the type for OpenBSD). The location may vary depending on what you did in #4 above. You can probably find it on the slice where you just did the install, and it may very well be in root's $PATH. 6. Do whatever you need to do to bring boot1 and boot2 from step #1 to your local filesystem; this might include setting up the network or mounting a removable medium. 7. Use disklabel(8) to write boot1 and boot2 to your FreeBSD slice (see the manpage for disklabel and look at the -B option). 8. Reboot, you're done. From this point on, boot0 will give you the choice of booting what it thinks is OpenBSD. If you select that, you'll start the FreeBSD boot sequence. Hope this helps...good luck! Bruce. --==_Exmh_-251349390P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6QlDG2MoxcVugUsMRAlvhAKDUVDXG2XJxK9pkuKhsXT/r14SnBACdHEdU Mlgz8zs3KxxcnVYYMQ2Frh8= =YZOd -----END PGP SIGNATURE----- --==_Exmh_-251349390P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message