I was trying to install endeavor alongside ubuntu but installation failed as it ‘could not add partition to device dev/sda’
log- https://termbin.com/lgot
It seems you have a MBR/UEFI install which is not common (actually this is the first time I am seeing such a setup made by someone else) . This might be confusing the installer. Make sure you are booted in UEFI mode, manually partition the drive and try again.
looks a bit strange indeed… but seems ubuntu is running on uefi mode…
First is to make sure you boot installer ISO without any modifications some USB writing tools doing…
And second is to check if ISo is booted in UEFI mode:
in a terminal run:
What you appear to have ended up with is an MBR partitioning scheme instead of GPT. Perhaps if you set up the partitions first (GPT), then use manual mode to select them for the install…
Of course, it might be enough to ensure you boot the ISO in UEFI mode - but I am not sure what’s where at the moment
BTW - this is not a normal outcome - so we’re not sure what you did!
For a BIOS mode install, you didn’t have to make an ESP (EFI System Partition) since the bootloader should be installed in the MBR of the disk and not onto a particular partition.
I guess, in order to install EnOS, you could boot your USB in Legacy mode, in the installer choose manuel installation and point it to the partition where you want it to be installed. Choose the MBR of the disk (/dev/sda) as the location for installation of the bootloader.
Is the computer UEFI? If it is then you should install it all in UEFI mode. Secure boot should be disabled, CSM mode turned off. No legacy UEFI only. Boot in UEFI mode not legacy. Install in UEFI mode. Don’t use legacy mode to boot the usb if your system is UEFI. If your computer does not have UEFI then install in MBR is obvious.
Why do you think your your laptop is booting in UEFI mode? The above command shows it’s not!
If you run the this command also as pointed out by @joekamprad it will show you if EFI variables are supported. If it say’s they aren’t supported then it’s not UEFI!
sudo efibootmgr
Edit: If it is UEFI then you have it set to be legacy only! It has to be set to UEFI with secure boot disabled, CSM turned off, UEFI mode only. Otherwise it wont even have these settings in the Bios.
Edit2: What is your hardware? You can post a link for this command.
The OP has already installed Ubuntu in Bios/Legacy mode
So for a dualboot to work properly, that is, for the grub to be able to add boot entries for both systems to the boot menu, the second system also needs to be installed in the same mode.