Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[IDEA] Boot XBian from USB
Thank you for your donation

Pages (28): « Previous 1 ... 22 23 24 25 26 ... 28 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Idea: Boot XBian from USB
8th Feb, 2014, 10:14 AM
Post: #346
Levi59 Offline
Registered
Posts: 19
Joined: Apr 2013
Reputation: 0
RE: Boot XBian from USB
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.
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 12:43 AM
Post: #347
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Boot XBian from USB
(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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 06:30 AM
Post: #348
Levi59 Offline
Registered
Posts: 19
Joined: Apr 2013
Reputation: 0
RE: Boot XBian from USB
Where is the first slot ? now I have my hub side circuit board, and the key above.
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 09:00 PM
Post: #349
alfaromeo Offline
Registered
Posts: 14
Joined: Nov 2013
Reputation: 0
RE: Boot XBian from USB
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!?


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 11:07 PM
Post: #350
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Boot XBian from USB
(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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
10th Feb, 2014, 03:57 AM
Post: #351
alfaromeo Offline
Registered
Posts: 14
Joined: Nov 2013
Reputation: 0
RE: Boot XBian from USB
(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...
Find all posts by this user
Quote this message in a reply
10th Feb, 2014, 04:16 AM
Post: #352
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Boot XBian from USB
(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

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
10th Feb, 2014, 04:37 AM
Post: #353
alfaromeo Offline
Registered
Posts: 14
Joined: Nov 2013
Reputation: 0
RE: Boot XBian from USB
(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
Find all posts by this user
Quote this message in a reply
10th Feb, 2014, 05:37 AM
Post: #354
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: Boot XBian from USB
Why not just go on network share on your windows (when xbian is running),
and databases are on .xbmc/userdata/Database.

Belese

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
16th Feb, 2014, 04:59 AM
Post: #355
pit79 Offline
Registered
Posts: 19
Joined: Nov 2013
Reputation: 0
RE: Boot XBian from USB
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.
Find all posts by this user
Quote this message in a reply
17th Feb, 2014, 03:06 AM
Post: #356
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Boot XBian from USB
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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
17th Feb, 2014, 10:20 PM
Post: #357
pit79 Offline
Registered
Posts: 19
Joined: Nov 2013
Reputation: 0
RE: Boot XBian from USB
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..
Find all posts by this user
Quote this message in a reply
17th Feb, 2014, 10:57 PM
Post: #358
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Boot XBian from USB
(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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
18th Feb, 2014, 06:53 AM
Post: #359
pit79 Offline
Registered
Posts: 19
Joined: Nov 2013
Reputation: 0
RE: Boot XBian from USB
(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 ?
Find all posts by this user
Quote this message in a reply
19th Feb, 2014, 09:02 AM
Post: #360
francescosoft Offline
Registered
Posts: 4
Joined: Jan 2014
Reputation: 0
RE: Boot XBian from USB
(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 ?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (28): « Previous 1 ... 22 23 24 25 26 ... 28 Next »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 11:56 AM Powered By MyBB, © 2002-2025 MyBB Group.