RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Automount DVD

    Scheduled Pinned Locked Moved Help and Support
    auto mount dvd
    6 Posts 3 Posters 1.6k Views
    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.
    • T
      Thommy
      last edited by

      I use Retropie and Kodi to watch a DVD via a USB DVD drive. To mount the DVD i use a terminal and ssh connection on my Macbook "mount /dev/sr0 /media" and its work. Unfortunately it is very complicated, is there a possibility that the USB DVD drive is automatically mount?

      thx and cya Thommy

      1 Reply Last reply Reply Quote 0
      • cyperghostC
        cyperghost
        last edited by

        Can you locate the mountpoint?
        Ususally the automount feature is active so the loaction should be /media/usb0

        1 Reply Last reply Reply Quote 0
        • T
          Thommy
          last edited by

          Sorry, I am new to the Linux world. The mount with the command "sudo mount /dev/sr0 /media" works, but only manually.
          It would be nice if the Raspi when inserting a DVD or the connection of the DVD drive mount it automatically.

          Thanks for your help and cya Thommy

          1 Reply Last reply Reply Quote 0
          • cyperghostC
            cyperghost
            last edited by cyperghost

            Here is a fine instruction that should work
            https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-USB-drive

            2nd possibility

            RetroPie is capable of running a script on autostart ... edit /opt/retropie/configs/all/autostart.sh. There you can set your sudo moundcommand but be aware: Changes in the the es launch script will get overwritten on upgrade.

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

              @Thommy

              I haven't tried it but this might work:
              https://ddumont.wordpress.com/2015/09/27/how-to-automount-optical-media-on-debian-linux-for-kodi/

              They're just adding a line to the /etc/fstab

              T 1 Reply Last reply Reply Quote 0
              • T
                Thommy @backstander
                last edited by

                @backstander
                Sorry for my late reply. I have insert the line

                /dev/sr0 /media/dvd auto defaults,nofail,x-systemd.automount 0 2

                And the DVD ist mount at the bootup. But if i change the DVD disc it will not automatically mount the new disc ;(

                Thx for your help, cya

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.