Using a hard disk drive as an additional logical partition

ubuntu
sysadmin

#1

Hi all, would like to give a brief overview of my current setup. Asus laptop with 128gb SSD (50gb for Ubuntu, the rest Win10), 1tb HDD (900gb Win10 files, rest to be used as an acting “drive D:” for Ubuntu". How should i create a new logical partition for the remaining space in the HDD for files/programs of the Ubuntu? Many thanks y’all!


#2

Can you run fdisk -l command and paste output here:

sudo fdisk -l

#3

Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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: gpt

Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 567295 32768 16M Microsoft reserved
/dev/sda3 567296 154425343 153858048 73.4G Microsoft basic data
/dev/sda4 249047040 250068991 1021952 499M Windows recovery environment
/dev/sda5 154425344 217339903 62914560 30G Linux filesystem
/dev/sda6 217339904 225728511 8388608 4G Linux swap
/dev/sda7 225728512 249047039 23318528 11.1G Linux filesystem

Partition table entries are not in disk order.

Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Oddly enough, I was able to use a part of sdb as my /home. Would that be good practice?


#4

Provided that sdb is not a external disk, this should be fine - but note that unless both disks are mountable you will have to do some repair work. Effectively it doubles the chance of a serious disk failure causing problems.

Personally, I create extra partitions on my second disk to hold video files and a partition to hold a data backup (which gets copied to removable backup media).