Adding second HDD as Home

After poking around some posts (and Google) I'm not sure I came across the solution to what I'd like to accomplish.

I have a second hard drive that I would like to use as /home. Is it as simple as using this tool, selecting format to erase it, and then select edit partition > Linux home partition?

Here's my fdisk -l, it's the drive HGST and I'm guessing it shows as sda1 because I last used it in a Mint install, but I intend to wipe it if needed:

Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: WDC WDS256G1X0C-00ENX0                  
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
Disk identifier: 44A77B28-CCC2-42CC-BFEF-24491CDAAAD2

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      4096    618495    614400   300M EFI System
/dev/nvme0n1p2    618496 464222205 463603710 221.1G Linux filesystem
/dev/nvme0n1p3 464222206 500103449  35881244  17.1G Linux swap

Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: HGST HTS721010A9
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
Disk identifier: E5780958-06A1-4465-BDE2-654BE827E498

Device     Start        End    Sectors   Size Type
/dev/sda1   2048 1953523711 1953521664 931.5G Linux filesystem

If there is no valuable data on the disk try it and report the result.

You can do that only as root and from tty.

Those would be the steps I've been searching for and not finding. :wink:

Thought this looked promising, if I can get my amateur head wrapped around it: Adding new hard drive as /home after installation

There is an easier method - described in this topic


It appears to be correct according to this df -hl information because I can see that /home resides on a partition much larger than my 256gb SSD. :grin:

Filesystem      Size  Used Avail Use% Mounted on
dev             7.8G     0  7.8G   0% /dev
run             7.8G  1.6M  7.8G   1% /run
/dev/nvme0n1p2  217G  9.1G  197G   5% /
tmpfs           7.8G   55M  7.8G   1% /dev/shm
tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
tmpfs           7.8G  7.6M  7.8G   1% /tmp
/dev/sda1       916G   16G  855G   2% /home
/dev/nvme0n1p1  300M  280K  300M   1% /boot/efi
tmpfs           1.6G   36K  1.6G   1% /run/user/1000

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by