I have 2 HDD installed in my PC. One of them is empty (I just added it) and the other one contains everything else.
Output from fdisk:
root@*****:~# sudo fdisk -l
Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 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: *****
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 209715166 209713119 100G 83 Linux
Disk /dev/sdb: 100 GiB, 107374182400 bytes, 209715200 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: ******
So the system is on /dev/sda
. How can i merge the old HDD with the new one so i get a 200GB /dev/sda
partition?
fdisk
is 100 x 2^30 bytes to the byte. That feels much more like a VM disk image than a physical drive, though of course it could still be a physical drive. – user Dec 26 '17 at 20:49