December 2018
Beginner
826 pages
22h 54m
English
In this section, we're going to use both our sdb drives.
If you have rebuilt your VM, have a go at the previous sections to end up with a drive that has a simple filesystem atop a partition.
On your VM, first, make sure that any fstab entries you've added are removed; for me, this was a case of running the following sed command:
$ sudo sed -i 's#UUID=10572fe4-5f65-4df0-9e69-dcd885e9f01e /opt ext4 defaults 0 0##g' /etc/fstab
I then rebooted my system to ensure that /opt was not mounted at boot, and finally I regenerated the first partition on my disk:
$ printf "g\nn\n\n\n\nw\n" | sudo fdisk /dev/sdb
Again, your mileage may vary, but what you want to end up with is a disk that has one partition on it, unformatted for now.
We'll ...
Read now
Unlock full access