View Single Post
Old 08-13-2016, 11:11 AM   #19
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by coplate View Post
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




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.
I was referring to the steps at twobob's linked code. I should have established context. Yes, extending from 500 ro 2000, does need it (as I also mentioned).

EDIT: I see now that twobob's code wrapped in my smartphone browser (no code tags) -- I missed the append flag. My comment was moot.
geekmaster is offline   Reply With Quote