[ale] making a boot disk

Ken Nagorski kenn at pcintelligent.com
Tue Aug 22 15:33:10 EDT 2000


well I tried it with /dev/ram0 and it works great. 

But thanks Ken

On Tue, 22 Aug 2000, Vaidhyanathan Mayilrangam wrote:

> That is because dd is going to read the whole partition.. it does not 
> differentiate between data and zeros.. It is easier to use gzip -r on a mounted
> system to achieve what you need..
> 
> Regards,
> Vaidhy
> 
> On Tue, Aug 22, 2000 at 02:46:35PM -0400, Ken Nagorski wrote:
> > Hi,
> > 
> > 	I am following the Linux bootdisk howto to the letter, however I
> > thoguht I missed something but I still have the same prblem, I do a
> > dd if=/dev/zero of=DEVICE bs=1k count=4096 to zero out the device,
> > then mke2fs -m 0 -i 2000 DEVICE to make the filesystem, then when I
> > transfer my boot disk stuff there, unmout it and then I issue this command
> > dd if=DEVICE bs=1k | gzip -v9 > rootfs.gz (in all cases DEVICE is
> > /dev/sda1) it always makes a zip file the size of the filesystem. 
> > 
> > 	Anyone know how to avoid this? I just want it the size of the
> > files on the filesystem.
> > 
> > Thanks
> > Ken
> > 
> > --
> > To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> 

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list