archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Allow systemd-gpt-auto-generator to automatically mount partitions without configuring /etc/fstab entries

Open arch-hash opened this issue 8 months ago • 4 comments

describe the request

systemd-gpt-auto-generator is a systemd unit generator that automatically discovers and mounts partitions based on GPT partition type GUIDs. But it does not create mount units if the mount point is explicitly configured in /etc/fstab. I propose to allow systemd-gpt-auto-generator to automatically mount partitions based on GPT partition type GUIDs by letting the /etc/fstab file empty.

arch-hash avatar May 03 '25 16:05 arch-hash

For LUKS setup, see: https://man.archlinux.org/man/systemd-cryptsetup-generator.8.en

arch-hash avatar May 03 '25 16:05 arch-hash

archinstall should conform to the ArchWiki. The installation guide instructs to generate an fstab file.

codefiles avatar May 03 '25 16:05 codefiles

archinstall should conform to the ArchWiki. The installation guide instructs to generate an fstab file.

See https://wiki.archlinux.org/title/Systemd#GPT_partition_automounting. Perhaps the Installation Guide on ArchWiki should be updated first?

arch-hash avatar May 03 '25 18:05 arch-hash

The partition type GUID for root, home, and swap are set in order to support this: 06baa08, 0eac05c, 19c390e.

codefiles avatar May 03 '25 19:05 codefiles