Max2play boot with USB stick

Max2Play Home Forums Max2Play on Raspberry PI Max2play boot with USB stick

Viewing 11 posts - 1 through 11 (of 11 total)
  • 7. August 2017 at 12:11 #30475

    Hello
    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

    Thank you

    Philippe

    8. August 2017 at 10:06 #30493

    Hi Phillipe,

    We do not support booting from USB at the moment.

    22. Februar 2019 at 19:33 #44545

    Hi,

    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?

    Kind regards,

    Mike

    23. Februar 2019 at 8:07 #44548

    test my post got deleted

    23. Februar 2019 at 8:09 #44549

    Edit 23.2

    Hi Mike

    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:

    Device Start
    /dev/sda1 12
    /dev/sda2 98888

    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)

    next:
    For the first sector on the new partition set in the start number in column/row 2 you noted earlier

    next:
    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)

    sudo reboot

    After the reboot go back to the remote plugin and type:

    sudo resize2fs /dev/sda2

    sudo reboot (again)

    that’s it

    with the command: df -h can you see the new size of your root device

    Peter

    7. März 2019 at 22:28 #44707

    Peter, Thank you! This is exactly what I’m looking for. I will try this over the weekend.

    7. März 2019 at 23:48 #44709

    Let me know if everything turns out as expected !!

    Peter

    8. März 2019 at 20:12 #44717

    Hello
    Thé plug-in for audiophonics card screen And power on/off doesn’t work on usb stick
    If Know solution ? I Would like it

    Best regards

    10. März 2019 at 4:41 #44728

    Hi fourchtein

    My setup is AUDIOPHONICS I-SABRE V4 DAC ES9023 TCXO / Raspberry Pi 3 with power button, and it works from a usb stick.

    Reformat and reflash your usb stick or try another usb stick

    10. März 2019 at 11:40 #44730

    If I configure directly on usb key the audiophonics addons do not work.

    Solution Install on sd card then transfer image on usb key and it works.

    10. März 2019 at 16:46 #44733

    Hi fourchtein

    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:

    Open terminal

    Type:
    sudo nano /boot/config.txt
    [ENTER]

    scroll down to the bottom of the page and add the line:

    program_usb_boot_mode=1

    OR

    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:

    program_usb_boot_mode=1

    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.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.

Register here