[SOLVED]Reinstalling grub

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

[SOLVED]Reinstalling grub

Postby indelible on Wed Jun 01, 2011 4:21 am

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 indelible on Thu Jun 02, 2011 10:00 am, edited 1 time in total.
indelible
Level 1
Level 1
 
Posts: 38
Joined: Wed Jun 18, 2008 4:17 am

Linux Mint is funded by ads and donations.
 

Re: Reinstalling grub

Postby sumski on Wed Jun 01, 2011 4:38 am

Acer Extensa 5630G - Core2Duo T5800 2GHz , 4 GB ram, Ati Mobility 3650.
OpenSUSE 12.1 KDE 4.7.3
Debian Sid KDE 4.7.1/2
User avatar
sumski
Level 3
Level 3
 
Posts: 109
Joined: Fri Nov 26, 2010 6:36 am
Location: Zagreb, Croatia

Re: Reinstalling grub

Postby indelible on Thu Jun 02, 2011 8:56 am


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
indelible
Level 1
Level 1
 
Posts: 38
Joined: Wed Jun 18, 2008 4:17 am

Re: Reinstalling grub

Postby lmintnewb on Thu Jun 02, 2011 9:01 am

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
lmintnewb
Level 7
Level 7
 
Posts: 1574
Joined: Fri Apr 01, 2011 5:13 pm

Re: Reinstalling grub

Postby indelible on Thu Jun 02, 2011 9:42 am

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
indelible
Level 1
Level 1
 
Posts: 38
Joined: Wed Jun 18, 2008 4:17 am

Re: Reinstalling grub

Postby wayne128 on Thu Jun 02, 2011 9:51 am

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
wayne128
Level 9
Level 9
 
Posts: 2830
Joined: Tue Jul 13, 2010 12:15 am

Re: Reinstalling grub

Postby indelible on Thu Jun 02, 2011 10:00 am

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
indelible
Level 1
Level 1
 
Posts: 38
Joined: Wed Jun 18, 2008 4:17 am

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 2 guests