Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Minor glitch with nand-sata-install.sh (Armbian 4.5 on cubietruck)

Featured Replies

Dear all,

 

I copied Armbian 4.5 (on cubietruck with kernel 4.3.3) from SD to SSD using the script "nand-sata-install.sh". The resulting system with /boot from SD and rootfs on SSD works fine.

 

However, the "Welcome to Armbian" message generated upon login contains the error message "df: cannot access ‘/dev/sda1’: over-mounted by another device" (see below). It seems to be related to mounting /boot from SD.

 

Do you have any suggestions how to get rid of the "df: cannot access" message ?

 

 ____      _     _      _                   _    

 / ___|   _| |__ (_) ___| |_ _ __ _   _  ___| | __
| |  | | | | '_ \| |/ _ \ __| '__| | | |/ __| |/ /
| |__| |_| | |_) | |  __/ |_| |  | |_| | (__|   < 
 \____\__,_|_.__/|_|\___|\__|_|   \__,_|\___|_|\_\
                                                  
Welcome to ARMBIAN (Debian jessie 4.3.3-sunxi)
 
Last login: Fri Jan  1 11:23:42 2016 from mac.
df: cannot access ‘/dev/sda1’: over-mounted by another device
 
Load: 0.01, 0.13, 0.10 - Board: 38.7°C - Drive: sensor - Memory: 1779Mb
 
 

 

 

  • Author

Dear Igor,

 

thank you for the hint - I have fixed it by changing line 73 in /etc/bash.bashrc.custom to :

 

73 -             HDDFREE=$(df -h /dev/sda1 | grep sda | awk '{ print " / " $(NF-2)}')

73 +            HDDFREE=$(df -h / | grep root | awk '{ print " / " $(NF-2)}')

 

Cheers, 

lupus

  • Author

The output of df - at least with kernel 4.3.3 - does not specify /dev/sda anymore but /dev/root instead (see below) - so we do not have to guess which partition is root. 

 

root@cubie:~/.ssh# df

Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root      240233144 26174912 201831972  12% /
devtmpfs         1023604        0   1023604   0% /dev
tmpfs             131072      216    130856   1% /run
tmpfs               5120        4      5116   1% /run/lock
tmpfs             131072        0    131072   0% /run/shm
tmpfs             262144        0    262144   0% /tmp
/dev/mmcblk0p1  15097128  5333436   9114316  37% /boot
ramlog-tmpfs      262144     3644    258500   2% /var/log
root@cubie:~/.ssh# 
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.