Announcement
Collapse
No announcement yet.
Can not boot after installing
Collapse
X
-
[RESOLVED] Can not boot after installing
Last edited by Snowhog; May 20, 2024, 05:38 AM.Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.
http://www.kubuntu.org/getkubuntuTags: None
- Top
- Bottom
-
There possibly is a wrong entry (or a corresponding missing device) in your /etc/fstab.
Boot e.g. from a live USB stick, mount the root directory of the system you wanted to boot from in the screenshot and check its /etc/fstab for this UUID.
I stand corrected.Last edited by Schwarzer Kater; May 18, 2024, 03:57 PM.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
-
I tried two more times. Now I get:
instilation failed The bootloader could not be installed. The installation command <pre>grub install target=i386-pc -recheck -Force /dev/sda<pre> returned error code 1Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.
http://www.kubuntu.org/getkubuntu
- Top
- Bottom
Comment
-
Originally posted by steve7233 View PostI tried two more times. Now I get:
"instilation failed The bootloader could not be installed. The installation command <pre>grub install target=i386-pc -recheck -Force /dev/sda<pre> returned error code 1"
Why does the Partition creator uses MiB and the message about the bios-grub partition say 8 MB? When I was a kid I was taught about KB, MB, GB, and TB. I graduated high school in 1984. Apparently in 1997 they changed and no one told me. How I supposed to figure out what size to make the partition? In my opinion the new installer is a bit confusing! I hope the devs change it to be easier to understand.
Code:zeus@9600k:~$ df -h | grep efi efivarfs 256K 65K 187K 26% /sys/firmware/efi/efivars /dev/nvme1n1p1 200M 6.2M 194M 4% /boot/efi
https://help.ubuntu.com/community/Boot-Repair
Use this program from your install drive and let it do its thing.Last edited by RedGreen925; May 18, 2024, 06:54 AM.
- Top
- Bottom
Comment
-
It is 64 bit so I don't know why it does the i386 stuff but that is grubs installer or something. Next time I try another install I will try a 200 M.Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.
http://www.kubuntu.org/getkubuntu
- Top
- Bottom
Comment
-
The Calamares installer complains if the ESP is < 300 MB, so I would make it 304 or 320 MB.
Also don't use "CSM booting" or other "legacy" BIOS compatibility settings during installation if you use UEFI.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
Comment
-
Originally posted by Schwarzer Kater View PostThere possibly is a wrong entry (or a corresponding missing device) in your /etc/fstab.
I suspect, OP, you have booted the installer iso in BIOS/MBR mode, but the boot has found a leftover UEFI grub from a previous install. I suggest booting the installer again, carefully choosing a UEFI option, or disabling compatibility mode. Once the installer has booted in BIOS mode, it can only do a BIOS install, and in 2024 you probably don't want that.
Regards, John Little
- Top
- Bottom
Comment
-
Originally posted by jlittle View Post
It's not in the /etc/fstab, that's a grub error message,
I suspect, OP, you have booted the installer iso in BIOS/MBR mode, but the boot has found a leftover UEFI grub from a previous install. I suggest booting the installer again, carefully choosing a UEFI option, or disabling compatibility mode. Once the installer has booted in BIOS mode, it can only do a BIOS install, and in 2024 you probably don't want that.Last edited by steve7233; May 18, 2024, 04:46 PM.Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.
http://www.kubuntu.org/getkubuntu
- Top
- Bottom
Comment
-
Originally posted by steve7233 View Post
- Top
- Bottom
Comment
-
Originally posted by RedGreen925 View Post
That error still shows a grub BIOS install, it needs to be installing using the grub-efi binary to do an EFI install. Use in a Konsole window once booted into a try session the ls -l /sys/firmware/efi/efivars if it does not show you lots of things you are still booted in a BIOS mode and you need to go into the EFI firmware on your machine and disable the CSM compatability and set the boot option to UEFI Only. When booting the installer hit the for my board F12 key to load the one time boot option choose your drive to install from with the EFI:drive_name this will ensure an EFI boot. Once in the installer choose the use full disk option of the installer once you have confirmed the presence of the files in Konsole showing an EFI boot has occurred. If this does not work I will give the instructions to manually partition the disk in Konsole and then do a manual partitioning install steps. Only do the use full disk if there is nothing on the drive you wish to have left for use.Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.
http://www.kubuntu.org/getkubuntu
- Top
- Bottom
Comment
-
Originally posted by steve7233 View PostThe next brick house on the left
Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11| Kubuntu 24.04 | 6.8.0-31-generic
- Top
- Bottom
Comment
-
Originally posted by RedGreen925 View Post
That error still shows a grub BIOS install, it needs to be installing using the grub-efi binary to do an EFI install. Use in a Konsole window once booted into a try session the ls -l /sys/firmware/efi/efivars if it does not show you lots of things you are still booted in a BIOS mode and you need to go into the EFI firmware on your machine and disable the CSM compatability and set the boot option to UEFI Only. When booting the installer hit the for my board F12 key to load the one time boot option choose your drive to install from with the EFI:drive_name this will ensure an EFI boot. Once in the installer choose the use full disk option of the installer once you have confirmed the presence of the files in Konsole showing an EFI boot has occurred. If this does not work I will give the instructions to manually partition the disk in Konsole and then do a manual partitioning install steps. Only do the use full disk if there is nothing on the drive you wish to have left for use.Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.
http://www.kubuntu.org/getkubuntu
- Top
- Bottom
Comment
-
If I enable secure boot in the UEI bios and try to boot the live USB then I get an error. no boot partition.Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.
http://www.kubuntu.org/getkubuntu
- Top
- Bottom
Comment
-
Originally posted by steve7233 View PostNo. I switched to GPT as the installer said.
If that really is what you want, BIOS/GPT, Kubuntu will not mind, but rather than an ESP (EFI System Partition) you need a "biosgpt" partition. And I would not be surprised if the new calamares installer does not do BIOS/GPT properly; to use calamares I imagine you'd have to
- "Try Kubuntu"
- start a konsole, and run sudo calamares
- not specify an ESP (it complains but lets you proceed)
- run grub-install manually from the konsole, specifying the boot device
However, in 2024 I'm finding it difficult to imagine that you don't want a UEFI install. And to get that you have to boot the installer in UEFI mode.
IIUC secure boot is not much relevant.Regards, John Little
- Top
- Bottom
Comment
-
Originally posted by jlittle View Post[…]
And I would not be surprised if the new calamares installer does not do BIOS/GPT properly […]
https://www.kubuntuforums.net/forum/...822#post678822Last edited by Schwarzer Kater; May 19, 2024, 02:13 AM.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
Comment
Comment