Note: This is for an OS drive "sda" and a Data drive "sdb"
- ls /dev/sd*
- Because sdb has no partitions there should be no sdb1 or sdb2 (paritions)
- fdisk /dev/sdb
- n
- p
- Enter
- Enter
- w
- mkfs.ext4 -L /images /dev/sdb1
- nano /etc/fstab
- Add the following line at the botton of this file
- /dev/sdb1 /images ext4 defaults 1 2
- Ctrl + O
- Enter
- Ctrl + x
- Add the following line at the botton of this file
- mkdir /images
- mount -a
- If there are no errors, then everythig is ok...
- If there are errors
- nano /etc/fstab
No comments:
Post a Comment