• 0

Moving to a larger SD Card


jwarder
 Share

1 1

Question

Hi,

 

I'm using the debian jessie v2.9 image, I've mistakenly used an 8GB SD card and setup my system now, I would like to move this to a larger SD card, I can DD the image to a new card, is there boot scripts that I can force to re-run to resize the partions?

 

Thanks,

Jack

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You can do it this way:

 

First do a copy to larger image, than execute those commands manually to expand to whole space:

fdisk /dev/mmcblk0
d ENTER # delete
1 ENTER # partition 1 which is the only one
n ENTER # create new
p ENTER # primary
ENTER # default number is 1
ENTER # default start
ENTER # default end
w ENTER # write to disk

reboot

# when system gets back

resize2fs /dev/mmcblk0p1
Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

  • 0

Got to love how any question I have is already answered – and most concisely so. 

 

Running a very happy Cubox homeserver now (LEMP, ProFTPd, Samba, Owncloud, Rsync). Thank you for maintaining Armbian while entertaining user questions at the same time – I made a small donation today.

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

1 1