From owner-freebsd-questions Sat Oct 9 3:41:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.ihug.co.nz (tk2.ihug.co.nz [203.29.160.14]) by hub.freebsd.org (Postfix) with ESMTP id 661F114DAD for ; Sat, 9 Oct 1999 03:41:17 -0700 (PDT) (envelope-from wheely@ihug.co.nz) Received: from nicole (p17-max11.wlg.ihug.co.nz [209.78.48.17]) by smtp2.ihug.co.nz (8.9.3/8.9.3/Debian/GNU) with SMTP id XAA29679 for ; Sat, 9 Oct 1999 23:41:14 +1300 From: "wheely" To: "FreeBSD Questions Mailing List" Subject: Bootstrap/Label problems Date: Sat, 9 Oct 1999 23:40:11 +1300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have freshly installed 3.3-RELEASE on wd0 from FTP (and moved 2.2.8-STABLE to wd1). I choose to install Boot Manager while in sysinstall so until I am happy with 3.3, I can boot 2.2.8. When I try to boot the system, I now get "Disk Error 0x1" and then it trys to boot the kernel, resulting in "System Halted" after a few debugging symbols have printed on the console. I partitioned wd0 in compatability mode. To confirm this I booted 2.2.8 (which works fine fortunately) and got the following output: disklabel -r wd0 # /dev/rwd0c: type: ESDI disk: wd0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 128 sectors/cylinder: 8064 cylinders: 780 sectors/unit: 6297921 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: 102400 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 12*) b: 262144 102400 swap # (Cyl. 12*- 45*) c: 6297921 0 unused 0 0 # (Cyl. 0 - 780*) e: 163840 364544 4.2BSD 1024 8192 16 # (Cyl. 45*- 65*) f: 1228800 528384 4.2BSD 1024 8192 16 # (Cyl. 65*- 217*) g: 4540737 1757184 4.2BSD 1024 8192 16 # (Cyl. 217*- 780*) The above looks ok to me. Next i checked to see if I had an active partition fdisk wd0 ******* Working on device /dev/rwd0 ******* parameters extracted from in-core disklabel are: cylinders=781 heads=128 sectors/track=63 (8064 blks/cyl) parameters to be used for BIOS calculations are: cylinders=781 heads=128 sectors/track=63 (8064 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 6297921 (3075 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 780/ sector 63/ head 127 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Ok, so I don't have an active partition, so I set partition 1 to be active using fdisk and rebooted, still no go. (When I went back into 2.2.8 I found the partition was no longer active!) Ok, so now I tryed doing the same using the 3.3 floppies, that didn't work either - again it had reset itself Incidently the above fdisk output was radically different using the floppies. disklabel only showed one "C" partition. As a last resort I tryed to "disklabel -r wd0" in the fixit shell. I got "bad pack magic number". I tryed the same from 2.2.8, no problem (except that the 2.2.8 bootstrap is different to 3.3 ofcourse so it falls over in bootup). "disklabel -r -w wd0 auto" doesn't work either. I can mount the wd0 drives ok in 2.2.8, however I get "Invalid Format" if I try and boot the 3.3 kernel from the 2.2.8 disk. Anyone got some ideas on how to fix this? I am running out of things to try. Thanks in advance wheely To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message