Hi,
Firstly, I created a 50MB image using:
dd if=/dev/zero of=./disk.img bs=1MiB count=48
Then I formatted it using:
mkfs.ufs ./disk.img
This worked correctly as stated by the output of:
raphaelsc@debian:~/Desktop/FFS$ file disk.img
disk.img: Unix Fast File system [v2] (little-endian) las
number of cylinder groups 4, block size 16384, fragment
, minimum percentage of free blocks 8, TIME optimization
However, I don't know how to create a partition in the disk image. I tried to use fdisk to create the partition, but it seems not to be correct.
I already compiled my kernel with the required options:
CONFIG_UFS_FS_WRITE and CONFIG_UFS_FS
What should I do to create a UFS (FFS) partition with boot flag set on?
Regards,
Raphael S.C