From owner-freebsd-questions Sun Feb 18 17:10:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id A85E737B4EC for ; Sun, 18 Feb 2001 17:10:36 -0800 (PST) Received: from scraemondaemon.mydomain.org (1Cust102.tnt2.buffalo.ny.da.uu.net [63.20.90.102]) by merlin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id RAA03708 for ; Sun, 18 Feb 2001 17:10:34 -0800 (PST) Received: (from ipthomas@localhost) by scraemondaemon.mydomain.org (8.9.3/8.9.3) id DAA00311 for freebsd-questions@freebsd.org; Fri, 1 Jan 1999 03:25:58 -0500 (EST) (envelope-from ipthomas) Date: Fri, 1 Jan 1999 03:25:58 -0500 (EST) From: Ian Patrick Thomas Message-Id: <199901010825.DAA00311@scraemondaemon.mydomain.org> To: freebsd-questions@freebsd.org Subject: can no longer boot 1st drive Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After doing the following boot0cfg -B wd0 boot0cfg -B wd1 I can no longer boot into my first drive using BootEasy. Here is output for how drive 0 is setup cylinders=10767 heads=59 sectors/track=63 (3717 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=10767 heads=59 sectors/track=63 (3717 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 0, size 40021632 (19541 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 58 The drive is a dangerously dedicated drive. wd1 contains just my swap partition located right at the begining, followed by a NetBSD partition taking up the rest of the drive. cylinders=2108 heads=256 sectors/track=63 (16128 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2108 heads=256 sectors/track=63 (16128 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 514017 (250 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 32/ sector 1/ head 0 The data for partition 2 is: sysid 169,(NetBSD) start 519120, size 33485760 (16350 Meg), flag 0 beg: cyl 32/ sector 1/ head 80; end: cyl 1023/ sector 63/ head 255 The last drive doesn't really come into play, it is a dedicated OpenBSD drive. I can boot into the NetBSD partition on wd1 and OpenBSD on wd2, but can no longer boot into FreeBSD on wd0. boot0cfg -v wd0 # flag start chs type end chs offset size 1 0x80 0: 0: 1 0xa5 1023: 58:63 0 40021632 drive=0x80 options=nopacket,update,nosetdrv ticks=182 boot0cfg -v wd1 # flag start chs type end chs offset size 1 0x80 0: 1: 1 0xa5 32: 0: 1 63 514017 2 0x00 32: 80: 1 0xa9 1023:255:63 519120 33485760 drive=0x80 options=nopacket,update,nosetdrv ticks=182 I thought that one was supposed to be 0x80, the other 0x81? On boot up my options look like this... F1 FreeBSD (this is the one I want) F5 Drive 1 I hit F1 and I get the same message... F1 FreeBSD F5 Drive 1 I hit F2 I get... F1 FreeBSD F2 ?? (this is NetBSD and it boots) F5 Drive 2 (this is OpenBSD and it boots) I hit F1 (this is my swap partition) and get... no kernel found then I get... >> FreeBSD/i386 BOOT Default: 0:wd(1,a)/kernel boot: at which point I can enter boot wd(0,a)/kernel and get into drive one. Any suggestions on how to fix this. If more info is needed let me know. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message