Forum

Full Version: Boot XBian from USB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Hello!

I read a lot of things in this topic and I have some questions:
- Assuming that I'm on the beta 2 that I have an unformatted USB key and I already have 2 hard drives connected to the Rpi (either /dev/sdx change with every reboot), how I must do to have a copy of my sd on my usb and be able to boot it (remember that I can not put LABEL = /dev/sdxx device)?

Thank you.
(8th Feb, 2014 10:14 AM)Levi59 Wrote: [ -> ]Hello!

I read a lot of things in this topic and I have some questions:
- Assuming that I'm on the beta 2 that I have an unformatted USB key and I already have 2 hard drives connected to the Rpi (either /dev/sdx change with every reboot), how I must do to have a copy of my sd on my usb and be able to boot it (remember that I can not put LABEL = /dev/sdxx device)?

Thank you.

To be safe unplug the the 2 HDD. Boot the Pi with the USB key in.
Run df -h - you USB key should be /dev/sda1
Run xbian-config clone using /dev/sda1 or whatever it was.
Change /boot/cmdline.txt to that value.
Plug in your HDD and reboot.
All should work as intended.

NB: I tend to keep the USB key in the first salot of the USB HUB and keep it there.
Where is the first slot ? now I have my hub side circuit board, and the key above.
Hallo!

I installed my Xbian to an USB Stick.

When I put it into a Windows PC, it asks me to format the drive or I can't use it.

I took a look at a partition manager and this came out... Strange, because it's an 8GB USB Stick Undecided

Is this file system normal!?
(9th Feb, 2014 09:00 PM)alfaromeo Wrote: [ -> ]Hallo!

I installed my Xbian to an USB Stick.

When I put it into a Windows PC, it asks me to format the drive or I can't use it.

I took a look at a partition manager and this came out... Strange, because it's an 8GB USB Stick Undecided

Is this file system normal!?
That is correct - the USB is formatted to BTRFS which windoze does not recognise.

(9th Feb, 2014 06:30 AM)Levi59 Wrote: [ -> ]Where is the first slot ? now I have my hub side circuit board, and the key above.

The first slot is usually the one nearest the outlet lead.
(9th Feb, 2014 11:07 PM)IriDium Wrote: [ -> ]
(9th Feb, 2014 09:00 PM)alfaromeo Wrote: [ -> ]Hallo!

I installed my Xbian to an USB Stick.

When I put it into a Windows PC, it asks me to format the drive or I can't use it.

I took a look at a partition manager and this came out... Strange, because it's an 8GB USB Stick Undecided

Is this file system normal!?
That is correct - the USB is formatted to BTRFS which windoze does not recognise.

All right, cool Smile
Is there a way to access the files from a Windows PC? I don't have a Linux PC...
(10th Feb, 2014 03:57 AM)alfaromeo Wrote: [ -> ]ght, cool Smile
Is there a way to access the files from a Windows PC? I don't have a Linux PC...
Why would you want to?

There are supposed utilities that can read btrfs but I have never used any of them
(10th Feb, 2014 04:16 AM)IriDium Wrote: [ -> ]
(10th Feb, 2014 03:57 AM)alfaromeo Wrote: [ -> ]ght, cool Smile
Is there a way to access the files from a Windows PC? I don't have a Linux PC...
Why would you want to?

There are supposed utilities that can read btrfs but I have never used any of them

I'd like to manually backup some files.
With filezilla I can see most of the files, but e.g. not the database-files in .xbmc/.....
I hoped, if I can access the Stick from a PC I can also access these files
Why not just go on network share on your windows (when xbian is running),
and databases are on .xbmc/userdata/Database.

Belese
Finally after couple long hours i got my usb system working on second pi. Always hangs on network start screen,after replace btrfs-auto-snapshot start working on /dev/sda1. It's wierd coz on my first pi everthing works fine w/o touching anything. I must say last update was absolutely crap, no needed in my opinion, backup still not working creating 0b file.
Fresh install - full upgrade (16-02-2014) - worked as expected.

Used ssh xbian-config to clone the files to a freshly formatted 8G USB flash. No errors reported. Changed cmdline.txt to /dev/sda1 - rebooted.

1) Stuck on "Starting Network". Removed ethernet cable rebooted.
2) Now placed to a rescue shell. Logged on. Ran ssh xbian-config (Error about /usr/lib being read only)
3) Tried to upgrade again, error packages outof date using local copy.
4) sudo start xbmc - Stuck on starting XBMC.

So there seems to an issue with "New" copies to the USB as my main machine has been upgraded, and that is on USB and that all works.

This may also be related to other issues about R/O system.

However. if I install, copy/clone to USB and THEN UPGRADE, everything seems to work.
ok another problem, on my second pi everything is fine on first one i have:
Terminal
#sudo apt-get update
Err http://mirrordirector.raspbian.org wheezy Release.gpg
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://xbian.brantje.com stable Release.gpg
Something wicked happened resolving 'xbian.brantje.com:http' (-5 - No address associated with hostname)
Ign http://mirrordirector.raspbian.org wheezy Release
Ign http://xbian.brantje.com stable Release
5% [Connecting to mirrordirector.raspbian.org] [Connecting to xbian.brantje.com]
and hangs, any ideas ?

P.S Ok sorted out, It seems its a DNS resolve problem..
(17th Feb, 2014 10:20 PM)pit79 Wrote: [ -> ]ok another problem, on my second pi everything is fine on first one i have:
Terminal
#sudo apt-get update
Err http://mirrordirector.raspbian.org wheezy Release.gpg
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://xbian.brantje.com stable Release.gpg
Something wicked happened resolving 'xbian.brantje.com:http' (-5 - No address associated with hostname)
Ign http://mirrordirector.raspbian.org wheezy Release
Ign http://xbian.brantje.com stable Release
5% [Connecting to mirrordirector.raspbian.org] [Connecting to xbian.brantje.com]
and hangs, any ideas ?
Check internet is working properly and you can ping mirrordirector.raspbian.org.

If that is all Ok - run xbian-config - system update and select option 1 and 2.
(17th Feb, 2014 10:57 PM)IriDium Wrote: [ -> ]
(17th Feb, 2014 10:20 PM)pit79 Wrote: [ -> ]ok another problem, on my second pi everything is fine on first one i have:
Terminal
#sudo apt-get update
Err http://mirrordirector.raspbian.org wheezy Release.gpg
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://xbian.brantje.com stable Release.gpg
Something wicked happened resolving 'xbian.brantje.com:http' (-5 - No address associated with hostname)
Ign http://mirrordirector.raspbian.org wheezy Release
Ign http://xbian.brantje.com stable Release
5% [Connecting to mirrordirector.raspbian.org] [Connecting to xbian.brantje.com]
and hangs, any ideas ?
Check internet is working properly and you can ping mirrordirector.raspbian.org.

If that is all Ok - run xbian-config - system update and select option 1 and 2.

Did as you said, after couple h same problem, so i added google dns adresses to resolv.conf, and start working again. Is nfs might be a problem ?
(17th Feb, 2014 03:06 AM)IriDium Wrote: [ -> ]Fresh install - full upgrade (16-02-2014) - worked as expected.

Used ssh xbian-config to clone the files to a freshly formatted 8G USB flash. No errors reported. Changed cmdline.txt to /dev/sda1 - rebooted.

1) Stuck on "Starting Network". Removed ethernet cable rebooted.
2) Now placed to a rescue shell. Logged on. Ran ssh xbian-config (Error about /usr/lib being read only)
3) Tried to upgrade again, error packages outof date using local copy.
4) sudo start xbmc - Stuck on starting XBMC.

So there seems to an issue with "New" copies to the USB as my main machine has been upgraded, and that is on USB and that all works.

This may also be related to other issues about R/O system.

However. if I install, copy/clone to USB and THEN UPGRADE, everything seems to work.

Has somebody found a solution for this ? I Already done the upgrade then tried to move everything to USb but now it hangs on network started Sad
What can i do ?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Reference URL's