November 12, 20187 yr Hello, please help I moved ARMBIAN 5.60 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i from 2Gb SD to 16Gb and cant do resize i tried everthing from others topics but it does not work anymore! (i need 3.4.113 for acpid) I put this scipt into /etc/init.d but it does not work sudo sh ./resize2fs start [....] Starting resize2fs (via systemctl): resize2fs.serviceJob for resize2fs.service failed. See 'systemctl status resize2fs.service' and 'journalctl -xn' for details. failed!
November 12, 20187 yr normally (when moving manually from a small to a bigger sdcard) İ do the following: fdisk /dev/myospartition d for delete the partition n for new primary partition set size to 95% of the max sector/cluster set partition type to 83 linux (leave ext4 marker intact = dont delete) set boot flag for partition w for write and exit (os will use the old partition data until reboot) reboot After reboot at commandline: resize2fs /dev/myospartition
November 12, 20187 yr Author Thank you but its to complicated(for me), but i just resized it in Gparted(on pc with Ubuntu) and it works! I wish to have some script for that in Armbian (like in Lubuntu) Welcome to ARMBIAN 5.60 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i System load: 1.00 0.28 0.09 Up time: 0 min Memory usage: 7 % of 1000MB IP: 192.168.1.229 CPU temp: 30°C Usage of /: 9% of 14G [ General system configuration (beta): armbian-config ] Last login: Mon Nov 12 20:16:45 2018 from 192.168.1.214 root@orangepipcplus:~# resize2fs /dev/mmcblk0p1 resize2fs 1.42.12 (29-Aug-2014) The filesystem is already 3711232 (4k) blocks long. Nothing to do!
January 5, 20197 yr I have the same problem I cannot resize the fs to the larger SD card neither the command update-rc.d firstrun defaults works, it returns update-rc.d: error: unable to read /etc/init.d/firstrun nor the above mentioned resite2fs, it retirnes the above mentioned "Nothing to do!" Thanks for any help Rainer
February 6, 20197 yr Solution It's easy and works for all the Orange Pi and pc run the following script enter the exact text below in a terminal (as root) # /etc/init.d/resize2fs start wait 1 minute reboot login and again as root: # /etc/init.d/resize2fs start and check with: # fdisk -l Than you will see the partition has the size of the whole sd card I did it already with a bunch of systems, not hundreds but 40-50... hans f4vsj
September 2, 20206 yr to force partition resize at reboot: sudo systemctl enable armbian-resize-filesystem sudo reboot
December 16, 20223 yr I wish there could be tool in armbian-config to resize partion(s) on SD card and other disk like raspberry pi config tool has.
December 16, 20223 yr 3 hours ago, Whoo said: I wish there could be tool in armbian-config to resize partion(s) on SD card and other disk like raspberry pi config tool has. Armbian is more advanced then Rpi OS. It resizes SD card automatic on 1st boot.
December 16, 20223 yr sudo wget https://raw.githubusercontent.com/canonical/cloud-utils/main/bin/growpart -P /usr/local/bin/ sudo chmod +x /usr/local/bin/growpart # assuming we are resizing an ext4 partition "/dev/mmcblk1p1": sudo growpart /dev/mmcblk1 1 sudo resize2fs /dev/mmcblk1p1
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.