Bug 383399 - KDE Neon loads into GRUB Minimal after a clean install
Summary: KDE Neon loads into GRUB Minimal after a clean install
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Live/Install images (show other bugs)
Version: unspecified
Platform: Neon Linux
: HI grave
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-11 16:20 UTC by arnav dhamija
Modified: 2017-11-29 11:24 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arnav dhamija 2017-08-11 16:20:06 UTC
I tried installing images neon-useredition-20170808-1021-amd64.iso and neon-useredition-20170810-1018-amd64.iso on my ThinkPad 13 laptop with a single 256GB M.2-SATA SSD. While the images do install using 'Use the Entire Disk', it is impossible to boot into Neon because I get a screen with GRUB Minimal Bash Like Editing is Supported. I am installing the OS in UEFI mode.

Using boot-repair through an ubuntu Live USB is unable to correct this issue. Browsing for this problem has suggested that many people have been having problems with installing these builds.
Comment 1 Lukas 2017-08-11 19:57:32 UTC
same problem here.
had internet connection on during install.
the efi folder or whatever the name is, is completely empty, so no wonder it wont work :). 
this is a reacurring bug, see here:
https://forum.kde.org/viewtopic.php?f=309&t=137368

the workaround worked for me for the time being, but the grub menu looks strange now :D
Comment 2 arnav dhamija 2017-08-12 11:46:29 UTC
(In reply to Lukas from comment #1)
> same problem here.
> had internet connection on during install.
> the efi folder or whatever the name is, is completely empty, so no wonder it
> wont work :). 
> this is a reacurring bug, see here:
> https://forum.kde.org/viewtopic.php?f=309&t=137368
> 
> the workaround worked for me for the time being, but the grub menu looks
> strange now :D

When I tried doing that, I got the message 'Can't find /dev/sda1 in /etc/fstab'. I also noticed that unless the computer has an active internet connection while installing, grub will fail to install at all and the installer will crash. If possible, is there a way to get an older image of Neon User where this wasn't a problem?
Comment 3 Thomas Pfeiffer 2017-08-12 16:28:20 UTC
I had the same issue.
In my case the issue was that EFI looked for grub.cfg in the EFI/ubuntu folder but it is in the EFI/neon folder.
Jonathan told me that there is a patch which should copy the file from /neon to /ubuntu but apparently that did not work.
Copying the file manually solved the problem for me.
Comment 4 arnav dhamija 2017-08-12 19:38:01 UTC
(In reply to Thomas Pfeiffer from comment #3)
> I had the same issue.
> In my case the issue was that EFI looked for grub.cfg in the EFI/ubuntu
> folder but it is in the EFI/neon folder.
> Jonathan told me that there is a patch which should copy the file from /neon
> to /ubuntu but apparently that did not work.
> Copying the file manually solved the problem for me.

Yeah, I c/ped from EFI/neon to EFI/ubuntu and happily got neon working on my computer today :) 

Still, I noticed that the installer crashes when installing neon without an active internet connection, but that is probably suited for another bug report.
Comment 5 Jonathan Riddell 2017-08-14 10:14:18 UTC
Copying the grub.cfg into /efi/ubuntu is done by the installer ubiquity

http://bazaar.launchpad.net/~kdeneon/ubiquity-neon/trunk/view/head:/d-i/source/grub-installer/grub-installer#L196
Comment 6 Jonathan Riddell 2017-08-14 10:28:40 UTC
EFI install not working without an internet connection is a bug in ubiquity which affects all flavours of Ubuntu. As such it's not a priority for us as we plan to change to Calamares anyway.
https://phabricator.kde.org/T4765
Comment 7 Jonathan Riddell 2017-08-15 12:46:55 UTC
sorted on today's ISOs
Comment 8 dth2 2017-11-20 20:49:24 UTC
Can this bug be reopened - as the same issue appears to affect the latest 'user' iso snapshot (18112017) and the previous version (17112017).  The snapshot of the 08112017 works fine.  It also affects the latest gitstable iso snapshot.

More info is shown in the forum topic:

https://forum.kde.org/viewtopic.php?f=309&t=142896&sid=ff0f7f7b6ffb1407e65705a3ced3a911
Comment 9 dth2 2017-11-23 20:13:59 UTC
Today's iso snapshot (23112017) still has the same failed grub install issue.
Comment 10 tungtanium 2017-11-27 10:01:40 UTC
Hi there,

I tried the ISO snapshot neon-useredition-20171123-1018-amd64.iso and encountered this issue as well. Is there any work around for this issue at the moment?
Comment 11 tungtanium 2017-11-27 10:03:03 UTC
(In reply to Jonathan Riddell from comment #5)
> Copying the grub.cfg into /efi/ubuntu is done by the installer ubiquity
> 
> http://bazaar.launchpad.net/~kdeneon/ubiquity-neon/trunk/view/head:/d-i/
> source/grub-installer/grub-installer#L196
Could you please show me how to run this script?
Comment 12 dth2 2017-11-29 11:24:49 UTC
See https://bugs.kde.org/show_bug.cgi?id=387390