Hi there,

I've been trying for some time to get flashboot (openBSD based) to work, but no success (even after having it posted to their mailing-list). I'm trying to get it to boot on a PC-engines WRAP board (soekris-like stuff0 , using a 6gb microdrive (CF interface) which is written by a i386 openBSD machine. After booting the WRAP board, it says it can't find an OS.


PC Engines WRAP.1C/1D/1E v1.08
640 KB Base Memory
130048 KB Extended Memory

01F0 Master 848A HMS360606D5CF00
Phys C/H/S 11905/16/63 Log C/H/S 747/255/63 LBA
Using drive 0, partition 3;
No O/S




Maybe someone over here might be able to help me, I've done this:

[EMAIL PROTECTED] ~ # fdisk -i sd0
fdisk: sysctl(machdep.bios.diskinfo): Device not configured

     -----------------------------------------------------
     ------ ATTENTION - UPDATING MASTER BOOT RECORD ------
     -----------------------------------------------------

Do you wish to write new MBR and partition table? [n] y
[EMAIL PROTECTED] ~ # fdisk sd0
fdisk: sysctl(machdep.bios.diskinfo): Device not configured
Disk: sd0       geometry: 5859/64/32 [12000556 Sectors]
Offset: 0       Signature: 0xAA55
      Starting       Ending       LBA Info:
#: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
0: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
1: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
*3: A6    0   1  1 - 5858  63 32 [          32:    11999200 ] OpenBSD
[EMAIL PROTECTED] ~ # disklabel sd0
# Inside MBR partition 3: type A6 start 32 size 11999200
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: Card Reader   CF
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 5859
total sectors: 12000556
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
a: 11999200 32 unused 0 0 # Cyl 0*- 5858 c: 12000556 0 unused 0 0 # Cyl 0 - 5859*
[EMAIL PROTECTED] ~ # disklabel -E sd0
# Inside MBR partition 3: type A6 start 32 size 11999200
disklabel: Can't get bios geometry: Device not configured

Treating sectors 32-11999232 as the OpenBSD portion of the disk.
You can use the 'b' command to change this.

Initial label editor (enter '?' for help at any prompt)
p
device: /dev/rsd0c
type: SCSI
disk: SCSI disk
label: Card Reader   CF
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 5859
total sectors: 12000556
free sectors: 11999200
rpm: 3600

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
a: 11999200 32 unused 0 0 # Cyl 0*- 5858 c: 12000556 0 unused 0 0 # Cyl 0 - 5859*
d
partition to delete: [] a
p
device: /dev/rsd0c
type: SCSI
disk: SCSI disk
label: Card Reader   CF
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 5859
total sectors: 12000556
free sectors: 11999200
rpm: 3600

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
c: 12000556 0 unused 0 0 # Cyl 0 - 5859*
a
partition: [a]
offset: [32]
size: [11999200]
FS type: [4.2BSD]
p
device: /dev/rsd0c
type: SCSI
disk: SCSI disk
label: Card Reader   CF
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 5859
total sectors: 12000556
free sectors: 0
rpm: 3600

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
a: 11999200 32 4.2BSD 2048 16384 16 # Cyl 0*- 5858 c: 12000556 0 unused 0 0 # Cyl 0 - 5859*
w
q
No label changes.
[EMAIL PROTECTED] ~ # newfs sd0a
Warning: 32 sector(s) in last cylinder unallocated
/dev/rsd0a: 11999200 sectors in 11718 cylinders of 32 tracks, 32 sectors
     5859.0MB in 37 cyl groups (323 c/g, 161.50MB/g, 20608 i/g)
super-block backups (for fsck -b #) at:
32, 330816, 661600, 992384, 1323168, 1653952, 1984736, 2315520, 2646304,
2977088, 3307872, 3638656, 3969440, 4300224, 4631008, 4961792, 5292576,
5623360, 5954144, 6284928, 6615712, 6946496, 7277280, 7608064, 7938848,
8269632, 8600416, 8931200, 9261984, 9592768, 9923552, 10254336, 10584096,
10914880, 11245664, 11576448, 11907232,

[EMAIL PROTECTED] ~ # mount /dev/sd0a /mnt/
[EMAIL PROTECTED] ~ # cp /usr/mdec/boot  /mnt/boot
[EMAIL PROTECTED] ~ # mkdir /mnt/conf
[EMAIL PROTECTED] ~ # /usr/mdec/installboot -v /mnt/boot  /usr/mdec/biosboot sd0
boot: /mnt/boot
proto: /usr/mdec/biosboot
device: /dev/rsd0c
/usr/mdec/biosboot: entry point 0
proto bootblock size 512
/mnt/boot is 3 blocks x 16384 bytes
fs block shift 2; part offset 32; inode block 24, offset 936
using MBR partition 3: type 166 (0xa6) offset 32 (0x20)
[EMAIL PROTECTED] ~ # cp WRAP12.large.bsd /mnt/bsd
[EMAIL PROTECTED] ~ # umount /bsd

Reply via email to