7. August 2017 at 12:11 #30475
Raspberry pi 3 can boot on usb stick now.
i test this method with dietpi it work well.
I Try with Max2play, the raspberry boot but stop stop because I think it mount the stick boot partion.
Do you have a solution to run Max2paly on usb stick
Philippe22. Februar 2019 at 19:33 #44545
I’m just checking on this to see if there are any updates. My Pi ran great for 2 years, but now, despite me changing the power supply and trying 3 different cards, it fails monthly. I literally can’t connect as whatever happens is destroying the image on the SD card. I see other post online about Pi’s and trouble with SD cards, so I’d like to try to use USB instead. Otherwise, I guess I can buy a new Pi and try it, but after that, I’m going to have to go to something like the Bluesound 2i. So long story short, is there a way to boot/run Max2Play from USB?
Mike23. Februar 2019 at 8:09 #44549
Raspbian which runs under max2play doesn’t support expansion of a USB Stick, therefore you will be stocked with a stick of 4gb (which) is the max size of the installation. You will therefore most likely run out of space sooner or later. There are 2 way to expand the second partition either run an app called Gparted on a SD card or 2nd usb (as it doesn’t work on the same drive were you system is installed so this is not an option for max2play. Secondly, the manual way which I have described below. As you can see it involves serval reboots and a knowledge of the size of the first partition….. It will take more than a plugin to get running. Maybe Heiner can confirm that !!
Until Raspberry PI fully support USB sticks you can follow the manual method below, if you want.
I haven’t tested all the plugins, I assume that the home-automation plugins wont work running from a USB Stick. You will need to check that with their homepage.
The Raspberry Pi 3b has indirect support for booting from a usb-flash. You need to activate it on the Pi first.
Follow this guy if you haven’t prepared your Pi 3b: Click here
After that you can install the max2play on to your usb stick with Etcher (balenaEtcher)
Extent your root directory
Make sure that you have no other flash devices connected
In the remote control plugin type:
sudo apt update
sudo apt upgrade
sudo fdisk /dev/sda
type p (to list the partition table)
You will now see something like this:
Take a note of the number at column 2 (Start), row 2 (/dev/sda2)
type d (to delete a partition)
type 2 (partition number)
type n (to create a new partition)
For the first sector on the new partition set in the start number in column/row 2 you noted earlier
leave it black just [ENTER] (the highest end number will be auto added)
When it asks you something about not to keep the EXT4 format type no
type w (to save the changes)
After the reboot go back to the remote plugin and type:
sudo resize2fs /dev/sda2
sudo reboot (again)
with the command: df -h can you see the new size of your root device
Peter10. März 2019 at 16:46 #44733
Great that you found a solution that worked.
The Pi once needed to be activated before it supported usb. I think by copying the sd-card installation will work fine, but you might have to do that every time you need to reflash it.
Were as Pi3+ and a support a usb stick out of the box, for the Pi3 I would recommend doing an activation before use:
How to activate Raspberry Pi 3 to support Boot from USB Stick
Install the latest Raspbian on a SD Card
On Raspberry Pi:
sudo nano /boot/config.txt
scroll down to the bottom of the page and add the line:
Open the SD-card boot drive on your PC/MAC
open the file config.txt with you built in text editor
Scroll down to the bottom and add:
Inset the sd-card in the Pi.
Boot up the Pi
Reboot the Pi
after the reboot shout down the Pi.
You can now use the usb stick and it should work with out any problems.
You must be logged in to reply to this topic.