Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Dec 2002 12:47:12 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   CF Geometry issues
Message-ID:  <5.2.0.9.0.20021201124119.04f16660@192.168.0.12>

next in thread | raw e-mail | index | archive | help
I am trying to format a CF disk

port 2 addr 2: power 100 mA, config 1, eUSB CompactFlash Adapter(0x000a), 
SCM Microsystems Inc.(0x04e6), rev 2.18
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <eUSB Compact Flash > Removable Direct Access SCSI-2 device
da0: 650KB/s transfers
da0: 61MB (125440 512 byte sectors: 64H 32S/T 61C)

I can fdisk and disklabel it no problem, but I can never seem to make it 
bootable.

fdisk da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=490 heads=16 sectors/track=16 (256 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=490 heads=16 sectors/track=16 (256 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 16, size 2032 (0 Meg), flag 80 (active)
         beg: cyl 0/ head 1/ sector 1;
         end: cyl 7/ head 15/ sector 16
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
     start 2048, size 123392 (60 Meg), flag 80 (active)
         beg: cyl 8/ head 0/ sector 1;
         end: cyl 489/ head 15/ sector 16
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

reading through the archives it seems a lot of people run into this issue, 
but I have not found the solution.  People talk of "faking" the geometry, 
but I am not sure other than through trial and error how to find the 
"right" geometry in order to allow me to boot from it.  The end goal being 
popping the CF into a Soekris box.

Thanks for any pointers,

	---Mike
--------------------------------------------------------------------
Mike Tancsa,                          	          tel +1 519 651 3400
Sentex Communications,     			  mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada			  www.sentex.net/mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.0.20021201124119.04f16660>