Quote:
Originally Posted by geekmaster
The following 'resize2fs' also does nothing in this case. It extends a filesystem to fill all the trailing zeroes after appending /dev/zero to an the end of an existing filesystem. It is faster to format a small fs then append zeoes and resize it, than format a large fs, though.
|
The resize2fs doesn't just fill the filesystem with zeroes, it also tells the partition map that the partition is now 2 GB, and that's what we want from it in this case.
Otherwise when we boot from it, the OS will see only 512MB
Quote:
Originally Posted by knc1
... sparse file[s] ...
|
It looks like qemu and debian can use the sparse files, so that would be a nice shortcut for people working on this, if they start with that image.