How to duplicate a USB drive to a larger one?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
dietpi_user

How to duplicate a USB drive to a larger one?

Post by dietpi_user »

I have setup dietpi to use usb drive for most data. That was a 16GB drive. Now I bought 128GB drive that would better suit my needs, capacity wise. Is there an easy way to copy partition over and then expand to use all 128 or so GB (vs 16GB on the original drive)?

I mean, I could reinstall from the beginning, yet I made number of changes that would be a pain to re-do. If there is an easy way to move the partition and expand it, it would be my choice.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: How to duplicate a USB drive to a larger one?

Post by johnvick »

I used this guide to achieve a similar aim:

http://dietpi.com/phpbb/viewtopic.php?f ... 1720#p1720
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: How to duplicate a USB drive to a larger one?

Post by k-plan »

Hi,
dietpi_user wrote:I have setup dietpi to use usb drive for most data.
do you use DietPi-Software | User Data to do this?

If so, can you please paste output of:

Code: Select all

root@RPi:~# df -h
in here?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
Post Reply