From owner-freebsd-stable Fri Oct 27 13:25:10 2000 Delivered-To: freebsd-stable@freebsd.org Received: from gatekeeper.veriohosting.com (gatekeeper.veriohosting.com [192.41.0.2]) by hub.freebsd.org (Postfix) with ESMTP id 5D5AA37B4F9; Fri, 27 Oct 2000 13:25:05 -0700 (PDT) Received: by gatekeeper.veriohosting.com; Fri, 27 Oct 2000 14:25:04 -0600 (MDT) Received: from unknown(192.168.1.7) by gatekeeper.veriohosting.com via smap (V3.1.1) id xma002775; Fri, 27 Oct 00 14:24:32 -0600 Received: from vespa.orem.iserver.com (vespa.orem.iserver.com [192.168.1.144]) by orca.orem.veriohosting.com [Verio Web Hosting, Inc. 801.437.0200] (8.8.8) id OAA84224; Fri, 27 Oct 2000 14:24:31 -0600 (MDT) Date: Fri, 27 Oct 2000 14:41:06 -0600 (MDT) From: Fred Clift X-Sender: fred@vespa.orem.iserver.com To: Matt Dillon Cc: Mike Smith , freebsd-stable@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Really odd "BTX halted" problem booting FreeBSD on VALinux hardware In-Reply-To: <200010270914.e9R9E5Y03182@earth.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you do a hexdump on boot0 and the first sector of your disk, you'll see that boot0 has been copied onto your disk, broken partition table and all. If you then run fdisk on the disk and put in the 'right' number of sectors and let it automatically recalculate everything else, you'll get a decent fdisk table back. disklabel -B, in my opinion should either A) leave the partition table alone (even though it's part of the first sector too) or B) look at the freebsd label and automagically calculate what the values should be and put them in (as does fdisk -u when you 'Supply a decimal value for "size"' and dont explicitly calculate anything else, letting it calculate it for you. > > disklabel -B da0 > disklabel -B da1 > > fdisk da0 ... > The data for partition 4 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 0, size 50000 (24 Meg), flag 80 (active) > beg: cyl 0/ sector 1/ head 0; > end: cyl 1023/ sector 63/ head 255 Fred -- Fred Clift - fclift@verio.net -- Remember: If brute force doesn't work, you're just not using enough. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message