[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ks cdrom:



[snip]
> 
> mount -o loop boot-aic7xxx.img boot
> zcat boot/initrd.img > initrd.img
> mount -o loop initrd.img initrd
> cp loader.fixed initrd/sbin/loader
> umount initrd
> gzip -9 initrd.img
> mv initrd.img.gz boot/initrd.img
> 
> df here shows that I have 3.5K left, which means that it uses 15.5K, which
> you don't have enough room on your original boot.img.  You could try filling
> up the images and then erasing it:
> 
> cat /dev/zero > initrd/zerofile
> rm initrd/zerofile
you may need to:
sync
after the cat /dev/zero > initrd/zerofile
but before the rm initrd/zerofile.
Otherwise the empty data may not be written to the disk before it is removed.

Chuck





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]