How to Mount a Hard Drive on Linux
Temporarily mount a hard disk
1. Find the Information of disk
1 | |
2. Get Device Name
like /dev/sdb or /dev/sdc
1 | |
Automatically mount devices at startup
Step 1: Find the UUID of the Device
1 | |
This command will output something like:
1 | |
Step 2: Create the Mount Point Diretory
1 | |
Step 3: Edit \etc\fstab
1 | |
Step 4: Add the Mount Entry
To add the mount entry, you can use the UUID or the device name(/dev/sdb)
1 | |
Step 5: Test the Mounting
1 | |
If no errors occur, the mount should work properly.
Step 6: Reboot the System
1 | |
How to Mount a Hard Drive on Linux
https://www.hardyhu.cn/2024/08/28/How-to-Mount-a-Hard-Drive-on-Linux/