Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have my modified Lubuntu version installed on VirtualBox and I want to copy the entire root filesystem to flash drive in order to boot it on my physical PC. My flash drive has 1.90GB and the entire sda drive 4.00GB. I shrinked the sda1(/) partition so it's now about 1.89GB (less than flash drive).

I tried to use dd but as you see, it corrupted my flash drive a bit (it was 2.00GB before).

What should I do to copy the partition to another and have working MBR also?

share|improve this question
Can you show the dd invocation you used? Where was the flash drive mounted, and what was it's partition table? –  Danny Staple Oct 21 '12 at 8:10
dd if=/dev/sda1 of=/dev/sdc1 bs=32M; sdc partitions from cfdisk: 2041.58MB & from gparted: 1.90GB unallocated –  czesuaf Oct 21 '12 at 8:11
When you say corrupted - what are the symptoms? –  Danny Staple Oct 21 '12 at 8:27
Even I recreate the partition table, it still says 1.90GB in gparted and 2.00 in cfdisk. –  czesuaf Oct 21 '12 at 8:41
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.