How do I mount a secondary hard drive in Linux?

Bảo Vy

Member
How do I mount a secondary hard drive in Linux?
Answer
To achieve this, you need to perform three simple steps:
  1. 2.1 Create a mount point. sudo mkdir /hdd.
  2. 2.2 Edit /etc/fstab. Open /etc/fstab file with root permissions: sudo vim /etc/fstab. And add following to the end of the file: /dev/sdb1 /hdd ext4 defaults 0 0.
  3. 2.3 Mount partition. Last step and you’re done! sudo mount /hdd.
26 апр. 2012 г.
 

Tìm kiếm

Back
Top