If all the empty space is filled with something redundant (like,
zeroes?) then you can use almost any compress program (gzip comes to
mind...) and it will all be compressed out.
If the empty space is filled with random junk, it will depend on just
how "random" the junk is.
Does that help?
Rick
On Jul 22, 2012, at 11:05 AM, Andrei POPESCU wrote:
On Du, 22 iul 12, 17:38:58, Sthu Deus wrote:
Good time of the day, Andrei.
You worte:
Any suggestions?
Why don't You copy Your installation w/ "cp -a" and reconfiguring
then
grub for the copy - to another disk (USB one?). OR I'm missing
something?
The Raspberry Pi can only boot from an SD card and the partition
layout
matters (e.g. /boot needs to be primary, FAT32, bootable and probably
the first partition -- there is no bootloader like grub AFAICT).
# parted -l
Model: SD SD08G (sd/mmc)
Disk /dev/mmcblk0: 7948MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 79,7MB 78,6MB primary fat32 boot
2 79,7MB 336MB 256MB primary linux-swap(v1)
3 336MB 7947MB 7612MB primary ext4
The ext4 partition only holds about 630 MiB of data (Debian base
install
+ SSH server). I want to create an image that I can:
* reuse myself later (just dd to some SD card)
* distribute to possibly not very knowledgeable people
Actually, I already have the image (with GNU ddrescue --sparse), but
it's about 5 times bigger than expected, which makes it difficult to
store and/or distribute :(
Hope this explains,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/f1aabf71-4355-49db-9cfd-9dc093a90...@pobox.com