PDA

View Full Version : [SOLVED] Installation aborted due to grub problem



mbocciab
November 1st, 2020, 03:58 PM
Hi everyone,
I was trying to make a fresh install of 20.10 on my desktop PC but for three times it stuck during grub install.
It's the first time I meet this kind of problems.
My system has a dual boot: one on 20.40 and the other user to be 19.10. I was trying to make this fresh install on previous 19.10 partition.
Now my system on startup on grub selection detects 20.10 (default) and 20.40 but it stucks when trying to start the 20.10.
Selecting 20.40 all is ok.

Any solution?

smojo
November 1st, 2020, 05:06 PM
I have the exact same problem with Groovy on an Late 2015 iMac
I create 16 Gig swap, 512MB EFI, rest ext4 root.
When booting from LiveUSB I also have to set nomodeset or i'm greeted with a black screen.

My existing install which was 20.04 was upgraded to 20.10.
This seems to have broken my installation.

I can boot with the old 5.4 kernel, if i want to boot with the 5.8 kernel i have to add nomodeset which is a bad experience....

mbocciab
November 1st, 2020, 05:54 PM
Thanks.
Here is the result of the command:

NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0
squash 0 100% /snap/cano
loop1
squash 0 100% /snap/core
loop2
squash 0 100% /snap/core
loop3
squash 0 100% /snap/obs-
loop4
squash 0 100% /snap/obs-
loop5
squash 0 100% /snap/gnom
loop6
squash 0 100% /snap/core
loop7
squash 0 100% /snap/gtk-
loop8
squash 0 100% /snap/core
loop9
squash 0 100% /snap/pych
loop10
squash 0 100% /snap/spot
loop11
squash 0 100% /snap/nmap
loop12
squash 0 100% /snap/pych
loop13
squash 0 100% /snap/keep
loop14
squash 0 100% /snap/gnom
loop15
squash 0 100% /snap/snap
loop16
squash 0 100% /snap/spot
loop17
squash 0 100% /snap/gnom
loop18
squash 0 100% /snap/subl
loop19
squash 0 100% /snap/snap
loop20
squash 0 100% /snap/snap
loop21
squash 0 100% /snap/snap
loop22
squash 0 100% /snap/musi
loop23
squash 0 100% /snap/keep
sda
├─sda1
│ ext4 4d2c5246-3759-4ada-b63c-bdf2c634cfc9 32,5G 66% /
├─sda2

├─sda5
│ ext4 ea4f69f5-99af-4c6a-bab8-010eb6affa6d
└─sda6
swap f53384ed-54ab-4e62-b424-32477a81630b [SWAP]
sdb ext4 Jupiter
e6f4f0f4-2160-47a2-ad84-cdf14f8d4682
sdc ext4 Rigel 4a2f4f0c-cb41-4bd6-9c05-74f756444df1
sr0

grahammechanical
November 1st, 2020, 07:03 PM
@ mbocciab

I am confused. You get the Grub boot menu and it lists 20.10 as the default and also 20.04. This means that Grub has installed correctly. So, what is the problem? Ubuntu 20.04 loads correctly but Ubuntu 20.10 does not load correctly. You say it gets stuck.

You could try selecting Advanced Options for Ubuntu at the Grub menu and then select a Linux kernel with a Recovery Mode. At the recovery menu select resume. Ubuntu should load with a basic video driver. If you successfully get to a desktop it might indicate that you have a video driver issue.

Regards.

mbocciab
November 2nd, 2020, 08:14 AM
When booting with 20.10 option (both safe or normal mode) I have the messages:


timed out waiting for device /dev/disk/by-UUID/F366-AE33
dependency failed for filesystem
dependency failed for /boot/EFI
dependency failed for local filesystem

started emergency sheel
reached target emergency mode

yancek
November 2nd, 2020, 01:57 PM
The information you posted in post 6 indicates that the system is looking for a /boot/EFI partition with the UUID of F366-AE33. The lsblk output in post 4 does not show an EFI partition. That would indicate there was an EFI partition with that UUID at some point and it no longer exists so can't boot EFI. Is your other OS installed in Legacy mode?

mbocciab
November 2nd, 2020, 04:58 PM
I installed OS always in the same mode. Booting from USB pen and installing.
Do you mean that the system is searching for the USB pen drive?
A peculiar thing about 20.10 installation is a kind of grub when booting from installation pen. I selected ubuntu and made me install from live version.

Frogs Hair
November 2nd, 2020, 05:22 PM
I had the same problem, but in my case grub did install despite the message that it did not. There are more reports on this problem.


https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1893964

mbocciab
November 2nd, 2020, 05:57 PM
I solved!
The problem seems to be in the fstab file.
Looking into the file you'll find that is still present the line referring to the installation media!!!! #-o:mad:
So. Open the file using sudo command and modify it by commenting the line referring to UEFI stuff.
Restart your fresh system and it'll be fine.