jwarder Posted July 22, 2015 Posted July 22, 2015 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
Igor Posted July 22, 2015 Posted July 22, 2015 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 3
RBM Posted February 21, 2016 Posted February 21, 2016 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. 1
sle118 Posted September 13, 2016 Posted September 13, 2016 Igor, you made another happy person today. I expanded my partition to 128Gb, no fuss, no issue, thanks to these easy instructions. 1
Recommended Posts