From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 20:18:54 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B677B16A4CE for ; Mon, 7 Jun 2004 20:18:54 +0000 (GMT) Received: from windmill.garlic.com (windmill-en0.garlic.com [208.195.160.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F85943D4C for ; Mon, 7 Jun 2004 20:18:54 +0000 (GMT) (envelope-from nicholas@blasgen.com) Received: from nb (unknown [216.139.17.112]) by windmill.garlic.com (Postfix) with ESMTP id EB41CCDD for ; Mon, 7 Jun 2004 13:18:53 -0700 (PDT) From: "Nicholas Blasgen" To: Date: Mon, 7 Jun 2004 13:18:45 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcRMzKJVbNxGyIPlSGyZNG9xO6zgqg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: <20040607201853.EB41CCDD@windmill.garlic.com> Subject: FreeBSD Boot Issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 20:18:54 -0000 -- BACKGROUND IF YOU CARE -- I reinstalled Windows XP a little while ago and as usual it overwrote the MBR. So I used the 2nd FreeBSD disk to get into fixit mode, mounted my local system's /usr, /boot, and the main files I could think of for /etc. I issued 'boot0cfg -B /dev/ad0' and rebooted. Then I had what I expected to find which was a DOS boot as well as a FreeBSD boot. Except the FreeBSD partition only beeps at me and wont load. So it must not be a bootable partition. Okay, so 2nd attempt. I loaded up the 2nd livesystem freebsd disk again, went into custom install, went into the graphical fdisk (disk allocation is what they call it I guess), made the partition bootable, and used the undocumented 'w' command to write the partition table. Now reboot again. Okay, good. FreeBSD starts to boot. Loads the kernel fine, seems to do everything fine, but comes to some issues where I need to specify the main disk. So I tell it ufs:ad0s4a. Machine boots up in single user mode, I mount all the extra drives it didn't load. Everything seems fine as far as I can tell but the boot wasn't multiuser because of some bad configuration. So I decided to issues the boot0cfg command again and reboot. -- THE REAL QUESTION -- Now I'm back with the FreeBSD block being unbootable. So I know nothing about how /boot/ configurations work. Could someone tell me how to edit files or an application to do so for the files in /boot/ so I can tell boo0cfg that I want FreeBSD (/dev/ad0s4) to be a bootable partition? I think that'd solve everything.