Athena-OS / athena

Athena OS is a Arch/Nix-based distro focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!
https://athenaos.org
MIT License
992 stars 75 forks source link

[BUG]: Not booting after install #127

Open Yakui420 opened 1 month ago

Yakui420 commented 1 month ago

Athena OS version

Newest version

Which environment or technology are you using?

Kernel version

No response

Involved software

No response

Repro steps

I use arch with disk encryption Both auto and manual partition install methods don't work After rebooting I get this error:

Timed out waiting for device /dev/mapper

Cannot open accest to console, the root account is locked
See sulogin(8) man page for more details.

Expected behavior

Start into Arch

Actual behavior

Blackscreen and then the error message above when pressing Enter

Diagnostic logs

No response

D3vil0p3r commented 1 month ago

Try to install with no encryption.

Yakui420 commented 1 month ago

Try to install with no encryption.

Might work but disk encryption is very important for some people. Pls fix.

D3vil0p3r commented 1 month ago

Try to install with no encryption.

Might work but disk encryption is very important for some people. Pls fix.

It should work. Try it.

Yakui420 commented 1 month ago

Try to install with no encryption.

Might work but disk encryption is very important for some people. Pls fix.

It should work. Try it.

Alright but I always encrypt my partitions for security reasons

Yakui420 commented 1 month ago

Probably to easiest way to fix this is to re-implement the calamares installer since in most cases it seems to encrypt everything flawlessly. Let the user choose between the tui or gui (calamares)

D3vil0p3r commented 1 month ago

I don't have a good "relationship" with Calamares. It is not flexible from the point of view of the code. In my case encryption works. If you don't share any logs about your issue I cannot investigate.

Yakui420 commented 1 month ago
[ TIME ] Timed out waiting for device /dev/mapper.
[DEPEND] Dependency failed for Initrd Root Device.
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System.
You are in emergency mode. After logging in, type "journalctl -xb" to view to continue bootup.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.

Reloading system manager configuration.
Starting initrd.target
You are in emergency mode. After logging in, type "journalctl -xb" to view to continue bootup.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.

and it loops and loops.. This is all the info I get when trying to boot.

D3vil0p3r commented 1 month ago

Probably the install failed. Share your install logs.

D3vil0p3r commented 2 weeks ago

@Yakui420 what about the issue? Did you solve it?

Yakui420 commented 2 weeks ago

Nope.