Linux Lite Forums

Software - Support => Installing Linux Lite => Topic started by: franco-jyq on August 12, 2020, 09:04:19 AM

Title: grub error - cant boot windows
Post by: franco-jyq on August 12, 2020, 09:04:19 AM
Hello, i tried to dual boot windows 7 and linux lite in my hp all in one omni 120. At first i had this problem "No EFI system partition was found". So i search in some forums and the solution was creating an Efi partition (256MB). After this linux lite started the installation but at some point it fails and show this error: “executing grub-install dev/sda failed" "fatal error".
Again looking for a solution ive reached this website that says enter in live mode and execute some commands in the terminal to solve it, the problem is that when i tried to launch in live mode it "crashes" and shows the entire screen in one color and start switching colors in loop.
The other problem is that i cant boot in windows because the bootable option doesn't appear anymore in the Bios.
Images: https://drive.google.com/drive/folders/1y7CvXYUI9A2IuJXk9ioWdc6O7HC9zBtn?usp=sharing (https://drive.google.com/drive/folders/1y7CvXYUI9A2IuJXk9ioWdc6O7HC9zBtn?usp=sharing)
Title: Re: grub error - cant boot windows
Post by: Moltke on August 12, 2020, 01:22:49 PM
Hello, i tried to dual boot windows 7 and linux lite in my hp all in one omni 120. At first i had this problem "No EFI system partition was found". So i search in some forums and the solution was creating an Efi partition (256MB). After this linux lite started the installation but at some point it fails and show this error: “executing grub-install dev/sda failed" "fatal error".
Again looking for a solution ive reached this website that says enter in live mode and execute some commands in the terminal to solve it, the problem is that when i tried to launch in live mode it "crashes" and shows the entire screen in one color and start switching colors in loop.
The other problem is that i cant boot in windows because the bootable option doesn't appear anymore in the Bios.
Images: https://drive.google.com/drive/folders/1y7CvXYUI9A2IuJXk9ioWdc6O7HC9zBtn?usp=sharing

Fisrt, there's a UEFI dedicated section on the forum you can use in the future https://www.linuxliteos.com/forums/uefi-secure-boot/  Second, you might try this https://www.supergrubdisk.org/category/download/rescatuxdownloads/rescatux-stable/ download and burn to a USB, boot the OS and it has a nice tool with some easy to use options for rescuing/fixing your system

(https://www.supergrubdisk.org/wp-content/uploads/2020/03/rescapp-0.56-main-menu.png)

As you can see in the image above it has some options for windows. I haven't used this for rescuing/fixing windows' systems but it does work pretty good with Linux. Also, there's a Spanish section here https://www.linuxliteos.com/forums/spanish/ for us Spanish speakers in case you need to post in that language since I noticed in your screenshots that's your lang and it is mine too :)

Hope this helps! :)
Title: Re: grub error - cant boot windows
Post by: Şerban S. on August 13, 2020, 12:30:02 AM
[...] "No EFI system partition was found". [...]

Hello! :)
You need to study thoroughly the difference between BIOS firmware, which uses MSDOS partitioning mode and UEFI, which uses GPT partitioning mode.
Then you need to delete all partitions, then CREATE A NEW GPT PARTITION TYPE.
After changing the partition type from MSDOS to GPT (or GUID), you can proceed to create the logical drives, as described in the manual:


You have to understand the difference between the two types of partitioning.
After this, you can proceed installing Linux Lite, as described in UEFI install, in the above mentioned manual.
You need to take care on what type of image you choose at boot time. You have to press F12 (usually, it largely depends on machine's firmware manufacturer so read computer's User's Guide on firmware and boot options) to show the boot menu provided by the firmware at POST.
You also need to reinstall Windows as long as you want dual boot.
I can point you at a video I made some time ago on GPT partitioning, but my primary language is Romanian and it might prove confusing.
I found something in English though...
https://www.youtube.com/watch?v=aGRQsONv0vA

Good luck! :)