Artix Linux Forum

Init systems => suite66-archived => Topic started by: mattz7 on 22 September 2021, 13:10:45

Title: suite66 cryptsetup // open a device at boot
Post by: mattz7 on 22 September 2021, 13:10:45
Hi! :)

I'm still learning suite66 and am curious to know how you can open up a LUKS device at boot time. Does suite66 use /etc/crypttab for that purpose? I'd like to know how I can trigger suite66 to ask for a passphrase for, say, a device with a given UUID.

Matt
Title: Re: suite66 cryptsetup // open a device at boot
Post by: strajder on 22 September 2021, 13:35:10
Take a look at
Code: [Select]
# 66-env -t boot boot@system
Code: [Select]
## Use udev [yes|no]
## If set to no the following variables has no effects or set to no:
## SETUPCONSOLE, KEYMAP, FONT, FONT_MAP, FONT_UNIMAP, CRYPTTAB, DMRAID,
## BTRFS, LVM

# [...]

## Boot inside a container [yes|no].
## If set to yes the following variables have no effect or are set to no:
## HARDWARECLOCK, SETUPCONSOLE, KEYMAP, FONT, FONT_MAP, FONT_UNIMAP, CRYPTTAB
## SWAP, LVM, DMRAID, BTRFS, ZFS, UDEV, SYSCTL, FORCECHCK, CGROUPS
## MODULE_SYSTEM, RANDOMSEED, MNT_NETFS

# [...]

## Active encrypted devices [yes|no].

CRYPTTAB=!no