Re: Please check my sudo bash script
On Mon, Sep 1, 2025 at 06:56 Tom Browder <tom.browder@gmail.com> wrote:
> On Mon, Sep 1, 2025 at 06:47 Tom Browder <tom.browder@gmail.com> wrote:
> I just fired up gparted and all became clear! I haven't used it in several years and
> completely forgot about it.
Well, one more question: how to add the new disks so they auto mount?
First, their partitions (covering the whole disk) show as:
/dev/sda1
/dev/sdc1
/dev/sdd1
The existing /etc/fstab has only the original disk mounted using its
three partition UUIDs. But their mount points show as:
/ ext4
/boot/efi vfat
none swap
With 'lsblk' showing:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.6T 0 disk
`-sda1 8:1 0 3.6T 0 part
sdb 8:16 0 465.8G 0 disk
|-sdb1 8:17 0 512M 0 part /boot/efi
|-sdb2 8:18 0 464.3G 0 part /
`-sdb3 8:19 0 976M 0 part [SWAP]
sdc 8:32 0 931.5G 0 disk
`-sdc1 8:33 0 931.5G 0 part
sdd 8:48 0 931.5G 0 disk
`-sdd1 8:49 0 931.5G 0 part
I can manually add the new disk partitions to the /etc/fstab using
their UUIDs but the question is: what mount points should I use? My
gut says use:
/dev/sda1 ext4
/dev/sc1 ext4
/dev/sd1 ext4
Or is there some way to automate that or enter it with another system tool?
Thanks for your patience!
-Tom
Reply to: