17th Mar, 2015, 01:55 AM
I successfully used the xbian-copier on the CB and changed the boot.scr.txt to point to sda1. Rebooted and all worked as expected.
However, (This was reported in the CB thread) that when additional USB drives were attached the CB failed to boot.
It seemed that the drive locations change during a reboot - possibly USB hub get's priority over the CB USB port.
Removing all additional USB drives, the CB booted off of the USB boot drive successfully.
So I tried it on the RPI2 with full updates.
NB: **** The Xbian-copier works on copy and image creation (I restored from the img file created)
All went well. Used the Xbian-copier to write to a USB flash drive, changed cmdline.txt to point to sda1 and it booted successfully.
******** THIS IS WHERE IT ALL WENT WRONG **********
I then attached a USB HDD and a USB Flash drive and rebooted.
The boot USB was in the RPi2 (Slot 1 if 1 is top left as looking at the 4 ports) and the others on a USB HUB.
The system seemed to boot with the xbian init screen and then I saw resize, copying root directory and then it hung.
Checking the USB drives, I saw that my USB Flash drive now had xbian files written to it.
It would seem that "somewhere" the kernel is favouring another port as sda1 when additional USB ports are used.
BUT what is more worrying is that XBian started writing files to my USB Flash drive and even began to partition it.
Has anyone managed to get the CB or RPi2 to boot from the USB in the same scenario?
However, (This was reported in the CB thread) that when additional USB drives were attached the CB failed to boot.
It seemed that the drive locations change during a reboot - possibly USB hub get's priority over the CB USB port.
Removing all additional USB drives, the CB booted off of the USB boot drive successfully.
So I tried it on the RPI2 with full updates.
NB: **** The Xbian-copier works on copy and image creation (I restored from the img file created)
All went well. Used the Xbian-copier to write to a USB flash drive, changed cmdline.txt to point to sda1 and it booted successfully.
******** THIS IS WHERE IT ALL WENT WRONG **********
I then attached a USB HDD and a USB Flash drive and rebooted.
The boot USB was in the RPi2 (Slot 1 if 1 is top left as looking at the 4 ports) and the others on a USB HUB.
The system seemed to boot with the xbian init screen and then I saw resize, copying root directory and then it hung.
Checking the USB drives, I saw that my USB Flash drive now had xbian files written to it.
It would seem that "somewhere" the kernel is favouring another port as sda1 when additional USB ports are used.
BUT what is more worrying is that XBian started writing files to my USB Flash drive and even began to partition it.
Has anyone managed to get the CB or RPi2 to boot from the USB in the same scenario?