Subject: installboot fails
To: None <port-i386@netbsd.org>
From: None <netbsd@bortal.de>
List: port-i386
Date: 08/17/2004 16:00:26
Hello!
I am trying to get netbsd 1.6.2 running with a soekris compact flash disk.
I am a total newbie, but i am trying my best :)

I was told that i need to leave 63 Sector offset for the bootloader,
otherwise the installation of installboot would fail. So here is what i
did:

netbsd# disklabel -i -I wd0
partition> a
Filesystem type [?] [4.2BSD]: unused
Start offset [0.53125c, 68s, 0.0332031M]:
Partition size ('$' for all remaining) [976.469c, 124988s, 61.0293M]: $
 a:    124988        68     unused   1024  8192         # (Cyl.    0*- 976)

partition> P
16 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:    124988        68     unused   1024  8192         # (Cyl.    0*- 976)
 d:    125056         0     unused      0     0         # (Cyl.    0 - 976)
 h:    125024        32     unused      0     0         # (Cyl.    0*- 976)

partition> a
Filesystem type [?] [unused]: 4.2BSD
Start offset [0.53125c, 68s, 0.0332031M]: 63
Partition size ('$' for all remaining) [976.469c, 124988s, 61.0293M]: $
 a:    124993        63     4.2BSD   1024  8192   488   # (Cyl.    0*- 976)

partition> P
16 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:    124993        63     4.2BSD   1024  8192   488   # (Cyl.    0*- 976)
 d:    125056         0     unused      0     0         # (Cyl.    0 - 976)
 h:    125024        32     unused      0     0         # (Cyl.    0*- 976)

partition> W
Label disk [n]? y
Erase the previous contents of the disk? [n]: y
Label written

partition> Q

netbsd# newfs /dev/rwd0a
Warning: inode blocks/cyl group (88) >= data blocks (4) in last
    cylinder group. This implies 64 sector(s) cannot be allocated.
/dev/rwd0a:     124928 sectors in 976 cylinders of 4 tracks, 32 sectors
        61.0MB in 2 cyl groups (488 c/g, 30.50MB/g, 5120 i/g)
super-block backups (for fsck -b #) at:
    32, 62528,

[REBOOT]

netbsd# installboot -v /dev/rwd0a /usr/mdec/biosboot_com0.sym
File system:         /dev/rwd0a
File system type:    ffs (blocksize 8192, needswap 0)
Primary bootstrap:   /usr/mdec/biosboot_com0.sym
installboot: i386: bootstrap installation is not supported
installboot: Set bootstrap operation failed


biosboot.sym fails, too.
Any ideas why installboot is still failing?
Do i need to specify C,H,S?

Thanks, Mario