[SOLVED]Reinstalling grub

Archived topics about LMDE 1 and LMDE 2
Locked
indelible

[SOLVED]Reinstalling grub

Post by indelible »

Hi mint users. I need to install Windows xp in my netbook along with my lmde. I need a quick advice on how to reinstall grub after that without mess up my lmde partition. Thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
indelible

Re: Reinstalling grub

Post by indelible »

none of this methods works.i got an error when i try to install grub.(/usr/sbin/grub-probe ; error ; cannot stat /dev/sda5).anyway i boot in my system using Super grub disk i also try to repair it but nothing.Is there a way to install grub from my booted lmde system.please help
lmintnewb

Re: Reinstalling grub

Post by lmintnewb »

Try this ... know it works w grub legacy. Have done similar recently myself to reinstall to mbr and a particular partition. Poss works with grub2 as well. Either way will only take a couple mins to find out.

http://ubuntuforums.org/showthread.php?t=224351
indelible

Re: Reinstalling grub

Post by indelible »

lmintnewb wrote:Try this ... know it works w grub legacy. Have done similar recently myself to reinstall to mbr and a particular partition. Poss works with grub2 as well. Either way will only take a couple mins to find out.

http://ubuntuforums.org/showthread.php?t=224351
thank you but this one didn't help.when i put ''sudo grub-install --root-directory=/mnt /dev/sdX'' in terminal i got the error described above
wayne128

Re: Reinstalling grub

Post by wayne128 »

You might need to purge grub and reinstall.

Refer to ubuntu grub2 document
https://help.ubuntu.com/community/Grub2 ... ng%20GRUB2

Go to 12

use Method 4, purge and reinstall
indelible

Re: Reinstalling grub

Post by indelible »

wayne128 wrote:You might need to purge grub and reinstall.

Refer to ubuntu grub2 document
https://help.ubuntu.com/community/Grub2 ... ng%20GRUB2

Go to 12

use Method 4, purge and reinstall
i solved.thanks anyway.from root ''grub-install /dev/sda'' and this work.i think your method works too as well.thank you
Locked

Return to “LMDE Archive”