I have a HP Elitebook Bang&Olufsen laptop installed with a corporate Windows OS distribution. I recently decided to make it into a dual boot with Ubuntu 22.xx LTS. Steps:
- Go into the only Windows partition with Admin privileges.
- Disk Manager >> Free up disk space -- gives unused / unassigned disk space following the Windows Partition.
- Rebooted, went into BIOS and changed boot order to boot from USB as first priority.
- Inserted Ubuntu bootable USB disk and installed Ubuntu in unused partition with SWAP partition also.
- Reset BIOS to primarily boot from Ubuntu bootloader (new entry)
- Reboot computer
- At GRUB loader window two options: Ubuntu or Windows
- If I go into Ubuntu -- all works as it should
- If I go into Windows -- reaches a factory reset / recovery mode and asks for a password - I cancel loading.
- Instead of Step 5 I can go to BIOS and set primarily boot from Windows bootloader
- Reboot computer
- Directly boots into Windows partition with no problems
I am working with this BIOS changing hack each time I want to switch between Ubuntu and Windows. What is happening and how do I fix it please?
[I have not included any OS version numbers or screenshots because I do not know what is relevant and what is not. With my little knowledge I also have a hunch this is OS version agnostic and some mess up with partitioning or installing GRUB.I will provide them as and when helping people asked.]