Ubuntu mounting locations for drives
Ubuntu mounting locations for drives
Hi everyone, I hope everything is fine. After upgrading my PC and adding a new M.2 drive (Samsung 970 EVO Plus) for Ubuntu 20.04, the other SSDs—a 1TB Samsung 860 QVO and two HDDs—have all been added as external drives. They should appear under 'on this computer' rather than listed as external devices above. I need to update the mounting points in the /etc/fstab file, but I’m not sure exactly what changes to make. Thanks for any guidance. I’ve been using Linux for 12 years and haven’t faced this problem before. Appreciate your help!
Verify BIOS settings to ensure ports aren't configured for hot swapping.
It seems unusual—there’s nothing similar available. I own a Gigabyte X570 motherboard.
Checking the status on 30-06-20 seems like a good idea, but I’m not sure I fully understand what’s happening. Running multiple internal drives alongside the OS drive has caused a lot of errors from the terminal, and I’m starting to question if the installation was correct from the start.
The command outputs a detailed list of block devices, including their types, sizes, and locations on the system.
Here’s a revised version of your text:
This is the result you received; it’s unclear why there were two swap partitions. Only the NVMe drive is present. Run `sudo umount /dev/sdb sudo umount /dev/sdc` to proceed. The fstab file lists the static disk information. # Use `blkid` to display a device's unique ID, which can be more reliable when using UUIDs instead of names. See fstab(5). # Example command:
<file system> <mount point> <type> <options> <dump> <pass>
nvme root file system UUID=ab41d663-2d4f-4bc3-bab7-dea3689f6ce5 / ext4 defaults,noatime,rw 0 1
nvme swap partition UUID=4e8c2619-7633-4226-a57b-2926b5eeb855 none swap defaults 0 0
movies UUID=476c835b-21c8-43fc-800f-7582ab80108e /mnt/movies ext4 defaults,noatime 0 0
photography UUID=a2e22bc9-3909-45d8-8a89-7ed0a17b7b8e /mnt/photography ext4 defaults,noatime
To mount without restarting, run sudo mkdir /mnt/movies and sudo mount -a. If issues arise, ensure permissions are correct.
Changes made: Edited June 30, 2020 by Nayr438 – added rw for root.]