Altering ramdisk_size does not automatically increase increase the 
size of the root partition ram.  This is also governed by the size of the 
minix filesystem that is created.

At about line 40 in buildit.s there is:
dd -q --retry-partial if=/dev/zero of=$RD bs=1k count=$RZ
mkfs.minix -i $RI $RD $RZ >$NU

Prior to this Tom has calculated the size of the filesystem and the 
number of inodes required to accommodate tomsrtbt with a slender 
margin to allow a few extra directories and files to be added.  buildit.s 
then populates this filesystem and compresses it ready for transfer to 
the last sectors on the floppy image.

If you want a 8M root partition, then prior to these lines, add:
RZ=8192
RI=1000
This redefines the size of final filesystem and number of inodes 
respectively (I am guessing at the number of inodes needed).

As the unused part of the filesystem has been set to zeroes they will 
bzip2 very efficiently resulting in a file not too greater than Tom's 
original.  With a bit of luck it should still fit on the 1.722M floppy, 
otherwise you will have to jettison modules not likely to be needed.

Later in buildit.s where the lilo.conf 'file' is 'dynamically' created you 
need to add ramdisk_size=8192 or whatever inside the 'append=' 
quotes.

Have fun.



Reply via email to