Date: Tue, 23 Oct 2001 16:30:14 +0100 (BST) From: Michael Grant <mg-fbsd2@grant.org> To: freebsd-questions@freebsd.org Subject: reinstalling boot loader Message-ID: <200110231530.QAA14705@splat.grant.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110231530.QAA14705>