Hi!
I have Mint8 installed and then i installed Win7.
All Windows install will remove Linux-boot, so i need info to restore Grub2-gfx-menu again.
How do i restore Grub2-gfx after Win7 installation?
Lost Grub2 after installing Win7
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Lost Grub2 after installing Win7
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Lost Grub2 after installing Win7
Hi,
You need to boot into a LiveCD. From there, open a terminal and mount your main Linux Mint partition. For the purposes of explanation I will use /dev/sda1.
Now you can reinstall grub by issuing this command in terminal, again assuming your device is /dev/sda
Cheers
You need to boot into a LiveCD. From there, open a terminal and mount your main Linux Mint partition. For the purposes of explanation I will use /dev/sda1.
Code: Select all
sudo mount /dev/sda1 /mnt
Code: Select all
sudo grub-install --root-directory=/mnt/ /dev/sda
Re: Lost Grub2 after installing Win7
Hi!
Thanks, but what happens now...I got Grub back, but it only comes up with something that look like a cmd-terminal with a command-prompt.
TAB show me a list over all commands.
I think i miss some config-file that contain information about OS-installation.
Thanks, but what happens now...I got Grub back, but it only comes up with something that look like a cmd-terminal with a command-prompt.
TAB show me a list over all commands.
I think i miss some config-file that contain information about OS-installation.
Re: Lost Grub2 after installing Win7
It sounds like grub2 needs update-grub ran to find everything again and make the menu. You should use the chroot (Method 3) method to reinstall and also run update-grub before leaving the chroot: https://help.ubuntu.com/community/Grub2 ... m%20LiveCD