This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

executing grub-install dev/sda failed

wang757

Fri Nov 01, 2019 12:22:38 am

Hi
I can not install Zorin OS. It showed executing 'grub-install dev/sda' failed, and I don't know what to do. Anyone can help?
My computer is Lenovo, and its boot mode is UEFI. I don't know where is wrong.


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E6F44725-F574-48A9-A131-343BE5F2E253

Device Start End Sectors Size Type
/dev/sda1 2048 2050047 2048000 1000M Windows recovery environment
/dev/sda2 2050048 2582527 532480 260M EFI System
/dev/sda3 2582528 4630527 2048000 1000M Lenovo boot partition
/dev/sda4 4630528 4892671 262144 128M Microsoft reserved
/dev/sda5 4892672 214609919 209717248 100G Microsoft basic data
/dev/sda6 214609920 794005503 579395584 276.3G Microsoft basic data
/dev/sda7 794007552 1254805503 460797952 219.7G Microsoft basic data
/dev/sda8 1357207552 1930645503 573437952 273.4G Microsoft basic data
/dev/sda9 1930647552 1953523711 22876160 10.9G Windows recovery environment
/dev/sda10 1254805504 1255976959 1171456 572M EFI System
/dev/sda11 1255976960 1263790079 7813120 3.7G Linux swap
/dev/sda12 1263790080 1357207551 93417472 44.6G Linux filesystem


I install boot loader in sda10 or sda12. I tried both ,but it did not work.
thanks!

Swarfendor437

Fri Nov 01, 2019 7:14:06 pm

OK, not had much experience myself formatting to GPT method which is what is used in EFI systems. Firstly looking at the GNU/Linux partitions - they are all wrong. Linux swap, just like the swapfile in Windows should be at the end of a drive/be the last partition. Because GPT is in use unlimited number of partitions is possible. It might be that you need to enable BIOS GRUB which appears on my system but does not boot into anything, probably because I did not use GPT partitioning. Is SDA an SSD? I am somewhat bemused by all the Windows Data partitions. If it relates to where data is kept I would only have one data partition. That said, if I had to used a notebook with an SSD I would prefer it to come with a traditional HDD for data as SSD's once wiped cannot recover any data that is deleted in error, or use an external HDD.

See if this guide for a different Lenovo notebook helps you:

https://www.infofuge.com/how-to-install ... apad-330s/

Before you start playing again, ensure you backup all your critical data and any programs that you installed after Windows 10 ran for first time.