Dell XPS 9550 Boots Won't Boot To Ubuntu 20.04 After Upgrade from GUI; Windows Partition Boots Fine

Asked by Alexander Nied

I have a [Dell XPS 9550](https://www.dell.com/support/home/en-us/product-support/product/xps-15-9550-laptop/docs) (with an NVIDIA graphics card) on which I had been happily been dual-booting Windows 10 and Ubuntu 18 LTS before I tried to upgrade to Ubuntu 20 LTS a few months ago. The upgrade *seemed* to complete successfully, but since then I can only boot into my Windows 10 instance. GRUB loads, and when I select Ubuntu it simply shows a black screen indefinitely. If I attempt to load into recovery mode, I freeze at "Loading initial ramdisk...".

For what it is worth, the same thing happens when I attempt to run Ubuntu 20.04 from a USB drive in UEFI mode-- I get a black screen. If I enable Legacy ROM loading, I can get Ubuntu 20.04 to load on my machine from the USB drive. My Ubuntu 18.04 USB loads/runs Ubuntu with no problems in UEFI mode. I have a suspicion that if I can figure out how to get the 20.04 USB drive in UEFI mode the same solution may be able to be applied to my actual install.

Things I have tried include:

 - editing the start script and removing `splash` and `quiet` - same result
 - editing the start script and adding `nomodeset` - same result
 - editing the start script and adding `nouveau.modeset=0` - same result
 - Updating my machine's BIOS - same result

Since GRUB *is* loading, is this a good scenario for running [Boot-Repair](https://help.ubuntu.com/community/Boot-Repair) to see if it resolves my issue? Or are there better alternatives to try to get my Ubuntu back?

I've been a Ubuntu _user_ for several years, but I'm not well practiced in troubleshooting to this level of expertise, so I might need some extra direction as to how to collect debugging information, etc. Thanks so much for any assistance anyone is able to offer.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1

Make sure fast boot is off in windows. https://i.stack.imgur.com/TEJgH.png then restart to see if the grub boot loader starts.
 https://askubuntu.com/questions/1031993/how-to-install-ubuntu-18-04-alongside-windows-10
Should be able to turn fast boot off in the Bios.
To collect debugging information open terminal and type: ubuntu-bug linux
Apport will start to collect information. https://wiki.ubuntu.com/Apport

Revision history for this message
Alexander Nied (awnied) said :
#2

Thanks for your help! Fast boot is still off; I'm pretty sure I disabled when I originally installed 18.04, so I wouldn't expect it have been reenabled after upgrading to 20.04 (although it was worthwhile to double check).

Regarding the debugging information-- since I can't actually load into my Ubuntu install, I can't activate Apport, correct? Or is there some way to do this from grub?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Have you tried selecting an older kernel version from the grub menu, and does this show the same problem?

Revision history for this message
Tony Vroon (tonyvroon) said :
#4

Since you have the nVidia graphics card, you may want to try temporarily disabling both types of nVidia driver from Grub and rely on your Intel i915 only. This is where the screens attach, so you should get an image without them. You would need to add:
module_blacklist=nouveau,nvidia

If that allows you to boot, it will then allow uploading of support information the normal way.

Revision history for this message
Alexander Nied (awnied) said :
#5

Thanks again all for your continued assistance:

@m-hampl - I have tried selectin an older kernel version from the grub menu; loading recovery mode with 4.15.0-118-generic yields the same result (Freezes at 'Loading initial ramdisk...')

@tonyvroon - this advice yielded some interesting results. If I added `module_blacklist=nouveau,nvidia` when trying to load from an Ubuntu 20.04 installation USB in UEFI mode, I *was* able to boot into Ubuntu from the live pendrive (something that I was previously unable to do). However, I tried doing adding this same line in recovery mode for the Ubuntu on my actual machine, and the freezing on "Loading initial ramdisk" symptom remains. I'm not sure what to do with this information... Please let me know if there is more information I can provide-- I took a few photos of my screen while I was troubleshooting using your direction- I can upload if you feel it would be helpful.

Revision history for this message
Tony Vroon (tonyvroon) said :
#6

Please could you try on your actual machine:
dis_ucode_ldr module_blacklist=nouveau,nvidia

If that allows you to boot, please then try to update all packages, paying particular attention to anything kernel, ucode & microcode.

Revision history for this message
Alexander Nied (awnied) said :
#7

Thank you, Tony-- I tried running `dis_ucode_ldr module_blacklist=nouveau,nvidia` on my actual machine, and only got a black screen. I also tried adding `module_blacklist=nouveau,nvidia` in recovery mode (`dis_ucode_ldr` was already present) and it once again froze at "Loading initial ramdisk..."

Revision history for this message
Tony Vroon (tonyvroon) said :
#8

Provided you don't use bitlocker on your Windows 10 installation... could you check if you have a "PTT security" option in your BIOS, and if so, turn it off. This is a software-emulated TPM that may be upsetting things. If you do have BitLocker enabled, changing anything TPM-related could endanger your data, so please check that first.

Revision history for this message
Alexander Nied (awnied) said :
#9

Thanks-- I don't believe I have Bitlocker to my knowledge, and this is Windows Home Edition so I believe it is not an available feature. I do not have a PTT entry that I see in my BIOS, but I *do* have a TPM entry. It is currently turned on but disabled-- I believe this state is where I left it in my last round of testing on trying to get my Ubuntu install up and running again. I'll admit I don't really have much of an understanding of what TPM is doing-- I was mostly just trying to troubleshoot. I took a photo of the TPM BIOS screen and uploaded it to imgur here: https://imgur.com/qaNGFTB

Revision history for this message
Tony Vroon (tonyvroon) said :
#10

Could you try with:
earlyprintk=vga,keep module_blacklist=nouveau,nvidia

This will appear in a strange font and will not be pretty, but it may give a better idea of kernel state when the system hangs. If you get useful text output to this, please attach a photograph.

Revision history for this message
Alexander Nied (awnied) said :
#11

Thanks for sticking with me on this problem. Unfortunately, that didn't yield anything. I tried adding it in the regular boot, the recovery boot for kernel v5 and kernel v4, and had the same exact result for all three. You can see [here](https://imgur.com/a/ou0TXFr) where I added it to the linux line for the v4 kernel, and the output. I waited about five minutes before I gave up.

FWIW, I didn't note it before but my machine has a 4k screen. I thought it would be an unimportant detail, but as I was researching my slow input time on GNU GRUB I found this post on AskUbuntu that notes it is an issue for 4K screens (which the 9550 has): https://askubuntu.com/questions/1227735/grub-is-extremely-slow-1-second-per-key-input

I still assume that it has no bearing on the issue being discussed here, but figured I'd raise it just in case.

Revision history for this message
Alexander Nied (awnied) said :
#12

@TonyVroon:
Also: At this juncture, since you've got me to the point where I can load the installer, would it make sense to try to leverage [Boot-Repair](https://help.ubuntu.com/community/Boot-Repair). Or is that unlikely to resolve any issues for me?

Revision history for this message
Launchpad Janitor (janitor) said :
#13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Alexander Nied (awnied) said :
#14

Sorry to reopen, but I'll take any advice anyone is willing to provide. I'd prefer to avoid having to do a full reinstall. My assumption was a standard upgrade from one LTS to another LTS shouldn't brick the OS-- is there something I should do differently in the future?

Thanks.

Revision history for this message
Launchpad Janitor (janitor) said :
#15

This question was expired because it remained in the 'Open' state without activity for the last 15 days.