[flashboot] Getting flashboot to boot properly
Boudewijn Ector
lists at boudewijnector.nl
Fri May 18 20:46:58 EST 2007
> flashboot produces ramdisk kernels, not disk images. You need to
> fdisk+disklabel+newfs the CF, install the boot loader, and copy the
> kernel to the filesystem.
>
>
Hi Guys,
I've been trying around a bit in order to make the flashboot card boot.
Tried to things on my WRAP board, at first the 256MB image:
(on freeBSD: gunzip -c IMAGE | dd <etc>).
Which resulted in :
Press CTRL-A Z for help on special keys
PC Engines WRAP.1C/1D/1E v1.08
640 KB Base Memory
130048 KB Extended Memory
01F0 Master 045A TRANSCEND
Phys C/H/S 1006/16/63 Log C/H/S 1006/16/63
Using drive 0, partition 3;
No O/S
Now I'm still trying it again on OpenBSD (my box at the office), and
I've done the following things (on a 512MB regular flash stick);
fdisk -i sd0
Disklabeled it:
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 1014048 0 unused 0 0 # Cyl 0
- 495*
> a
partition: [a] a
offset: [32]
size: [1013728]
FS type: [4.2BSD]
> w
Ran newfs on it:
root at foobar ~ # newfs sd0a
Warning: 32 sector(s) in last cylinder unallocated
/dev/rsd0a: 1013728 sectors in 990 cylinders of 32 tracks, 32 sectors
495.0MB in 4 cyl groups (323 c/g, 161.50MB/g, 20608 i/g)
super-block backups (for fsck -b #) at:
32, 330816, 661600, 992384,
Created the bootloader:
root at foobar ~ # /usr/mdec/installboot -v /boot /usr/mdec/biosboot sd0
Mount, and copy the kernel:
root at foobar ~ # mount /dev/sd0a /mnt/
root at foobar ~ # cp WRAP12.large.bsd /mnt/bsd
What am I doing wrong?
More information about the flashboot
mailing list