Please anyone help me it's the third time I try and fail, I did everything that it want
When installing Zorin 17 Lite, encountering the error "executing grub-install /dev/sda failed" suggests there might be a problem with the bootloader installation. Here are detailed steps to troubleshoot and resolve this issue:
- Verify Boot Mode:
- Ensure you are booting the Zorin 17 Lite installation media in the correct mode (UEFI or BIOS). This should match your system's firmware settings.
- Check Disk Setup:
- During installation, ensure the target disk
/dev/sda
has a proper partition table:- For UEFI systems: A GPT partition table with an EFI System Partition (ESP).
- For BIOS systems: An MBR partition table with a BIOS Boot Partition if necessary.
- Use the Correct Command:
- Verify that you are using the correct command with the correct syntax:
grub-install /dev/sda
. - Ensure there are no typos or missing slashes.
- Boot from Live USB:
- Boot from the Zorin 17 Lite live USB.
- Open a terminal.
- Mount Partitions:
- Identify your root and EFI partitions using
lsblk
orfdisk -l
.
sh
Copy code
sudo fdisk -l
- Mount the root partition:
sh
Copy code
sudo mount /dev/sdaX /mnt # Replace sdaX with your root partition
- If using UEFI, mount the EFI partition:
sh
Copy code
sudo mount /dev/sdaY /mnt/boot/efi # Replace sdaY with your EFI partition
- Bind Mount System Directories:
- Bind mount necessary system directories:
sh
Copy code
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
- Install GRUB:
- Inside the chroot environment, install GRUB:
- For BIOS systems:
sh
Copy code
grub-install /dev/sda
* For UEFI systems:
sh
Copy code
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=zorin
- Update the GRUB configuration:
sh
Copy code
update-grub
- Exit and Unmount:
- Exit the chroot environment and unmount all partitions:
sh
Copy code
exit
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt/boot/efi
sudo umount /mnt
- Reboot:
- Reboot your system:
sh
Copy code
sudo reboot
compliments from AI
PS: check #1 and #2 first, it's probably that
Could you send us an image of what your disk layout looks like? Using gparted in the live session or something similar? Also are you trying to do a dualboot or are you just wiping the entire drive? There's a lot of questions I have, so before I would like to give you any information, if you can answer those, that would help narrow down some of the causes.
Hi and welcome to the forum.
See basic pre-installation advice here: Before you install
Question: is your Drive an eMMC device?
What make/model PC is it?
There is a similar issue from the past, discussed here: Installation error: Executing ’grub-install /dev/mmcblk0p4’ failed
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.