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

    Setting up an nvme as rom storage...

    Scheduled Pinned Locked Moved Help and Support
    nvmeemmccm4compute modulerom storage
    4 Posts 2 Posters 605 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
      t01mkr
      last edited by

      Hello friends. I was hoping I can get some advice setting up my nvme as kind of a storage drive for roms and movies for my RetroPie 4.8 installation, which is running off of the emmc of my compute module 4 and Waveshare CM4 carrier board (https://www.waveshare.com/CM4-IO-BASE-A.htm). Just to make it clear as I mentioned RetroPie is running off the emmc but I would like to store the roms on the attached nvme m.2 drive.

      What I've done to the drive so far :
      1.Created a primary partition using
      sudo fdisk /dev/nvme0n1
      2.Created a file system with
      sudo mkfs -t ext4 /dev/nvme0n1p1
      3.Created a mount point and mounted the partition using
      sudo mount /dev/nvme0n1p1 /media/nvme
      4.To get it to mount every time I added a line to /etc/fstab:
      UUID=<nvme UUID> /media/nvme ext4 defaults 0 0
      , using the UUID of my drive, which I found by using the command sudo blkid.

      I would really appreciate any help with moving and setting up the appropriate folders to the nvme drive and anything else that might have to be done to make this possible?

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Copy everything under $HOME/RetroPie to the new drive's partition and then mount the partition over $HOME/RetroPie instead of /media/nvme .

        Make sure you add the uid=pi,gid=pi mount options (instead of the defaults) to /etc/fstab.

        T 1 Reply Last reply Reply Quote 0
        • T
          t01mkr @mitu
          last edited by

          @mitu Thank you very much for helpful reply. I was wondering if it's possible to use symbolic links instead. Does anyone know?

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @t01mkr
            last edited by

            @t01mkr said in Setting up an nvme as rom storage...:

            . I was wondering if it's possible to use symbolic links instead. Does anyone know?

            Yes, but why ? You're already mounting your disc, why not use the right folder for it in the first place.

            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.