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

Use drive UUID instead of /dev name #49

Open
werner291 opened this issue Sep 25, 2019 · 0 comments
Open

Use drive UUID instead of /dev name #49

werner291 opened this issue Sep 25, 2019 · 0 comments

Comments

@werner291
Copy link

werner291 commented Sep 25, 2019

Greetings!

I recently ran into a bizzarre problem where my NixOS installation suddenly wouldn't boot.

As it turned out, through some mysterious shenanigans that I have yet to exorcize, /dev/sda1 no longer referred to the partition that contained NixOS, instead referring to a small partition that contained what appeared to be some old Debian-related junk. The NixOS installation was suddenly in /dev/sda2. I finally did get the installation to boot again after re-labeling things in the partition table.

Proposed fix: During stage 1, mount the drive by UUID instead of its' name in /dev.

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

1 participant