I don't plan on having a dedicated screen, keyboard, and mouse in the car to reset this every time it happens unless I absolutely need to. In order to fix it, I have to ensure the External Hard Drive isn't plugged in, "cd" to the /media/pi directory, and run the "rm -R Elements" command and plug in the External Hard Drive again. Plex then has the mapping of media in a different location and the system wont work. When the /dev/sda1 mounts on the next power up, the new directory of the folder becomes "/media/pi/Elements1". The folder "/media/pi/Elements" becomes unreadable and locked in the directory. Therefore, the External Hard Drive is never unmounted or ejected. The entire system is hard shutdown when the car turns off. While these instructions have only been tested on the stack described below, I believe they should work for other setups that may involve GPU passthrough devices other than an Intel GPU. RPi 4 Boots Ubuntu, automatically logs in to username "pi", /dev/sda1 (Elements) mounts automatically, firefox opens to the plex server localhost. This repo contains instructions for setting up plex on an ESXi virtual machine, using hardware transcoding via a passthrough GPU. Power on the car and it supplies power to the RPi 4, router, and external hard drive. The usage for this will be a media server in my vehicle (kids can watch media on long trips). I've got an externally powered 16Tb external hard drive with all the proper permissions to operate. I'm running Ubuntu Desktop 20.10 for my RPi 4 and have configured Plex to run on the intranet.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |