Question about Linux USB flash drive cloning
by prophet001 from LinuxQuestions.org on (#6KAEQ)
Hello. I was wondering if someone could help with a question about cloning a USB drive with Linux on it. We have a drive that is 4GB and has 3 partitions on it with ext2 file systems in them. The drive is used for loading the OS for a commercial machine.
We bought a Startech USB cloner/duplicator with the intent of cloning the drive to another 4GB drive however the sizes aren't the same. The source is 3920MB and the destination is 3782MB so the duplicator won't start the clone.
I don't know much about Linux. Is there a way to create these 3 partitions manually and resize/shrink the last partition to make it fit? Then we would copy the contents of each partition and make the drive bootable? Is this something that can be done?
I have some knowledge of doing this in diskpart and using windows tools like bcdedit to set the boot configuration but I don't know anything about how Linux does these things.
Thank you for any help you can give.
We bought a Startech USB cloner/duplicator with the intent of cloning the drive to another 4GB drive however the sizes aren't the same. The source is 3920MB and the destination is 3782MB so the duplicator won't start the clone.
I don't know much about Linux. Is there a way to create these 3 partitions manually and resize/shrink the last partition to make it fit? Then we would copy the contents of each partition and make the drive bootable? Is this something that can be done?
I have some knowledge of doing this in diskpart and using windows tools like bcdedit to set the boot configuration but I don't know anything about how Linux does these things.
Thank you for any help you can give.