Answer the question
In order to leave comments, you need to log in
How to install grub2 after mbr to gpt conversion?
Hello! I converted mbr to gpt using the gdisk utility, the data remained, but the bootloader was lost (I have it from ubuntu 14.04 grub 2.02), tell me how can I install / restore it?
Thanks in advance!
ps using gparter, you can simply follow the description in the solution, but I didn’t create an unformatted partition, but just marked the partition at the beginning of the disk as bios grub and Linux easily picked up, but win7 does not want to boot. The question is still open, but it will probably be more relevant in a new topic.
Answer the question
In order to leave comments, you need to log in
You need to create an unformatted partition on the disk, 2 or more megabytes in size. Mark it with the "bios_grub" flag, and then install grub in the same way as on a regular mbr disk (namely, on a disk, not a partition, i.e. on sda).
Boot from any flash drive, mount the root of the system anywhere, and execute:
/ dev / sda1 - system disk
/ mnt - where you mounted the root
In general, I recommend using uefi already, there is a grub-efi-amd64 package
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question