Code: Select all
richard@richard-MS-7A40:~$ sudo fdisk -l
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 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
Disk identifier: 137FAF0A-53EE-4070-AF6A-B280CFFE743B
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 164890467 163839844 78.1G Linux filesystem
/dev/sda3 164890624 468860927 303970304 145G Linux filesystem
Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 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: 0x8b2539a7
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 234440703 234438656 111.8G 83 Linux
I like to use EFI on both drives
/etc/fstab
Code: Select all
richard@richard-MS-7A40:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=5e98e14b-725f-4e06-a12c-f954bdd917d7 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=753A-83BB /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda3 during installation
UUID=e2f39b87-bf79-43e4-ba4e-cc7066a50f5e /home ext4 defaults 0 2
/swapfile none swap sw 0 0
But how do you add the drive
blkid shows
Code: Select all
/dev/sdb1: LABEL="drive2" UUID="eb683b41-f12a-40a7-9df3-0b5b648fabb9" TYPE="ext4" PARTUUID="8b2539a7-01"
Thanks