Date: Fri, 21 Feb 1997 19:29:04 -0500 From: Mike Tancsa <mike@sentex.net> To: questions@freebsd.org Subject: Help with IDE drive... Message-ID: <3.0.1.32.19970221192904.00b14860@sentex.net>
next in thread | raw e-mail | index | archive | help
I have decided to kill my Win95 partition and take it over with FreeBSD. The problem is, is that I am having no end of troubles trying to disklabel it... Here is the fdisk info... I have a working Freebsd slice on partition 1 and I am trying to take over partition 2... It seems to be OK in terms of having the correct ID now... sand# fdisk ******* Working on device /dev/rwd0 ******* parameters extracted from in-core disklabel are: cylinders=826 heads=64 sectors/track=63 (4032 blks/cyl) parameters to be used for BIOS calculations are: cylinders=826 heads=64 sectors/track=63 (4032 blks/cyl) Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 0 is: sysid 6,(Primary 'big' DOS (> 32MB)) start 63, size 84609 (41 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 20/ sector 63/ head 63 The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 84672, size 2044224 (998 Meg), flag 80 beg: cyl 21/ sector 1/ head 0; end: cyl 527/ sector 63/ head 63 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 2128896, size 1197504 (584 Meg), flag 0 beg: cyl 528/ sector 1/ head 0; end: cyl 824/ sector 63/ head 63 The data for partition 3 is: <UNUSED> Disklable shows sand# disklabel wd0s2 # /dev/rwd0c: type: ESDI disk: wd0s2 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 64 sectors/cylinder: 4032 cylinders: 507 sectors/unit: 2044224 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: 81920 0 4.2BSD 0 0 0 # (Cyl. 0 - 20*) b: 98304 143360 swap # (Cyl. 35*- 59*) c: 2044224 0 unused 0 0 # (Cyl. 0 - 506) e: 61440 81920 4.2BSD 0 0 0 # (Cyl. 20*- 35*) f: 1802560 241664 4.2BSD 0 0 0 # (Cyl. 59*- 506*) I have tried following the steps outlined in the faq, but I end up with sand# disklabel wd0s3 disklabel: ioctl DIOCGDINFO: Invalid argument sand# disklabel -r /dev/rwd0s3 Bad pack magic number (label is damaged, or pack is unlabeled) What am I doing wrong ? The drive is an IDE Segate 1.6 meg'r.... Can someone point me to the necessary steps to fix it? Thanks, ---Mike ********************************************************************** Mike Tancsa (mike@sentex.net) * To do is to be -- Nietzsche Sentex Communications Corp, * To be is to do -- Sartre Cambridge, Ontario * Do be do be do -- Sinatre (http://www.sentex.net/~mdtancsa) *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19970221192904.00b14860>