Hi, I have a 256MB compact flash drive. diskinfo -v shows the following:
When I run the tinybsd install script, it asks me the following questions and I have entered the following:
Tinybsd compiles successfully but at the end I notice the following error
When I commit the tinybsd.bin using the command:
Can anyone explain if I have the right sector values while building tinybsd or is it a problem with how I'm preparing the compact flash? I used the following steps to prepare the compact flash:
Any help is much appreciated!
Code:
/dev/ada1
512 # sectorsize
257949696 # mediasize in bytes (246M)
503808 # mediasize in sectors
0 # stripesize
0 # stripeoffset
984 # Cylinders according to firmware.
16 # Heads according to firmware.
32 # Sectors according to firmware.
When I run the tinybsd install script, it asks me the following questions and I have entered the following:
Code:
512 byte sectors per unit? [503808]
Tracks per cylinder? [16]
Sectors per track? [32]
Tinybsd compiles successfully but at the end I notice the following error
Code:
fdisk: invalid fdisk partition table found
Code:
/dev/md4
512 # sectorsize
257949696 # mediasize in bytes (246M)
503808 # mediasize in sectors
0 # stripesize
0 # stripeoffset
984 # Cylinders according to firmware.
16 # Heads according to firmware.
32 # Sectors according to firmware.
fdisk: invalid fdisk partition table found
******* Working on device /dev/md4 *******
******* Working on device /dev/md4 *******
parameters extracted from in-core disklabel are:
cylinders=984 heads=16 sectors/track=32 (512 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=984 heads=16 sectors/track=32 (512 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 (0xa5),(FreeBSD/NetBSD/386BSD)
start 32, size 503776 (245 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 983/ head 15/ sector 32
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
When I commit the tinybsd.bin using the command:
dd if=tinybsd.bin of=/dev/ada1s1a
and reboot selecting compact flash a primary boot device, the bootloader doesn't even load the kernel and constantly reboots.Can anyone explain if I have the right sector values while building tinybsd or is it a problem with how I'm preparing the compact flash? I used the following steps to prepare the compact flash:
Code:
fdisk -BI ada1
bsdlabel -w -B ada1s1
bsdlabel -e ada1s1 (added 4.2BSD to a partition with the editor)
newfs /dev/ada1s1a
Any help is much appreciated!