Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Root account locked #38

Open
peteringram0 opened this issue Feb 29, 2024 · 2 comments
Open

Root account locked #38

peteringram0 opened this issue Feb 29, 2024 · 2 comments

Comments

@peteringram0
Copy link

i am getting the error "cannot open access to console, the root account is locked". I haven't seen any other issues reporting this.

Screenshot 2024-02-29 at 11 27 08
@nukr
Copy link

nukr commented Mar 13, 2024

I got the same error too. Any workaround?

make vm/bootstrap output below

building '/nix/store/hsmrlapmnjsjnds0z61ripp59ia26bpx-system-units.drv'...
building '/nix/store/lx06ks0cwmk3zdk13hqp1wiml0niq5sn-etc.drv'...
building '/nix/store/m6lq9mrz0rcwl4mf7p2pypgwxwidy5zs-nixos-system-dev-23.11.20240124.a77ab16.drv'...
stopping the following units: firewall.service, network-setup.service, systemd-modules-load.service, systemd-sysctl.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket, systemd-udevd.service
NOT restarting the following changed units: -.mount
activating the configuration...
setting up /etc...
reloading user units for root...
setting up tmpfiles
reloading the following units: dbus.service
restarting the following units: boot.mount, dhcpcd.service, sshd.service
starting the following units: network-setup.service, systemd-modules-load.service, systemd-sysctl.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket
Failed to start network-online.target: Transaction for network-online.target/start is destructive (emergency.target has 'start' job queued, but 'stop' is included in transaction).
See system logs and 'systemctl status network-online.target' for details.

@kingscott
Copy link

Following a couple of previously closed issues on this repo - I was able to get it working this morning, on an M1 Mac.

As other folks mentioned, I needed to remove references to 1Password config here:

_1password = final.callPackage ../pkgs/1password.nix {};

I also made sure to add the plymouth package to system packages. I was seeing an error at some point with plymouth failing to load.

Lastly, I noticed in the journalctl logs that host.mount couldn't be mounted. I confirmed this with:

$  systemctl status host.mount

This is an issue with sharing the host filesystem with Fuse:

fileSystems."/host" = {

I'm pretty new to this whole setup, NixOS included, but here's a branch I've pieced together with a working system: https://github.com/kingscott/nixos-config/tree/mitchellh-working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants