I have been unable to figure out how to mount my internal drive which contains all my data without having to enter a password. The drive mounts fine but on every reboot I need to manually re-enter my password. I tried a number of solutions linked to “filesystems” but none worked. There must be a simpler way, right?

My failed solutions follow. Each caused the sytem to fail to boot.

# fileSystems."/data" =

# { device = "/dev/disk/by-uuid/d2a55801-08e9-4bad-b905-4c83d7e76ad0";

# fsType = "ext4";

# };

# fileSystems."/boot" =

# { device = "/dev/disk/by-uuid/AF9C-DF7D";

# fsType = "vfat";

# options = [ "rw" "data=ordered" "relatime" ];

# };

# fileSystems."/mnt/wdblack" = {

# device = "/dev/disk/by-uuid/d2a55801-08e9-4bad-b905-4c83d7e76ad0";

# fsType = "ext4";

# options = [ "defaults" ];

# };

# fileSystems."/mnt/wdblack" = {

# device = "/dev/sda1";

# fsType = "ext4"; # Use the actual filesystem type of /dev/sda1, replace if it's not ext4

# options = [ "defaults" ]; # Add necessary mount options, 'defaults' is a placeholder

  • kalosdaemonOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    You are in emergency mode. After logging in, type "journalctl -xb" to view
    system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
    to boot into default mode.
    Give root password for maintenance
    (or press Control-D to continue):