From owner-freebsd-mobile Wed Nov 29 21:24: 7 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from echunga.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id A8D5837B698 for ; Wed, 29 Nov 2000 21:24:00 -0800 (PST) Received: (from grog@localhost) by echunga.lemis.com (8.11.1/8.9.3) id eAU5HEY56507; Thu, 30 Nov 2000 15:47:14 +1030 (CST) (envelope-from grog) Date: Thu, 30 Nov 2000 15:47:14 +1030 From: Greg Lehey To: Peter Wemm Cc: Frank van der Linden , NetBSD-users@NetBSD.org, misc@OpenBSD.org, FreeBSD mobile Mailing List Subject: Re: Problems running NetBSD or OpenBSD on newer IBM laptops? Message-ID: <20001130154714.L54584@echunga.lemis.com> References: <20001129233823.A4620@vaasje.org> <200011300458.eAU4wGD87940@mobile.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200011300458.eAU4wGD87940@mobile.wemm.org>; from peter@netplex.com.au on Wed, Nov 29, 2000 at 08:58:16PM -0800 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wednesday, 29 November 2000 at 20:58:16 -0800, Peter Wemm wrote: > Frank van der Linden wrote: >> On Thu, Nov 30, 2000 at 09:05:55AM +1030, Greg Lehey wrote: >>> In the last couple of days we've been having a discussion in the >>> FreeBSD mobile list about a bug in newer IBM laptops. See >>> http://www.pc.ibm.com/qtechinfo/MIGR-4QHLS4.html for more details. >>> Basically, it seems that the IBM BIOS uses partition type 165 for its >>> own purposes, and goes crazy if it doesn't find what it wants in it: >> >> If type 165 is the problem, then NetBSD will certainly not have that problem, >> since it uses 169 these days. > > I half wonder if we should make FreeBSD recognize a secondary partition type > as well, just in case. For example, our fdisk.c suggests that 168 (0xA8) > and 175 (0xAF) are free.. Maybe one of them? Then we can try using the > alternate on the wretched thinkpads (sysinstall will let the user put in > any partition type they want). Well, in fact I just blew away my laptop with some experiments :-( Here's what I discovered: 1. FreeBSD will happily mount FreeBSD partitions in NetBSD or OpenBSD slices. It's just the boot which silently ignores them and boots from the first FreeBSD partition it finds, and complains if it can't find one. Correct me if I misunderstand, but I think the process is something like this: a. Boot manager prompts: F1: Microsoft F2: FreeBSD F3: OpenBSD F4: NetBSD b. Press F3 or F4. Boot manager goes looking for the boot block on this slice and loads it. c. The boot block goes and looks at the slice, says "nah! That's not FreeBSD", finds slice 2 and boots it. Is this reasonable? In that case, we just need to change the boot. 2. Don't use /stand/sysinstall's partition manager to rewrite the partition type of a partition you care about. It seems to create an empty partition table as well. Use fdisk(8) instead. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message