-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Blank screen after choosing NixOS on LiveCD #5829
Comments
Can you try 15.09 image? http://nixos.org/releases/nixos/15.09/nixos-15.09.453.dc18f39/ |
@domenkozar Very little change. I no longer see the message, "error: no suitable video mode found. Booting in blind mode." But after the boot menu I am still left with a blank screen, with both the graphical and minimal ISOs, whether I blacklist nouveau or not. |
IIRC we now blacklist nouveau and have nomodeset by default on ISOs. |
I came back to this today and tried a few different things. Finally, I tried setting up the LiveCD in my existing Arch Linux install with grub as described here. Following those directions I was able to boot into the LiveCD. I'm going to attempt an installation and see what happens. |
The installation completed and I chose gummiboot as the boot loader, but the same thing happens. After choosing the latest NixOS generation, the screen blanks and nothing more happpens. I tested with the Arch and Ubuntu LiveCDs and they both work, so I think that eliminates a problem with the system itself. |
Same problem here. Minimal USB install of 15.09, I choose "Live CD", and immediately just get a black screen. Motherboard is ASRock Z68 Pro3 Gen3, and I've removed my video card. Let me know if there's any more detail I can provide. I have no idea what to try now. |
Also tested with the graphical install of unstable, got the same result. |
This sounds like modesetting gone awry. Try adding:
To the kernel command line before exiting grub. (source https://wiki.archlinux.org/index.php/Kernel_mode_setting) |
@jcumming How do I do that? All I get to is a screen that says "NixOS Live CD". Is that grub? |
Ah, it's gummiboot, and the key is "e" to edit the command. Didn't help, though :( |
I believe nomodeset is passed on ISOs by default (which disables nouveau completely). |
The next step I would use is a serial console. |
Is that hardware that people normally keep around? |
Serial ports aren't so common on consumer hardware these days. However, if the kernel is running you can probably use a USB serial dongle and concoct a grub command line to get the kernel and systemd to issue a console on it. Video problems are difficult to debug -- you're blind to whatever the kernel is telling you. And it can be telling you a lot of things about hardware conflicts, BIOS bugs, missing drivers, etc. |
Is there a way to get it to log to the boot media (a USB drive) or elsewhere? |
(triage) Is this still an issue? |
I was able to get a working system using the NixOS unstable branch and using the latest kernel by specifying |
cc @vcunat |
Yes, this is still an issue. |
Can you clarify what this means? Where did you specify that? |
Related to perl build issue (seems to be caused by unionfs) - NixOS/nix#1243 |
I wanted to report that I've successfully installed NixOS on a Macbook Air (late 2011), which previously had the same issue. That wasn't easy: I booted an Ubuntu live cd, then followed @chris-martin 's excellent guide to install NixOS from there (https://gist.github.com/chris-martin/4ead9b0acbd2e3ce084576ee06961000). My first attempt had the exact same result: I saw the system-boot menu, and then a blank screen. Then I tried again, this time setting Grub2 as the boot loader (and disabling systemd-loader). It worked! I suggest switching to Grub2 for the installation CD. Not sure how to do it though. |
When I boot NixOS 17.09 or 18.03 live images in UEFI mode in VMWare Workstation 14 under Windows 10 the screen turns black while booting. Maybe other environments are affected too, I don't know, that's just the setup I have to work with. BIOS mode or other distros in UEFI mode work fine tough. |
Still an issue for nixos-graphical-18.09pre149415.8395f9aa85e-x86_64-linux.iso. |
Oh, uh well, @P-E-Meunier , @ilyaigpetrov I have #33686 which (in this case coincidentally) changes the UEFI bootloader to grub. Could any of you having the issue try with an installer image built from that PR and report back? (It's going to be merged anyway for 18.09 I'm pretty confident, but having such a report could be useful to track another pro for switching to grub.) EDIT: pinged the wrong |
@samueldr: if you point me to the instructions to do so I can try. |
♥ thanks for volunteering for the test. The instructions are just now added to a comment; I additionally have rebased on the latest nixos-unstable. The iso image is used like any other nixos iso image, which is why I haven't added |
I've found a workaround:
|
By making the graphical image always boot to the display-manager, or by adding an option to the bootloader enabling/disabling the display-manager by default could allow working around this issue. (Noting this here, for a future improvement.) |
Just wanted to drop a message here saying I am trying NixOS for the first time in VMWare and could not get the minimal CD to boot. I found this reddit post with a link to here, and those options worked. Not a great experience for a newcomer. |
I hit this when trying to install nixOS 18.09 on a NUC8i7. What worked for me was to try a newer kernel (4.19.9, which i got here) and boot with modeset, i.e. not using the I saw this in
It shows up with or without This launchpad bug might be relevant? https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1785033 Note: once nixos is actually installed, there don't seem to be any issues. Must be just an issue with the livecd. NB: if you try this method, make sure you use linuxPackages_latest when you install! |
One more data point: I tried to install NixOS on a Dell Inspiron 9571 for a very long time. I switched from RAID to AHCI and disabled secure boot, but neither were good enough. First I tried with the graphical live cd, and was unable to get past grub, even with After all of this, I tried using the gist posted above to install using Ubuntu (very good stuff, aside from a few mistakes). I was surprised that Ubuntu's live CD worked out of the box, while nix's didn't. |
I am also getting a black screen as soon as I log in to NixOS KDE. And based on messages above it might be related to UEFI boot used inside VirtualBox. |
I am getting the same black screen after login when I am using GRUB (BIOS) boot. |
The solution was to disable 3D acceleration. |
I marked this as stale due to inactivity. → More info |
I just hit this as well when booting the graphic live USB NixOS on a 2009 Samsung E252 with Core 2 + ATI Radeon HD4330. After selecting various options in the boot loader it just says:
|
Had a similar problem booting off a minimal live USB on a ThinkPad X1 gen 3. Selecting the default option in the bootloader would start up fine, but suddenly give a blank screen ~10 seconds after startup completed. Booting with |
I just want to add that recent Ubuntu live had the same issue on my old laptop. |
I marked this as stale due to inactivity. → More info |
Closing this specific issue. This is becoming bogged-down with similar, but not actually the same issues. It thus becomes impossible to "fix" or do anything about. If you (yes you, person who is reading) is having a similar issue, e.g. "Blank screen after choosing NixOS on LiveCD", please open a new issue with the problems you are observing, the hardware configuration you are using, and what you have tried. Feel free to link to this issue when doing so. |
That this issue still exists in 2024 and the cop out answer doesn't inspire much confidence in this distro. |
This stuff is rather hardware-dependent. The original issue is about an old x86 Apple machine, so I'd also say that new issue(s) should be opened instead. |
I have been trying to get NixOS 14.12 on my computer where I'm currently running Arch Linux. It is an older Apple tower, with a GeForce 8800 GT video card.
I first tried the graphical live CD. It boots, gets to grub, then says "error: no suitable video mode found. Booting in blind mode."
I gave up on the graphical live CD and tried the minimal CD instead. Similarly, the grub menu displays and then tries to boot the kernel. But this time I just get a blank screen.
I was booting from a USB key and tried creating it with both unetbootin and doing the "alternative" grub install described on the USB install page. I also tried blacklisting the nouveau with
modprobe.blacklist=nouveau
. I tried other variations likenouvea.blacklist=1
andnomodeset
after googling for similar issues. Nothing seemed to improved the situation.At this point, I'm stuck.
The text was updated successfully, but these errors were encountered: