User Tools

  • (equal to forum credentials)

Site Tools


installation_usb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

installation_usb [2014/07/02 02:32]
xbianfan [Procedure for Cubox-i]
installation_usb [2015/10/18 19:19] (current)
abdulmueid Added troubleshooting for external devices with long spin up times on boot.
Line 18: Line 18:
 <​code>​ <​code>​
 root@pi:~# sudo -i root@pi:~# sudo -i
-root@pi:~# blkid -s UUID -o value /dev/root+root@pi:~# blkid -s UUID -o value /dev/sda1
 240d84e4-dd44-42df-b31e-fe4f492b5cce 240d84e4-dd44-42df-b31e-fe4f492b5cce
 </​code>​ </​code>​
Line 24: Line 24:
 <​code>​ <​code>​
 root@pi:~# sudo -i root@pi:~# sudo -i
-root@pi:~# blkid -s LABEL -o value /dev/root+root@pi:~# blkid -s LABEL -o value /dev/sda1
 xbian-copy xbian-copy
 </​code>​ </​code>​
Line 114: Line 114:
 (It's important that ROOT is written the same way as created, in this case in capital letters!) (It's important that ROOT is written the same way as created, in this case in capital letters!)
 For more informations see: https://​github.com/​xbianonpi/​xbian/​issues/​556 For more informations see: https://​github.com/​xbianonpi/​xbian/​issues/​556
 +
 +==== Troubleshooting ====
 +Some external USB drives such as Seagate Expansion take longer than 10 seconds to spin up on boot, resulting in xbian not identifying the xbian-copy partition in time and results in recovery mode on start up.
 +
 +It is necessary to add appropriate delay in the initramfs script between device initialization and root mounting to resolve this issue.
 +
 +<​code>​
 +xbian@xbian ~ $ sudo nano /​etc/​xbian-initramfs/​init
 +</​code>​
 +
 +Add ''​sleep 10''​ on a new line between ''​up "after modprobe"''​ and ''​INITIALBOOT="​0"''​
 +
 +<​code>​
 +...
 +up "after modprobe"​
 +
 +sleep 10
 +
 +INITIALBOOT="​0"​
 +...
 +</​code>​
 +
 +Adjust the delay from 10 to the appropriate amount needed for your external drive.
 +
 +Now, update the initramfs image:
 +
 +<​code>​
 +xbian@xbian ~ $ sudo xbian-update-initramfs
 +</​code>​
 +
 +The system should now boot from external USB drive properly. The only downside is a few additional seconds wait time during boot up.
installation_usb.1404261151.txt.gz ยท Last modified: 2014/07/02 02:32 by xbianfan