-
Notifications
You must be signed in to change notification settings - Fork 201
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
bootstrap stalls and a restart login says root password is incorrect #33
Comments
Even though I ran |
To replicate,
|
I checked
|
Commenting here instead of opening a new issue: the "official" VMWare installation is broken ATM as well, mainly due to recommendd SCSI drives being /dev/sda, and NVME being /dev/nvme0n1. I've quickly poked around yesterday with NVME, but ran into more problems like Now that NixOS has working GUI installer, I wonder if it would be better to record a new video and just use GUI install. That would take care of the bootstrap0 phase, then vm/bootstrap would be run over vanilla install. |
I just bootstrapped from scratch again on my own on both my Mac and Windows and it worked fine on both. I did update the README and Makefile to revert back to SATA (unrelated to this issue) and I updated some syntax for NixOS 23.05. In either case, I'm unsure if it was consequential to do this issue but I can't reproduce any issues. |
Did you use UTM? Maybe there is something different with the nix iso I used or even my mac specs. I have a 2020 M1 with 8GB RAM. Is there a way for me to troubleshoot or test the networking issue related to the |
I used VMware Fusion. I haven’t tried UTM in a long while. Maybe it’s that. This was on a 2020 M1 MacBook Pro. I think there is likely some networking difference in UTM or something. I think its at least still valuable knowing that a clean bootstrap on VMware on similar hardware is working. |
@mitchellh are you on VMWare Player or Pro? Just realized that my vm did't boot with EFI at all, and there isn't any mentioning of UEFI in the vm settings (gui). Haven't tried forcing it by hand in .vdx. Is it possible that VMWare 13 Player doesn't support booting w/ UEFI? |
Workstation pro but I think you can set some vmx settings to get UEFI. If you can figure out the Nix config to support EFI I’d be happy to document it but I couldn’t get that working with NixOS at all. |
@mitchellh thanks! I think it's better to have one true working config, both for the users and sake of your time maintaining this. Just looked into the .vmx VMWare Player created, and indeed there's The bootstrap did get stuck at the same point @TimJSwan89's referring to. This is due to the hardcoded
It's totally ok if you want to keep this repo working for you; just thought it would be awesome if newcomers could see a working i3 session like in your video. Do you think having an |
In the YouTube video, which is excellent by the way, you mention that the hard disk should be SCSI. In my experience that does not result in a file called I do not know what has changed but selecting SATA instead did the trick 😉 |
I hit the same roadblock as @TimJSwan89, and concur with @supermarin that a default user (or prompting for a user/ password) would be appreciated. |
The issue seemed to relate to tailscale, I resolve the issue by commenting out the tailscale config in machine/vm-share.nix as i don't use it at all. services.tailscale.enable = true; // to comment out and you will have to replace with your own hashed password and other credentials, which i haven't completely done yet. With my own hash password, i was able to get installation going and have nixos up and login as default "mitchellh" |
Also getting this issue with asking for password (after setting in the VM) and getting incorrect. @gongqian Thank for your comment. What type of hashing is used for the password if i want to replace it? |
i think you should recheck this issue of root password sir , many folks are facing this same problem . |
[update: you may disregard this comment since the third comment has more reproducible detail]
I followed the instructions with a UTM setup on an M1 macbook. I can run git clone and ping google, so there doesn't seem to be network issues. ifconfig gave me an ip address which I used in the NIXADDR environment variable as instructed. After running
make vm/bootstrap0
successfully and ensuring the project was ready again to run the second script, I ranmake vm/bootstrap
and it had an ssh error.ssh: connect to host 192.164.64.4 port 22: Connection refused
rsync error: unexplained error (code 255) at io.c(228) [sender=3.2.5]
Note: I don't have clipboard sharing functioning so it's just retyped from what I see.
I rebooted the OS and it asks
nixos login:
If I enterroot
it asksPassword:
androot
prompts a responseLogin incorrect
I have attempted empty fields for login and password already.The text was updated successfully, but these errors were encountered: