From owner-freebsd-mobile Wed Nov 20 21:13:46 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FB1737B401 for ; Wed, 20 Nov 2002 21:13:44 -0800 (PST) Received: from CRWdog.demon.co.uk (adsl-66-123-232-98.dsl.sndg02.pacbell.net [66.123.232.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id A720A43E9C for ; Wed, 20 Nov 2002 21:13:41 -0800 (PST) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id 8D7FC27F; Wed, 20 Nov 2002 21:13:38 -0800 (PST) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Andrew Y Ng Cc: mobile@FreeBSD.ORG Subject: Re: Boot stuck at F1 after swapping drives In-Reply-To: Your message of "20 Nov 2002 20:40:21 CST." <1037846421.364.6.camel@aynlaptop.austin.rr.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_828548916P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 20 Nov 2002 21:13:38 -0800 From: Andy Sparrow Message-Id: <20021121051338.8D7FC27F@CRWdog.demon.co.uk> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --==_Exmh_828548916P Content-Type: text/plain; charset=us-ascii > yeah, i have BIOS in AUTO, I was able to boot to the harddrive with a > cdrom by using 0:da(0,a)/kernel, but the harddrive's boot0 booter > couldn't boot it on its own. > > Since I can boot to it, the BIOS should have correct setting for the > drive right? IME, it's entirely possible for FreeBSD to have a bogus idea of the geometry which prevents booting from the drive (the last 5-6 large drives I've set up on machines with old BIOS'es have done this if I don't create an M$DOS partition from M$ FDISK first - you can even delete it in 'sysinstall', it just forces the correct geometry when the disk is read in 'sysinstall', IIUC), but you can load the boot stuff just fine from (e.g.) CD-ROM and then boot the kernel off the drive... I presume that this is because the BIOS can boot the CD, and the CD-loaded boot stuff has the same bogus idea of the geometry, and can then load the kernel However, if you have /ever/ booted FreeBSD directly from this HDD, then this probably isn't what happened (the geometry shouldn't change, and it was valid once). For some reason, some part of the boot stuff got lunched, and you probably just need to re-write it. My firewall box did this once after a power-cycle, I have no idea why. I don't recall what I did to get around this now, it was either disklabel -B da0s1 auto or boot0cfg -d 0x80 or something like that... 'man boot' would be a good place to start. :-) Disclaimer: it's your disk, not mine. Take appropriate precautions, including treating the above advice with some caution (I think I was on 4.4-STABLE when I did the above, but it *was* some time ago)... In particular, if I were in your position, I think I'd be inclined to wait and see if someone chimes in with a response of "NNNNNNOOOOOOOO!!!!!!!!!" to the above advice :-> Cheers, AS --==_Exmh_828548916P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE93GuCPHh895bDXeQRAu/TAJ9lSXA/kUxn8Ld0NJik9ZY0hxHmXwCgvcA5 rFrNDQvEiMVv1VxFqQ3athE= =xaBG -----END PGP SIGNATURE----- --==_Exmh_828548916P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message