Idea: Boot XBian from USB
|
16th Aug, 2016, 04:09 AM
Post: #406
|
|||
|
|||
RE: Boot XBian from USB
(14th Aug, 2016 08:11 AM)Nachteule Wrote: Yeah, seems you have completely lost the track Maybe, maybe not, do you mean "track" or "trick"? As you have seen, i am able to boot different OS via USB on a RPI3, since this: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md But i do not understand the wiki in http://wiki.xbian.org/doku.php/installation_usb First, it is older than the Patch from https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md and second, i do not have a /boot/boot.scr.txt |
|||
16th Aug, 2016, 04:38 AM
Post: #407
|
|||
|
|||
RE: Boot XBian from USB
I suppose this article was written long before it was possible to boot RPi without sd-card.
Quote:/boot/boot.scr.txt You did not read this article correctly. This is only valid for Cubox-i/Hummingboard devices (they are booting via u-boot and not by proprietary rpi boot) This article is valid for both hw types, whereas the RPi msd boot works with RPi's (3???) only But anyway, interesting feature |
|||
16th Aug, 2016, 05:10 AM
Post: #408
|
|||
|
|||
RE: Boot XBian from USB | |||
16th Aug, 2016, 05:19 AM
(This post was last modified: 16th Aug, 2016 05:23 AM by Nachteule.)
Post: #409
|
|||
|
|||
RE: Boot XBian from USB
You know that this feature is not officially released?
Only theoretically: 1) you have to replace firmware files (bootcode.bin and start.elf) You can fetch them from here, you need _x version of those files and store it to /boot without _x 2) you have to replace mmcblk0pX with sdaX in files /boot/cmdline.txt and /etc/fstab (currently I don't have any motivation for testing this, don't want to trash my rpi3 installation) |
|||
16th Aug, 2016, 06:49 AM
Post: #410
|
|||
|
|||
RE: Boot XBian from USB
(16th Aug, 2016 05:19 AM)Nachteule Wrote: (currently I don't have any motivation for testing this, don't want to trash my rpi3 installation) What do you mean with "trash my rpi3 installation"? I inserted, into the modified RPI3, the "ex-broken" Micro-SD-Card from the RPI2 and the RPI3 was also booting fine into Xbian! That patch, OTP=one time programmable, only made the PI3 available to boot additional via USB and Network (NFS). Nothing more. Now, i "just" need to know, how to modify an Xbian-Image, that it can also boot Xbian via USB, nothing more. |
|||
16th Aug, 2016, 07:06 AM
Post: #411
|
|||
|
|||
RE: Boot XBian from USB
(16th Aug, 2016 06:49 AM)duno Wrote:(16th Aug, 2016 05:19 AM)Nachteule Wrote: (currently I don't have any motivation for testing this, don't want to trash my rpi3 installation) See my last post. Not sure if 1) is really needed, but 2) is needed (btw. this is also documented at raspberrypi.org (at the end) |
|||
9th Nov, 2017, 02:07 AM
Post: #412
|
|||
|
|||
RE: Boot XBian from USB
I'm currently trying to install XBian via NOOBS onto a USB drive (along with Raspbian, Recalbox and Screenly). I tried both using the current NOOBS installer by XBian as well as adding the XBian directory into a current NOOBS 2.4.4 file system.
Both version fail with an error message "mount: unknown filesystem type 'btrfs'" I presume this is due to cmdline.txt in the XBian root.tar.xz, which is looking to setup partitions in /dev/mmcblk0p2 instead of /dev/sda? Any help on what to change in order to get this running on a USB drive? |
|||
9th Nov, 2017, 02:35 AM
(This post was last modified: 9th Nov, 2017 03:18 AM by Nachteule.)
Post: #413
|
|||
|
|||
RE: Boot XBian from USB
(9th Nov, 2017 02:07 AM)Darkguy Wrote: I'm currently trying to install XBian via NOOBS onto a USB drive (along with Raspbian, Recalbox and Screenly). I tried both using the current NOOBS installer by XBian as well as adding the XBian directory into a current NOOBS 2.4.4 file system. I never used NOOBS to install operating systems to a usb drive. So I can't say if this works or not for USB drives (installing on sd-card works). Some weeks ago, I used PINN [1] for installing them on my USB drive (PINN on sd-card, rest on USB), and that worked. But, there were some minor issues which had to correct manually: 1) PINN is using PARTUUID for the root device (in file /boot/cmdline.txt), and unfortunately this entry was/is(?) wrong and has to correct manually 2) PARTUUID for boot partition /etc/fstab was/is(?) wrong and has to fix manually hth [1]
|
|||
22nd Nov, 2017, 04:51 AM
Post: #414
|
|||
|
|||
RE: Boot XBian from USB
(9th Nov, 2017 02:35 AM)Nachteule Wrote:Thanks, tried PINN, installed it to a USB drive, then used it to install XBian. I get the boot screen, but then I get thrown to the recovery shell, as this version is also looking for the root partition on a non-existing mmcblkp0 partition. Any suggestions?(9th Nov, 2017 02:07 AM)Darkguy Wrote: I'm currently trying to install XBian via NOOBS onto a USB drive (along with Raspbian, Recalbox and Screenly). I tried both using the current NOOBS installer by XBian as well as adding the XBian directory into a current NOOBS 2.4.4 file system. Gesendet von meinem XT1685 mit Tapatalk |
|||
22nd Nov, 2017, 06:55 AM
Post: #415
|
|||
|
|||
RE: Boot XBian from USB
(22nd Nov, 2017 04:51 AM)Darkguy Wrote: Thanks, tried PINN, installed it to a USB drive, then used it to install XBian. I get the boot screen, but then I get thrown to the recovery shell, as this version is also looking for the root partition on a non-existing mmcblkp0 partition. Any suggestions? Yes, please use this this PINN version and install XBian from General tab and not from Media tab (this would install a very old version which can not deal with PARTUUID partitions because of lack of this commit) I tried installing XBian alone and Raspbian with XBian together, both worked. |
|||
23rd Nov, 2017, 08:23 AM
Post: #416
|
|||
|
|||
RE: Boot XBian from USB
(22nd Nov, 2017 06:55 AM)Nachteule Wrote: Yes, please use this this PINN version and install XBian from General tab and not from Media tab (this would install a very old version which can not deal with PARTUUID partitions because of lack of this commit) OK, I think I'm almost there. I used this version of PINN and installed XBian (the included version from the General tab), Raspbian and Recalbox all on the USB drive. All three systems boot fine and are usable (I tried RetroPie earlier, but the included version seems not to be able to handle booting off USB yet). The only problem is, that the XBian root partition only is being created at 636 MB and 521 MB of that are already in use, meaning I can't even download/install any updates. Here's the partitions that PINN created on a 32 GB (around 29.8 GiB) drive: Code: /dev/sda1 63M vfat RECOVERY(PINN) Judging from those sized, there should be another 9.6G available on the drive. Any idea why the XBian partition is being created so small and what could be done to increase it? |
|||
23rd Nov, 2017, 08:44 AM
(This post was last modified: 23rd Nov, 2017 09:48 AM by Nachteule.)
Post: #417
|
|||
|
|||
RE: Boot XBian from USB
(23rd Nov, 2017 08:23 AM)Darkguy Wrote:(22nd Nov, 2017 06:55 AM)Nachteule Wrote: Yes, please use this this PINN version and install XBian from General tab and not from Media tab (this would install a very old version which can not deal with PARTUUID partitions because of lack of this commit) That's strange, because PINN should set up partition size correctly (each os get same disk space if there is enough space avalaible on disk) 1) make sure that initramfs is enabled, because partition/fs resize is done there 2) please give me output of sudo fdisk -l |
|||
23rd Nov, 2017, 09:10 AM
Post: #418
|
|||
|
|||
RE: Boot XBian from USB
(23rd Nov, 2017 08:44 AM)Nachteule Wrote: That's strange, because PINN should set up partition size correctly (each os get same disk space if there is enough space avalaible on disk) 1) initramfs is enabled (on 'always') in the XBian-Config part of settings 2) unfortunately I just get "sudo: fstab: command not found" and when trying to install it, I get "E: Unable to locate package fstab" I can offer the contents of /etc/fstab or the output of blkid if that helps? Here's the output of sudo lsblk: Code: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT and here's the output of parted -l Code: Model: SanDisk Ultra Fit (scsi) |
|||
23rd Nov, 2017, 09:47 AM
Post: #419
|
|||
|
|||
RE: Boot XBian from USB
Sorry, i meant fdisk -l
So, your XBian partition has 8.5G, so what's wrong? If your root fs has not been resized yet, you could run Code: sudo btrfs filesystem resize max / |
|||
23rd Nov, 2017, 10:33 AM
Post: #420
|
|||
|
|||
RE: Boot XBian from USB
(23rd Nov, 2017 09:47 AM)Nachteule Wrote: Sorry, i meant fdisk -lThanks a lot, that did the trick! No idea why the filesystem hadn't been resized, but everything seems fine now. Gesendet von meinem XT1685 mit Tapatalk |
|||
« Next Oldest | Next Newest »
|