Since you are booted into the SSD version, I'd simply say: repartition your
/dev/sdb with the tools of your liking. (
However, I'm going to warn about two things.
a) You can see that your swap is used on that disk. I'd make sure that the swap is not used in your
/etc/fstab any more. Do the following:
$ sudo blkid /dev/sdb1
/dev/sdb1: UUID="12345678-1234-1234-1234-123412341234" TYPE="swap"
Note the string between quotes for the
UUID. Edit your
/etc/fstab file and remove the line that looks like this:
UUID=2345678-1234-1234-1234-123412341234" none swap sw 0 0
This will tell your system to forget about that second 22GB swapfile. Reboot now, or, easier
sudo swapoff /dev/sdb1.
At this point, the whole disk
/dev/sdb is ununsed. Start partitioning it.
b) Unless you are absolutely 100% sure that you are booting from /dev/sda, reinstall
grub before rebooting:
$ sudo grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
$ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-34-generic
Found initrd image: /boot/initrd.img-4.4.0-34-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
Obviously, the output is what my machine tells me. Yours will vary.