Right so I received my Dell XPS 13 (my goodness, it's beautiful) and have proceeded to spend the whole of yesterday and today so far trying to install 18.04 on it (it comes with 16.04).
It would install, reboot, & throw me in the Grub command line. Tried with FDE & without. Same.
Can now manually get it to boot from grub with:
> set root=(hd0,2)
> linux /vmlinuz
> initrd /initrd.img
It boots but it's back to grub next reboot.
Tried sudo update-grub && sudo grub-install
The issue and solution: https://ubuntuforums.org/printthread.php?t=2396045&pp=10&page=1
That only took two days! :)
Many thanks to @ciaby for helping me :)
Now: do I try installing Pop!_OS again (initially it didn’t even boot the live disk on stock 16.04 on the XPS) or leave well enough alone for now? :)
What happened to your tuxedo laptop?
@dataKnightmare Had to send it back as there were multiple issues (I think I got a lemon and they were very nice about it). At the same time Barton managed to get Dell Ireland to solve the pricing issue and shaved a grand off the price of the XPS so I got that instead.
@aral hmmm. I was almost ready to by mine... think I'll shop around some more
@aral thanks for the feedback!
The XPS is really nice, but comes with an i5, & I had a feeling for the quad-core i7 on the tuxedo...
@dataKnightmare No i5s here ;)
Wow, isn't that a beauty
@ciaby Yeah, that's what I'm thinking but how do I tell it “look here!?” :)
Partitioning was different based on wether I installed with FDE or not. In both, boot is on (hd0,2) and boot from grub command line works. update-grub and grub-install both succeed.
Everything succeeds… except, you know, actually booting from disk! 😱
@ciaby (Reading the Grub 2 manual now) :)
@ciaby PS. In case it helps, the tree of /boot/efi/ … shouldn’t the ubuntu directory have more files in it?
@ciaby This is the one in boot/efi/EFI/grub/grub.cfg.
There’s also a much longer one at /boot/grub/grub.cfg
@ciaby (Needless to say, I don't see any of those options defined in the menuentry statements during my boot.)
@ciaby Will try that now, thanks :)
@ciaby Yep, it chain loaded the second – I got the menu and it booted correctly from it.
*starts to sob silently* :)
@ciaby You know, something told me my first experience with my first Linux laptop would be like this… ;)
(Thanks again, hexdump it is!)
On the bright side, I'm learning a metric shit-tonne about firmware, boot loaders, and grub :)
@ciaby 🎉 Got it working! 🎉
I was right about the /boot/efi/EFI/ubuntu directory looking a bit anemic ;)
PS. Thank you so much for your help. It helped a lot to know I wasn’t missing anything :)
@ciaby I’m wondering if the issue is at the firmware level.
@ciaby (Ah, I see that one loads the other. The drive uuid is correct.)
@aral Why no Librem? Just interested in this product.
@aral so what did Ubuntu change between 16 and 18 that would defeat basic booting?
#: grub-mkconfig -o /boot/grub/grub.cfg
This is my personal Mastodon.