Idea: Boot XBian from USB
|
3rd Aug, 2013, 05:06 AM
Post: #196
|
|||
|
|||
RE: USB Installation
(2nd Aug, 2013 12:16 PM)Uncle_Tubbie Wrote: There are others smarter then me around here, but did you try Yup: xbian@xbian ~ $ lsusb Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 413c:2003 Dell Computer Corp. Keyboard Bus 001 Device 005: ID 05dc:a205 Lexar Media, Inc. xbian@xbian ~ $ df-h -bash: df-h: command not found xbian@xbian ~ $ df -h Filesystem Size Used Avail Use% Mounted on rootfs 7.4G 855M 6.3G 12% / udev 10M 4.0K 10M 1% /dev tmpfs 189M 176K 189M 1% /run /dev/sda1 7.4G 855M 6.3G 12% / none 5.0M 0 5.0M 0% /run/lock none 189M 0 189M 0% /run/shm none 100M 0 100M 0% /run/user /dev/mmcblk0p1 34M 13M 22M 37% /boot /dev/sda1 7.4G 855M 6.3G 12% /home xbian@xbian ~ $ |
|||
3rd Aug, 2013, 10:56 AM
Post: #197
|
|||
|
|||
RE: USB Installation
Here are my notes from my install. I hope they work for you. Either way please post and I will try and help
Run lsusb Run df -h sudo umount /dev/sda5 ??? sudo parted -s /dev/sda mklabel msdos sudo parted -s /dev/sda unit cyl mkpart primary ext2 -- 0 -2 sudo btrfs-auto-snapshot listvol sudo mount -t btrfs -o subvolid=0 /dev/mmcblk0p2 /tmp sudo btrfs sub list /tmp sudo apt-get update sudo rsync -aAX /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/home/*/.gvfs} --progress sudo nano /mnt/etc/fstab a) comment out the line with "/home" (with a "#" at the start of the line) b) change "LABEL=xbian-root-btrfs" to "root=/dev/sda1", remove "subvol=root/@," option from "/". sudo nano /boot/cmdline.txt a) change "LABEL=xbian-root-btrfs" to "root=/dev/sda1" b) remove "subvol=root/@" c) change "mod_scsi.scan=async" to "mod_scsi.scan=sync" d) according the need, change number after rootwait= (I didn't need to change this and I'm not sure what it means) |
|||
4th Aug, 2013, 01:27 AM
Post: #198
|
|||
|
|||
RE: USB Installation
rbthompsonv I've tried my notes a second time and they are not working for me. I get stuck on the resize SD card notice on the splash screen when rebooting. I'm not able to help you, sorry
|
|||
4th Aug, 2013, 02:01 AM
Post: #199
|
|||
|
|||
RE: USB Installation
(2nd Aug, 2013 10:45 AM)rbthompsonv Wrote: Creating btr filesystem on /dev/sda1... Do you have a terminal session opened to some part of /dev/sda1 which is preventing the umount? |
|||
4th Aug, 2013, 10:27 AM
Post: #200
|
|||
|
|||
RE: USB Installation
(4th Aug, 2013 02:01 AM)doug Wrote:clean install of Xbian... going to try removing the USB, formatting to fat32, then a clean install of xbian... will post results.(2nd Aug, 2013 10:45 AM)rbthompsonv Wrote: Creating btr filesystem on /dev/sda1... |
|||
4th Aug, 2013, 12:21 PM
Post: #201
|
|||
|
|||
RE: USB Installation
(4th Aug, 2013 10:27 AM)rbthompsonv Wrote:(4th Aug, 2013 02:01 AM)doug Wrote:clean install of Xbian... going to try removing the USB, formatting to fat32, then a clean install of xbian... will post results.(2nd Aug, 2013 10:45 AM)rbthompsonv Wrote: Creating btr filesystem on /dev/sda1... Seems a format of the USB was what i needed Thanks for suggesting the usb might be mounted |
|||
5th Aug, 2013, 12:09 AM
Post: #202
|
|||
|
|||
RE: USB Installation
rbthompsonv, I'm glad you are up
|
|||
5th Aug, 2013, 06:39 PM
Post: #203
|
|||
|
|||
RE: USB Installation
(2nd Aug, 2013 10:45 AM)rbthompsonv Wrote: Creating btr filesystem on /dev/sda1...The script should neither attempt to unmount / nor /home. / holds the entire filesystem including the shell (and the umount program) so it will always be busy. /home is probably the directory you're currently in if you didn't cd into another, so that can't be unmounted either. So to me this looks like you specified the SD card as the partition to be unmounted/formatted. Edit: Sorry, didn't see that you got it working already. Glad you're all set up. |
|||
8th Aug, 2013, 12:01 AM
Post: #204
|
|||
|
|||
RE: USB Installation
Beta 1.1 with latest updates.
After running the install script (Works well) and rebooting, I've noticed xbian-config no longer works. Could this be due to running from the USB or the latest updates? log: http://pastebin.com/49r40ZF6 Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
8th Aug, 2013, 12:53 AM
Post: #205
|
|||
|
|||
Re: RE: USB Installation
(8th Aug, 2013 12:01 AM)IriDium Wrote: Beta 1.1 with latest updates. What is the permissions on /tmp (ls -l /tmp) Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
8th Aug, 2013, 06:55 PM
Post: #206
|
|||
|
|||
RE: USB Installation
(8th Aug, 2013 12:53 AM)f1vefour Wrote:(8th Aug, 2013 12:01 AM)IriDium Wrote: Beta 1.1 with latest updates. /tmp is empty. drwxr-xr-x 1 root root 0 Aug 8 09:51 tmp Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
8th Aug, 2013, 08:54 PM
Post: #207
|
|||
|
|||
RE: USB Installation
Code: sudo chmod 777 /tmp xbian-config creates and uses files in /tmp, but if it is 755 it won't be able to do that since XBMC is run as user xbian. How did you copy the files to the USB disk, using the rscync command I gave the permissions should also be copied. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
8th Aug, 2013, 09:03 PM
Post: #208
|
|||
|
|||
RE: USB Installation
(8th Aug, 2013 08:54 PM)Fred Wrote: I just used the xbian-usbinstall script (which uses rsync). Works now with the 777 change. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
8th Aug, 2013, 09:31 PM
Post: #209
|
|||
|
|||
RE: USB Installation
The out of the box option in XBMC does not work with the RPi at the moment.
http://forum.xbian.org/thread-831.html Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
12th Aug, 2013, 07:26 PM
Post: #210
|
|||
|
|||
RE: USB Installation
right permission to /tmp should be 1777 (1 for sticky bit - doesn't allow to edit/remove files owned by someone else as owner uid - normally 777 would allow that).
btw: xbian copy tool is now part xbian-config and in the latest version (http://ivka57.dyndns-ip.com/pool/main/x/xbian-package-config-shell/xbian-package-config-shell_2.1.4-3_armhf.deb) even integrated into xbian-config menu. source drive is preselected (boot drive/partition). one need just put /dev/xxxx into input field and enter. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|