How To Mount A Drive In Linux
Initially you wanna check the hard drives on your system
fdisk -l
so now you now whats being seen by the system
Command Line
mount /dev/partitionId /some/mounting/pointfor example
mount /dev/sdb /backupThe mounting point path must already be created with proper permissions. So a more likely flow of commands would be below:
Command Line
mkdir /some/mounting/point chmod 777 /some/mounting/point mount /dev/partitionId /some/mounting/pointfor example:
mkdir /backupchmod 777 /backupmount /dev/sdb /backupNow you just need to add the addon hard drive into fstab to be booted on startup as well
nano /etc/fstab
How To Unmount A Drive In Linux
Command Line
umount /dev/partitionIdThis command is very easy to type wrong. It is NOT unmount. Take another closer look if thats what you saw at first. It is umount -- no n here!
