Skip to content

Mount extra disk

Our system is configured so that the additional hard disk is mounted for Linux installations and is available under /mnt/hdd.

If this does not work, you can find instructions on how to mount the hard disk manually here.

Linux

The extra disk is normally available as /dev/sdb.

You can check whether this is the case by executing the following command:

lsblk

Expected output:

root@v16068:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 25G 0 disk
└─sda1 8:1 0 25G 0 part /
sdb 8:16 0 1000G 0 disk

In this case, the output confirms that the hard disk is available under /dev/sdb.

Manual mounting

Format hard disk:

mkfs.ext4 /dev/sdb

Create mount point:

mkdir /mnt/hdd

Mount hard disk:

mount /dev/sdb /mnt/hdd

Mount hard disk automatically at startup:

echo "/dev/sdb /mnt/hdd ext4 defaults 0 0" >> /etc/fstab

One-Liner

Oneliner to mount the disk directly:

mkfs.ext4 /dev/sdb && mkdir /mnt/hdd && mount /dev/sdb /mnt/hdd && echo "/dev/sdb /mnt/hdd ext4 defaults 0 0" >> /etc/fstab

Windows

WIP