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 ... 17 18 19 20 21 ... 28 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Idea: Boot XBian from USB
13th Dec, 2013, 06:02 PM
Post: #271
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Boot XBian from USB
@edvahass

your fstab looks perfectly

but a silly question. how you got your usb copy mounted under /mnt ?

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
13th Dec, 2013, 06:18 PM
Post: #272
edvahass Offline
Registered
Posts: 4
Joined: Dec 2013
Reputation: 0
RE: Boot XBian from USB
sudo mount /dev/sda1 /mnt

Actually that's the third step of the Wiki's USB installation guide. That's what I don't understand, it later says to edit the fstab file, but the things it says to change don't exist on mine.

http://wiki.xbian.org/USB_Installation
Find all posts by this user
Quote this message in a reply
13th Dec, 2013, 06:37 PM
Post: #273
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Boot XBian from USB
@edvahass,

you are a victim of wrong (outdated / not specific enough) documentation.
this was pre-Beta2 ad-hoc solution which requires /etc/fstab modification. although works, it is not recommended for seamless daily use as it is removing XBian native filesystem structure which is expected to exists.

beta2 provides native function for cloning / imaging via xbian-config (xbian copier).

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
13th Dec, 2013, 06:55 PM
Post: #274
edvahass Offline
Registered
Posts: 4
Joined: Dec 2013
Reputation: 0
RE: Boot XBian from USB
So does that mean I only need to use xbian copier and then edit cmdline.txt?
Find all posts by this user
Quote this message in a reply
13th Dec, 2013, 07:18 PM
Post: #275
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Boot XBian from USB
exactly

the only thing you will focus on is putting /dev/sda1 (please double check it is not mounted) as destination (will be reformatted) and then editing cmdline.txt changing "root=XXXX" to "root=/dev/sda1"

_should_ be easy as that. lets see.

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
14th Dec, 2013, 11:26 PM
Post: #276
edvahass Offline
Registered
Posts: 4
Joined: Dec 2013
Reputation: 0
RE: Boot XBian from USB
That worked! Thanks for the help. Now I can finally overclock this thing.
Find all posts by this user
Quote this message in a reply
15th Dec, 2013, 08:33 PM
Post: #277
min Offline
Registered
Posts: 54
Joined: Jan 2013
Reputation: 4
RE: Boot XBian from USB
I'm having a problem with USB booting. I'm using the built-in feature in beta 2, though when I change the cmdline.txt to point to /dev/sda1 the system does not boot. Instead there is a black screen with a blinking underscore.

I've tried changing the fstab though that has had no effect.
Find all posts by this user
Quote this message in a reply
15th Dec, 2013, 09:23 PM
Post: #278
Smultie Offline
Moderator
******
Posts: 322
Joined: Feb 2013
Reputation: 16
RE: Boot XBian from USB
Sure your USB stick is not on /dev/sda2 ?
Find all posts by this user
Quote this message in a reply
15th Dec, 2013, 09:59 PM
Post: #279
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Boot XBian from USB
(15th Dec, 2013 08:33 PM)min Wrote:  I'm having a problem with USB booting. I'm using the built-in feature in beta 2, though when I change the cmdline.txt to point to /dev/sda1 the system does not boot. Instead there is a black screen with a blinking underscore.

I've tried changing the fstab though that has had no effect.

if kernel mounts rootfs and launches upstart phase, you will see "mountall" on screen (first event being run).

while on blinking cursor you are far from being there - usually blinking cursor is fail on load kernel or initramfs (due to file corruption on boot, or wrong files or many other things), or wrong parameters in config.txt or cmdline.txt …

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
15th Dec, 2013, 10:10 PM
Post: #280
min Offline
Registered
Posts: 54
Joined: Jan 2013
Reputation: 4
RE: Boot XBian from USB
It's definitely sda1, I'll try installing a fresh image and run the copier again.

In regards to the parameters, the only thing changed is 'boot=/dev/sda1'
Find all posts by this user
Quote this message in a reply
15th Dec, 2013, 11:44 PM
Post: #281
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Boot XBian from USB
@min

if you (with the stuck cursor) change back to /dev/mmcblk0p2, it boots again?

oh, check please if /boot/config.txt contains line
Code:
initramfs initramfs.gz  0x00a00000

and that it is not commented out (with # at beginning of line)

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 Dec, 2013, 01:12 AM
Post: #282
min Offline
Registered
Posts: 54
Joined: Jan 2013
Reputation: 4
RE: Boot XBian from USB
Yes, changing back to SD allowed it to boot.

I checked the config, and the initramfs line was commented out- I changed that and it booted from USB after a couple of freezes! Thanks Smile
Find all posts by this user
Quote this message in a reply
18th Dec, 2013, 06:22 AM
Post: #283
postdeath Offline
Registered
Posts: 6
Joined: Dec 2013
Reputation: 0
RE: Boot XBian from USB
Is there an up-to-date USB installation guide available? I'm considering switching back to Xbian after a long long absence, and this is the only stickler at the moment. Cheers Smile
Find all posts by this user
Quote this message in a reply
18th Dec, 2013, 12:03 PM
Post: #284
Lilone21804 Offline
Registered
Posts: 18
Joined: Nov 2013
Reputation: 2
RE: Boot XBian from USB
Could someone explain how to install Xbian on an USB drive to me, I am having the hardest time. Im on Beta 2. I know how to initiate the clone by going to option 6 in xbian.config. That's as far as I can go. I'm not sure how to check for where the USB is mounted, how to change the cmdline.txt, or anything else. Pretty much, I need someone the explain step by step if possible.
Find all posts by this user
Quote this message in a reply
18th Dec, 2013, 09:30 PM
Post: #285
stormy Offline
Registered
Posts: 1
Joined: Apr 2013
Reputation: 0
RE: Boot XBian from USB
(18th Dec, 2013 12:03 PM)Lilone21804 Wrote:  Could someone explain how to install Xbian on an USB drive to me, I am having the hardest time. Im on Beta 2. I know how to initiate the clone by going to option 6 in xbian.config. That's as far as I can go. I'm not sure how to check for where the USB is mounted, how to change the cmdline.txt, or anything else. Pretty much, I need someone the explain step by step if possible.

All I did was to install beta2 on the SD card, bung the sd card in the rasp pi and then plug in the usb then turn the pi on , the rest is just automatic. Seemed to work for me .
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (28): « Previous 1 ... 17 18 19 20 21 ... 28 Next »
Post Reply 


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

Current time: 21st May, 2025, 03:40 AM Powered By MyBB, © 2002-2025 MyBB Group.