Date: Mon, 15 Mar 1999 00:26:24 +0200 (SAT) From: Robert Nordier <rnordier@nordier.com> To: rdmurphy@vt.edu Cc: questions@freebsd.org Subject: Re: boot manager Message-ID: <199903142226.AAA10784@ceia.nordier.com> In-Reply-To: <14060.10333.316932.546759@neale.econ.vt.edu> from "Russell D. Murphy" at "Mar 14, 99 04:28:54 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Russell D. Murphy wrote: > Thanks for the reply. I tried the fix (used fixit option on 2nd > CD-ROM and used your binaries); the command I used was: > > ./boot0cfg -Bv -b ./boot0 -d 0x80 -f /root/mbr0.bak \ > -o setdrv /root/dev/rwd0 > > (the hard drive / partition was mounted as /root). This generated: > > # flag start chs type end chs offset size > 1 0x80 0: 1:1 0x06 914: 15:63 63 922257 > 2 0x80 915: 0:1 0xa5 1023: 15:63 922320 109872 > 3 0x80 1023: 255:63 0xa5 1023: 15:63 1032192 6975360 > > and after rebooting, I get the menu: > > F1 DOS > F2 FreeBSD > F3 FreeBSD > > but I cannot get any further. > > Do you have any further ideas? As slice 3 is above cylinder 1023, F3 shouldn't work, but the other two should. Does F1 get you to Windows? If not, I'd suspect your BIOS may be using a different geometry than 16 heads, 63 sectors. If just F2 doesn't work, the problem may be the FreeBSD boot code is not installed correctly. To try correcting that, do the equivalent of a disklabel -B -b /boot/boot1 -s /boot/boot2 ${DRIVE} (making any adjustments needed on account of the fixit option). If that doesn't have any effect, send me the output of the following commands and I'll take a look: fdisk ${DRIVE} disklabel ${DRIVE} dd if=/dev/r${DRIVE} count=1 dd if=/dev/r${DRIVE}${SLICE} count=17 (In the first dd command, we need the first sector of the disk; in the second, we need the first seventeen sectors of the FreeBSD slice that contains the / partition.) -- Robert Nordier 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?199903142226.AAA10784>