Easiest solution: dd.
- Plug both usb's in your computer. Allow them to mount.
- Ensure you know which one is which. I ran df -H and could tell the 1GB (source) was /dev/sdb1 and the 2GB (destination) was/dev/sdc1
- Dismount the disks (from command line, umount /dev/sdb1 && umount /dev/sdc1)
- Duplicate the disks block for block: dd if=/dev/sdb of=/dev/sdc
- **Important** After the dd command has completed, pull the usb sticks out and put the destination back in. This allows for the new fat table to be re-read.
- Using gparted (sudo apt-get install gparted) resize the 1GB partition to the full disk size.
No comments:
Post a Comment