From owner-freebsd-questions Tue Oct 23 8:30:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grant.org (grant.org [206.190.164.98]) by hub.freebsd.org (Postfix) with ESMTP id E8D6437B401 for ; Tue, 23 Oct 2001 08:30:20 -0700 (PDT) Received: from splat.grant.org (mgrant@host213-122-32-40.btinternet.com [213.122.32.40]) by grant.org (8.11.6/8.11.6) with ESMTP id f9NFUIR07722 for ; Tue, 23 Oct 2001 11:30:19 -0400 (EDT) (envelope-from mgrant@splat.grant.org) Received: (from mgrant@localhost) by splat.grant.org (8.9.3+Sun/8.9.1) id QAA14705; Tue, 23 Oct 2001 16:30:14 +0100 (BST) Date: Tue, 23 Oct 2001 16:30:14 +0100 (BST) Message-Id: <200110231530.QAA14705@splat.grant.org> From: Michael Grant To: freebsd-questions@freebsd.org Subject: reinstalling boot loader Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Somehow I managed to mung my bootloader. I'm not quite sure what exactly I did, but just after I did it, I got the classic message: disk boot failure, insert system disk and press enter not found any [active partition] in hdd I managed to boot the backup drive and fooled with fdisk and set the active partition again. After multiple tries, we managed to get it to boot into the boot prompt. It was then loading 0:da(0,a)/kernel which failed. Then the guy working with me tried loading 1:da(0,a)/kernel and it booted. But it doesn't want to boot unassisted anymore. Can I use "disklabel -B" to fix things? There appear to be two ways to run this command, "disklabel -B da0" and "disklabel -B da0s1", depending on whether I am running "dangerously dedicated". How can I find out if I'm running that way or not? I am using the entire disk for FreeBSD. My partitions look like this: disklabel -r da0 # /dev/da0c: type: SCSI disk: da0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 2230 sectors/unit: 35840952 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 86016 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 5*) b: 1048576 86016 swap # (Cyl. 5*- 70*) c: 35840952 0 unused 0 0 # (Cyl. 0 - 2230*) e: 4505600 1134592 4.2BSD 1024 8192 16 # (Cyl. 70*- 351*) f: 28672000 5640192 4.2BSD 1024 8192 16 # (Cyl. 351*- 2135*) g: 1528760 34312192 4.2BSD 1024 8192 16 # (Cyl. 2135*- 2230*) Is the fact that I'm using "da0s1" prove that I'm not running "dangerously dedicated"? Thanks. -Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message