Skip to content

Instantly share code, notes, and snippets.

@yashkumaratri
Last active March 9, 2021 07:10
Show Gist options
  • Save yashkumaratri/69dd214dc4c0aa85561c84698ffbfbad to your computer and use it in GitHub Desktop.
Save yashkumaratri/69dd214dc4c0aa85561c84698ffbfbad to your computer and use it in GitHub Desktop.
mount drive via terminal in ubuntu
sudo lshw -C disk
sudo mkfs.ext4 /dev/sdb1
sudo mkdir /mnt/hdd1
sudo mount /dev/sde /mnt/hdd1
sudo chmod -R 777 /mnt/hdd1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment