[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] making a boot disk
- Subject: [ale] making a boot disk
- From: vaidhy at loonys.net (Vaidhyanathan Mayilrangam)
- Date: Tue, 22 Aug 2000 14:39:30 -0400
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.