MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Run magic mirror from a USB drive?

    System
    6
    14
    3326
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BlackTalon last edited by

      Has anyone had any running a magic mirror from a usb drive? I have had sd crashes every month or so for a year. I have to find a more option.

      1 Reply Last reply Reply Quote 0
      • Alvinger
        Alvinger last edited by

        I am running both my mirrors from usb.
        The trick is to have a SD Card with only bootcode.bin on it. That is the boot loader which will try to load firmware from attached devices.

        Download raspbian or whatever image you want and write it to the usb drive with etcher or similar.

        You need to make sure that cmdlint.txt anf /etc/fstab point to the usb drive but that should alteady be the case.

        1 Reply Last reply Reply Quote 0
        • B
          BlackTalon last edited by

          In your experience are the usb drives more reliable?

          1 Reply Last reply Reply Quote 0
          • Alvinger
            Alvinger last edited by

            Yes, especially if you put the /var lib on a tmpfs which resides in ram.

            1 Reply Last reply Reply Quote 0
            • B
              bbm674 last edited by

              yes and it work fine

              1 Reply Last reply Reply Quote 0
              • C
                carltonb last edited by

                Is there a guide on how to do this.

                1 Reply Last reply Reply Quote 0
                • justjim1220
                  justjim1220 Module Developer last edited by

                  I would very much be interested in the USB drive installation instructions!

                  Newbie here, so please be specific!!!

                  Thanks in advance!

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

                  1 Reply Last reply Reply Quote 0
                  • Alvinger
                    Alvinger last edited by

                    Which Raspberry Pi do you have? The Raspberry Pi 3 can boot directly from USB but the others need a SD card.

                    Download the chosen image and write it to UsB in the same way you created the SD cards. Then remove and insert the USB stick from your computee and copy the file bootcode.bin in the /boot directory to an empty SD card. (This card is needed unless you have a Pi3 but it will only be read from so no signifikant wear.)

                    Insert the USB stick and boot your Pi. That should do it.

                    If you have a Pi3 there is a different procedure, google is your friend.

                    1 Reply Last reply Reply Quote 0
                    • justjim1220
                      justjim1220 Module Developer last edited by

                      I’m using Windows 10. Not RasPi.

                      I will have to try and figure it out I guess.

                      Thanks anyway!

                      "Life's Too Short To Dance With Ugly People"
                      Jim Hallock - 1995

                      1 Reply Last reply Reply Quote 0
                      • Alvinger
                        Alvinger last edited by

                        If you have a Windows 10 computer, why would you need a USB drive?

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy