It is currently Mon Dec 10, 2018 7:22 am

All times are UTC - 8 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu May 08, 2008 2:08 am 

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
I have made an updated image for g4u.
See my post at

Reply with quote  
 Post subject:
PostPosted: Sat May 10, 2008 6:09 am 

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1359
I have earlier received a script from R Hannes Beinert that merges the g4u floppy images, so I will be using his method for UBCD V5.


I've attached the script I use to make g4u bootable images. To use it, you need to obtain the archive of floppy images. Then invoke the script with the floppy images in proper order, so this would work: ./mkg4u *.fs

The script unwraps the floppy images (a ustarfs) to obtain the tar archive, from which it extracts the boot & netbsd files. This would be more easily achieved from the g4u-x.y.iso image, with the exception that the script also snags the ustarfs bootloader in the first 8k of the first floppy.

Then, the boot & netbsd files are re-tarred along with a special zero-length metafilename which gives the bootloader the volume size of the new image. Finally, the bootloader is prepended to the tar, and the entire file is padded to one of the magic image sizes that memdisk is looking for.

The script works with the older g4u-2.3 distro, as well as the new g4u-2.4alpha2 -- they are two, and three floppies respectively. The script is currently limited to "ED" floppies of 3840k. This limitation is inherited from memdisk. Once the distro gets large enough -- eg, as large as 3 *full* floppies (1440*3 = 4320k) -- it will need to be retooled to create HD images, as per the memdisk documentation.

Hope this is useful.


Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours

Who is online

Users browsing this forum: No registered users and 11 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group