# Move dietpi install to larger SD card.

**URL:** https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010
**Category:** General Discussion
**Created:** [21 February 2021 00:52 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010 "2021-02-21T00:52:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![lightsout](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@lightsout](https://dietpi.com/forum/u/lightsout)
#### Post date: [21 February 2021 00:52 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010/1 "2021-02-21T00:52:06Z")

</div>

> I have dietpi setup on a 32gb card and want to upgrade to 256.\
> 
> I see people saying to use windisk imager to make an image of the disk. But windows sees the drive as two partitions, so when I go to create the image I can only select e or f.
> 
> I am using an Odroid Xu4. Curious if this could be accomplished by putting the new sd card in an sd card reader and putting it into the usb slot on the odroid it through dietpi. I don’t want to move the userdata but replace the original sd card entirely.
> 
> Or should I just back up dietpi, burn a clean image on the new card and then restore the backup to the new card?

Edit: I guess it is good to try things first, didn’t have all my stuff so didn’t fully go through with it. Even though I could only select one partition looks like it flashed properly. Didn’t get a chance to boot yet but looks promising.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 February 2021 07:41 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010/2 "2021-02-21T07:41:19Z")

</div>

Hi,

Usually it should work as described on this tutorial.

[https://dietpi.com/forum/t/raspberrypi4-rpi4-upgrading-from-existing-sd-card-setup-to-boot-from-ssd/4555/1](https://dietpi.com/forum/t/raspberrypi4-rpi4-upgrading-from-existing-sd-card-setup-to-boot-from-ssd/4555/1)

---

<div class="post-metadata">

### Author: ![lightsout](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@lightsout](https://dietpi.com/forum/u/lightsout)
#### Post date: [21 February 2021 13:50 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010/3 "2021-02-21T13:50:53Z")

</div>

> [@](#):
>
> Hi,
> 
> Usually it should work as described on this tutorial.
> 
> [RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD](https://dietpi.com/forum/t/raspberrypi4-rpi4-upgrading-from-existing-sd-card-setup-to-boot-from-ssd/4555/1)

I saw that. But like I said above win32 disk imager (and windows itself sees the two partitions on the drive and you can only make an image of one. Unless it just appears that way but it will do it correctly? In the program I can only select one partition at a time to make the image of.

Also not exactly sure what this means from the guide

> .  
> 3. Copy over the system files:

What system files exactly and to where? Wouldn’t they get formatted on the ssd anyways?

---

<div class="post-metadata">

### Author: ![lightsout](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@lightsout](https://dietpi.com/forum/u/lightsout)
#### Post date: [21 February 2021 15:42 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010/4 "2021-02-21T15:42:28Z")

</div>

edited first post

---

<div class="post-metadata">

### Author: ![Barney](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/48db29/32.png) [@Barney](https://dietpi.com/forum/u/Barney)
#### Post date: [21 February 2021 20:28 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010/5 "2021-02-21T20:28:37Z")

</div>

> [@](#):
>
> Wouldn’t they get formatted on the ssd anyways?

For me it’s not clear, what you really want:

- substitute your 32GB sdcard by a 256 GB sdcard or  
  
  
- substitute your 32GB sdcard by a 256 GB SSD

These are different tasks and need different steps to achieve your goal.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 February 2021 21:11 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010/6 "2021-02-21T21:11:53Z")

</div>

it’s nearly the same. Create an image of your SD card using W32 disk imager and flash the image to the new device.

lightsout  
As far as I remember W32 disk image will create an image of the entire SD

---

<div class="post-metadata">

### Author: ![Barney](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/48db29/32.png) [@Barney](https://dietpi.com/forum/u/Barney)
#### Post date: [23 February 2021 17:47 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010/7 "2021-02-23T17:47:11Z")

</div>

> [@](#):
>
> it’s nearly the same.

That’s wrong.

In the first case you don’t change the boot device, in the second case you change the boot device (going from /dev/mmcX to /dev/sdX). Therefore the second case needs additional steps.

---

<div class="post-metadata">

### Author: ![lightsout](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@lightsout](https://dietpi.com/forum/u/lightsout)
#### Post date: [23 February 2021 18:15 UTC](https://dietpi.com/forum/t/move-dietpi-install-to-larger-sd-card/5010/8 "2021-02-23T18:15:15Z")

</div>

For some reason I couldn’t boot from the image I made of my existing drive. I decided just to start fresh and do a clean install. Only had a couple apps setup. Thanks for the help folks.
