Code: Select all
lsblk
Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 529M 0 part
├─sda2 8:2 0 100M 0 part /boot/efi
├─sda3 8:3 0 16M 0 part
└─sda4 8:4 0 930.9G 0 part
sdb 8:16 0 238.5G 0 disk
├─sdb1 8:17 0 512M 0 part
└─sdb2 8:18 0 238G 0 part /
Code: Select all
sudo -fdisk /dev/sda
Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.
From what I understand I have to unmount the HDD? But I never mounted it to begin with? Could someone please advise? Thank you!