Step 1: After connecting the disk to the machine, give the command below to see what it shows the disk as.
sudo fdisk -l
It will show the disk as /dev/sda
or /dev/sdb
with a partion table.
Disk /dev/sdb: 7.5 GiB, 8053063680 bytes, 15728640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0e0e8e70
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 2902111 2902112 1.4G 0 Empty
/dev/sdb2 2888004 2892739 4736 2.3M ef EFI (FAT-12/16/32)
Step 2: Execute the command below to see where it is mounted. For example,
$ sudo df -HT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 4.2G 0 4.2G 0% /dev
tmpfs tmpfs 829M 10M 819M 2% /run
/dev/mapper/ubuntu--vg-root ext4 484G 149G 311G 33% /
tmpfs tmpfs 4.2G 20M 4.2G 1% /dev/shm
tmpfs tmpfs 5.3M 4.1k 5.3M 1% /run/lock
tmpfs tmpfs 4.2G 0 4.2G 0% /sys/fs/cgroup
/dev/sda1 ext2 495M 111M 359M 24% /boot
/dev/sdb1 iso9660 1.5G 1.5G 0 100% /media/username/Ubuntu
Step 3: Finally execute the command below to remount it as an ro
only.
sudo mount -o remount,ro /dev/sdb1 /media/username/Ubuntu