Hi there, I recently tried to upgrade from 22.04 LTS to 24.04 LTS on a dual boot system with Windows 10. The upgrade failed and I have since installed 24.04 from a USB but this does not boot and drops out into grub-recover. I have read that on 24.04 the option to dual boot to Windows 10 has been disabled for security reasons nd needs to be switched back on. I have installed boot-repair from a live system and was not able to create a bootable system. I have created a diagnostic file as instructed at https://paste.ubuntu.com/FRvdDqFx Any help with recovery fixes would be appreciated Ian
When clicking on the link there is an error message: https://prnt.sc/TRZ230PBpGa3 Try running the boot repair again from a live system and post the pastebin link here. Thanks.
System-Info Script Boot Info Script Ubuntu Member
Thanks Rubi1200. I have just run boot-repair again from a live system and get the following message 'GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again. Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.' I have run the diagnostic and created a pastebin file at https://paste.ubuntu.com/p/2jfVCDshj4/ Thanks Ian
You have Ubuntu in UEFI mode with GPT and Windows in Legacy mode with msdos partition table. Mixed mode dual boot should be avoided. Would you consider re-installation of Windows in UEFI mode with GPT?
+1 for tea for one's suggestion. Microsoft required vendors to install in UEFI boot mode to gpt partitioned drives starting in 2012 with release of Windows 8. But you have UEFI system, so not sure why Windows is in old pre 2012 BIOS boot mode. Note that conversion from MBR(msdos) to gpt normally totally erases a drive, so good backups required. And you cannot restore a MBR image to gpt drive, so backup must be of data, not image. Have seen that Microsoft has a conversion tool, but many that have tried it, ended up with a new install anyway.
UEFI boot install & repair info - Regularly Updated : https://ubuntuforums.org/showthread.php?t=2147295 Please use Thread Tools above first post to change to [Solved] when/if answered completely.
Many thanks - will try to restore my 20.04 installation which did dual boot and hopefully back things up again. Need to read up to better understand UEFI boot.. Thanks again Ian
Pious hope that the old 20.04 installation might work proved to be just that.. Have now re-installed Windows 10 as UEFI boot.. ..the old Windows disk was unreadable.. Is it now safe to install Ubuntu 24.04 for a dual boot system? Thanks Ian
Should be. What model PC? Some have some vendor specific tricks like "setting trust" or requiring specific names for the grub/shim bootloaders.
When installing to a separate drive, I always use gparted, make sure drive is gpt and add ESP - efi system partition of the size I want, not some auto created size or a default on the wrong drive. Then use manual install to choose correct ESP & partition for / (root).
Thanks again. The PCC is a Dell Optiplex 3020 with 2x500Gb SSDs It was possible to install Ubuntu 20.04 LTS without any bother originally and the grub dual boot worked well. The upgrade to 22.04 was OK but not 24.04.. I have only ever used the default settings when installing to the second drive - will need to read up. Thanks again Ian
Ubuntu Forums Code of Conduct