Jump to content

Cubietruck [NAND] boot partition


Alexey Goncharenko

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by ymf
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines