Alexey Goncharenko Posted December 15, 2017 Posted December 15, 2017 Hi, I have Cubieboard with armbian. ARMBIAN 5.36 user-built Ubuntu 16.04.3 LTS 3.4.113-sun7i # apt-get upgrade Setting up linux-firmware (1.157.14) ... ln: failed to create hard link '/boot/initrd.img-3.4.113-sun7i.dpkg-bak' => '/boot/initrd.img-3.4.113-sun7i': Operation not permitted update-initramfs: Generating /boot/initrd.img-3.4.113-sun7i gzip: stdout: No space left on device root@cubietruck:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/nand1 32M 24M 8.6M 74% /boot Can you advise me something to solve this issue? Thank you.
Klaus Posted January 27, 2018 Posted January 27, 2018 Hi Alexey, my problem ist quiet the same... On my Cubietruck I boot from nand-Bootpartition witch is like yours 32M and 98% full. Rootpartition is on SD. I also got the "No space left on device" - message after an apt-get upgrade...:-( I was looking around for some advice to change the size of the boot-partition but didn´t find anything. There are 8G Nandflash on Cubietruck and just 32M used - I thought, there must be a way to increase the size of the /boot... ...hope to get an answer here... (please excuse my english - it ist a little bit rusty) Klaus
Igor Posted January 27, 2018 Posted January 27, 2018 Early versions of or nand-install script had this value too low (32M) ... but it's doubled since some time. You must have been using some very old build:https://github.com/armbian/build/blob/master/packages/bsp/common/usr/sbin/nand-sata-install#L333 I am not sure you can change this on the fly.
Klaus Posted January 28, 2018 Posted January 28, 2018 Hi Igor, thanks for your fast reply! But now my problem is grown up a little... I rebootet and the system didn´t start up again. Fortunatly I still had the SD-card from where I booted before using the nand-install. Now, because acting with nand is a bit tricky for a newbie like me - is it possible, to boot from SD and use the rootfs on SSD by editing the boot.cmd and compiling it like posted from you in I have openhab2 installed on rootfs and it worked great since yesterday - I don´t want to set it all up again. thanks in advance Klaus
Klaus Posted January 29, 2018 Posted January 29, 2018 Hi Igor, I boldly tried to change the boot.cmd, the armbianEnv.txt and finaly etc/fstab - and it worked. I now use the mmc-card to boot und the rootfs from /deb/sda1. Thanks for guidance! Klaus
ymf Posted August 2, 2018 Posted August 2, 2018 (edited) On 12/15/2017 at 4:08 PM, Alexey Goncharenko said: Hi, I have Cubieboard with armbian. ARMBIAN 5.36 user-built Ubuntu 16.04.3 LTS 3.4.113-sun7i # apt-get upgrade Setting up linux-firmware (1.157.14) ... ln: failed to create hard link '/boot/initrd.img-3.4.113-sun7i.dpkg-bak' => '/boot/initrd.img-3.4.113-sun7i': Operation not permitted update-initramfs: Generating /boot/initrd.img-3.4.113-sun7i gzip: stdout: No space left on device root@cubietruck:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/nand1 32M 24M 8.6M 74% /boot Can you advise me something to solve this issue? Thank you. Hi! I've got the same problem and my solution was: # umount /boot # ls -lh /boot ... returned empty folder result ... # mount /dev/nand1 /mnt # cp -rp /mnt/* /boot # nano /etc/fstab ... comment string #/dev/nand1 /boot vfat defaults 0 0 # reboot ... then # apt update # apt upgrade Regards, Yuri Edited August 2, 2018 by ymf
Recommended Posts