Idea: Boot XBian from USB
|
17th Jul, 2013, 12:46 AM
Post: #106
|
|||
|
|||
RE: USB Installation
(17th Jul, 2013 12:43 AM)Fred Wrote: I also removed subvol=root/@ from rootopts in cmdline.txt ok, this is reason to try here give me 20 minutes. (17th Jul, 2013 12:46 AM)mk01 Wrote:(17th Jul, 2013 12:43 AM)Fred Wrote: I also removed subvol=root/@ from rootopts in cmdline.txt ok, just plugged a drive, formatted to btrfs, rsync / , changed root=, sync reboot. already up. Code: / /dev/sda1 btrfs rw,noatime,thread_pool=1,compress=lzo,space_cache,autodefrag and in four minutes !!! Code: /dev/mmcblk0p1: SEC_TYPE="msdos" UUID="7687-080D" TYPE="vfat" and even auto used all available swap partitions guys, I love XBIAN ! Code: Filename Type Size Used Priority and, from class4 card, on usb, with nfs filesystems, xbmc full up in 50 seconds I will not eat cheese today. Code: 52.98 16.00 job= event=xbmc-loaded netdev= ON_BOOT= Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
17th Jul, 2013, 01:42 AM
Post: #107
|
|||
|
|||
RE: USB Installation
Okay I got it working too. In step 7 also remove "subvol=root/@ from cmdline.txt and it will work.
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
17th Jul, 2013, 03:03 AM
Post: #108
|
|||
|
|||
RE: USB Installation
(17th Jul, 2013 01:42 AM)Fred Wrote: Okay I got it working too. In step 7 also remove "subvol=root/@ from cmdline.txt and it will work. BUT. I even found one special case, when LABEL and UUID wasn't converted to DEV. so, are we ok? (not the cheese). posting commit now. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
18th Jul, 2013, 01:08 PM
Post: #109
|
|||
|
|||
RE: USB Installation
(14th Jul, 2013 07:20 AM)Fred Wrote: The size of the USB stick is probably just some sectors smaller than the SD card, but it probably only failed to copy empty space so that's no problem. I think the copy went just fine. I think I may have it now but how can I tell that it is running from the USB and not still the SD? I assume that it still needs the SD card inserted for it to boot? |
|||
18th Jul, 2013, 07:18 PM
Post: #110
|
|||
|
|||
RE: USB Installation
You can use the command 'df' or 'mount' to see which partitions are mounted.
You will still need the SD card because the RPi will read the bootcode from that. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
19th Jul, 2013, 02:00 AM
Post: #111
|
|||
|
|||
RE: USB Installation
(15th Jul, 2013 08:15 AM)mk01 Wrote:(12th Jul, 2013 01:25 PM)daveski3 Wrote: I hate to ask noob questions but I have searched all over and cannot find an answer on my own. I installed Xbian to my SD card using the installer and booted xbian. I then ssh into xbian and typed "sudo dd if=/dev/mmcblk0p2 of=/dev/sda1" to copy the root partition to the usb drive. This is the message I got back: Quote:The easiest way is: So I am confused. Which one of these methods is the easiest way to copy my root partition to my PNY USB drive???? Thanks! Mark |
|||
19th Jul, 2013, 02:19 AM
Post: #112
|
|||
|
|||
RE: USB Installation
(19th Jul, 2013 02:00 AM)Mark Wrote:(15th Jul, 2013 08:15 AM)mk01 Wrote:(12th Jul, 2013 01:25 PM)daveski3 Wrote: I hate to ask noob questions but I have searched all over and cannot find an answer on my own. I installed Xbian to my SD card using the installer and booted xbian. I then ssh into xbian and typed "sudo dd if=/dev/mmcblk0p2 of=/dev/sda1" to copy the root partition to the usb drive. This is the message I got back: @Mark It depends on the Version of Xbian you are running. Alpha works with the "dd" statement. Beta works with the "rsysnc" statement. If you are unsure, from a ssh - type df -T if it shows something like /dev/mmcblk0p2 btrfs (NOTE btrfs) then run the later "rsysnc" statements. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
19th Jul, 2013, 02:33 AM
Post: #113
|
|||
|
|||
RE: USB Installation
(19th Jul, 2013 02:19 AM)IriDium Wrote:(19th Jul, 2013 02:00 AM)Mark Wrote:(15th Jul, 2013 08:15 AM)mk01 Wrote:(12th Jul, 2013 01:25 PM)daveski3 Wrote: I hate to ask noob questions but I have searched all over and cannot find an answer on my own. I installed Xbian to my SD card using the installer and booted xbian. I then ssh into xbian and typed "sudo dd if=/dev/mmcblk0p2 of=/dev/sda1" to copy the root partition to the usb drive. This is the message I got back: I am using the beta 1 version.... so I will use the rsync method. Going to try it now...... Ok. So I tried it and on almost every rsync, it says after the file, Operation not permitted (1). Not sure why.. ?? Ok. So I tried it and on almost every rsync, it says after the file, Operation not permitted (1). Not sure why.. ?? |
|||
19th Jul, 2013, 02:59 AM
Post: #114
|
|||
|
|||
RE: USB Installation
You have to be root or use sudo before the command
Also remove "subvol=root/@," from cmdline.txt in step 7 Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
19th Jul, 2013, 03:02 AM
Post: #115
|
|||
|
|||
RE: USB Installation
An example of what is shown on almost every line:
rsync: chown "/mnt/usr/include/linux/netfilter_ipv4" failed: Operation not permitted (1) Still happening. Logged in as Xbian and then did a sudo -s. Typed in password and got into root. Ran the commands and still got the operation is not permitted (1). |
|||
19th Jul, 2013, 03:33 AM
Post: #116
|
|||
|
|||
RE: USB Installation
Do you have write access to the mounted drive?
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
19th Jul, 2013, 03:40 AM
Post: #117
|
|||
|
|||
RE: USB Installation
How do I check that???? Just a note. I reflashed my sd card and I will reconfigure the basics. Then try to rsync to USB again... I will use another USB drive. I plugged the old one in my windows pc and it said it was corrupted. so in a few minutes I will know.
(19th Jul, 2013 03:40 AM)Mark Wrote: How do I check that???? Just a note. I reflashed my sd card and I will reconfigure the basics. Then try to rsync to USB again... I will use another USB drive. I plugged the old one in my windows pc and it said it was corrupted. so in a few minutes I will know. Code: root@xbian:~# stop xbmc So same issue with a new USB drive and new install of XBIAN. So how do I fix the Operation no permitted 1? I set my root password and logged in. Everything seemd normal. Then I just ran the cmds as root. |
|||
19th Jul, 2013, 03:59 AM
Post: #118
|
|||
|
|||
RE: USB Installation
Try sudo su instead of sudo -s
Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
19th Jul, 2013, 04:09 AM
Post: #119
|
|||
|
|||
RE: USB Installation
Ok.
I will try that as soon as I can which will be in a few minutes Thanks for all o the help guys.. But whats the difference between su and just doing it as root? Why wouldnt it work as root? Am I doing someting wrong? Steps I do: Format SD CARD using SD CARD FORMATTER Install XBIAN BETA 1.0 Configure Wi-Fi and Video Calibration Reboot Login as XBian configure root pw run steps that mk01 gave and seems every time it doesnt work did I miss a step in there? Another question: Must I complete the rsync steps and such (copy root to usb) using SSH or directly in the Xbian CLI? nope. Still no luck. getting a lot of Operation not permitted (1). Examples of errors: rsync: chown "/mnt/etc/network/if-up.d" failed: Operation not permitted (1) rsync: symlink "/mnt/etc/network/if-up.d/wpasupplicant" -> "../../wpa_supplicant/ifupdown.sh" failed: Operation not permitted (1) STILL NO IDEA WHY!!?!?!?!?!? Sorry for the frusteration but after a few days of trying this (this is my thrid day and finally asking for help ) please help! NO IDEA why it isnt working A side note: Could I use the XBIAN installer and install directly to a USB drive?? Then install XBIAN to a SD Card as well? Then edit the cmdline.txt file to point it to the USB? Will this work?? please helpp! Ok. Evidently I am doing something wrong and I understand that. I know that mk01 method will work. Maybe because I am a total computer novice, I will need better instructions? Can someone give in-detail (very detail please) of how to do what he said???? Please this would help out much! |
|||
19th Jul, 2013, 06:37 AM
Post: #120
|
|||
|
|||
RE: USB Installation
You can´t use the XBian installer for the USB stick.
Can you post the output of the command ´mount´ here. 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 »
|