Subject: Re: Custom floppy - vnconfig...
To: Florian Stoehr <flo@wolfnode.de>
From: David Laight <david@l8s.co.uk>
List: tech-install
Date: 09/22/2003 23:10:02
> Hi,
> 
> I tried to mount a boot floppy image with vnconfig.
> 
> But:
> 
> root@server [/sys/bootimages] # vnconfig -c vnd0 boot1.fs
> root@server [/sys/bootimages] # mount /dev/vnd0a /mnt
> mount_ffs: /dev/vnd0a on /mnt: incorrect super block
> root@server [/sys/bootimages] #
> 
> Are those disks a "raw" format? How to bring my custom install kernel (VLB
> board...) to that disk OR create my own one?

They are 'ustarfs' - ie a filesystem that is actually a tar archive.

To create one you need to:
1) build a kernel with space for a ramdisk
2) build the ramdisk
3) copy the ramdisk into the kernel
4) make the floppy image

I'd look at what 'make snapshot' does when run in src/etc...

	David

-- 
David Laight: david@l8s.co.uk