Cannot dual boot Ubuntu/Windows 10 on HP laptop

I've been trying to install and run Ubuntu on my HP laptop (HP laptop 15t-dy100, Core i5 U series 10th gen Intel processor, 12GB RAM, 64-bit OS, x64base processor) for the past few days with no avail. I've set aside about 90GB of unallocated disk space for Ubuntu, tried install/boot with Secure Boot on and off, I've let Ubuntu partition for dual boot and I've tried manually (25GB /, 64GB /home, 6GB Linux-swap, EFI folder I just selected the one Windows came with), but nothing seems to work. Most often it returns no errors (except the occasional flash of "error communicating to TPM Chip", but I don't think that would affect boot).

I've been through the EFI files, no sign of Ubuntu or grub2, however, I can boot from a USB drive, which some others with a similar issue couldn't. When setting up the live USB I used Rufus (I tried both MBR and GPT systems just because it wasn't working when installing (live USB worked though), although I'm pretty sure it doesn't matter with UEFI). I tried looking further into it with EasyUEFI, which does list Ubuntu, but the file path doesn't actually exist.

Partitioning:

Partitioning
(Click image to enlarge)

UEFI settings:

settings(Click image to enlarge)security(Click image to enlarge)Config(Click image to enlarge)Boot Options(Click image to enlarge)

Boot Options + error:Boot Options(Click image to enlarge)EFI Boot Options(Click image to enlarge)No Valid File Error(Click image to enlarge)

3 Answers

Method 1 If you have dual boot with windows then create partitions using the disk management tool according to what amount of disk space you want to give to Ubuntu. Also create a partition to provide swap to Linux.

Method 2 If you have installation errors or if you accidentally removed windows the use live Ubuntu usb and create partition of your choice. According to me use only the / directory with ext4 filesystem. Ignore /home.

1

If you didn't already do this when you installed Ubuntu, it's best to select "/" as the device for bootloader installation. That way, you'll boot straight into grub2 and then can boot into Windows or Ubuntu (Ubuntu by default).

1

Apparently I had to go into GParted and create two different partitions first: one with swap, and one with ext4. When doing the setup wizard, I was then able to partition manually, and use the ext4 as /, and swap would automatically sync. I also used /dev/nvme0n1 as the bootloader device, and it worked perfectly :)

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like