Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-08-2011, 12:35 PM   #1
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali, Ubuntu, OpenSuse
Posts: 618

Rep: Reputation: 40
Grub question


I have a my desktop PC with 2 operating systems, Windows XP and Ubuntu 10.4. My windows xp partition is infected with a virus (of course, what else is new?) so I need to reinstall it but im afraid by doing so I will remove the grub files and ubuntu will not load.
Is there anyway to copy those files?
Please let me know.
Old 06-08-2011, 12:49 PM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
format the M$windows partition.

Use the ubuntu live cd in rescue mode ...instal grub to mbr
Old 06-08-2011, 01:06 PM   #3
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali, Ubuntu, OpenSuse
Posts: 618

Original Poster
Rep: Reputation: 40
Thanks Amani!
Old 08-06-2011, 11:35 AM   #4
LQ Newbie
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Indeed, that should work.
0 members found this post helpful.
Old 08-06-2011, 12:13 PM   #5
Registered: Feb 2011
Location: Belo Horizonte - MG - Brasil
Distribution: Ubuntu 12.04 / Debian 6
Posts: 32

Rep: Reputation: 0
Another option is to create a separate partition to /boot.
I guess a 200MB partition would do. Then when you face such a problem, all you'll need to do is use a live cd and rescue or reinstall the grub in the /boot partition.
Best regards
Old 08-07-2011, 05:30 AM   #6
Registered: Aug 2011
Posts: 47

Rep: Reputation: Disabled
Formatting the Windows partition and reinstalling Grub after that using the Live CD is easier and faster

spring logout

Last edited by allwimb; 12-12-2011 at 05:42 AM.
Old 08-07-2011, 12:21 PM   #7
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You can get into safemode & run AV from there.

To get to safemode select windows in grub & start pressing F8.
Grub loads windows reallly quick so you have to have finger at button or it won't boot to safemode.
CCleaner works really well to remove some of the entries in the registry.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB question. I want to delete the partition of the distro that installed GRUB... brjoon1021 Linux - General 2 09-29-2009 11:14 AM
Two things: (Probably Simple) Grub question, and a gDesklets question Wilffo Linux - Software 3 05-20-2006 01:33 PM
Grub question TurboChicken Linux - Software 4 03-07-2006 12:00 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
Another GRUB Question amagaeru Linux - Software 1 10-18-2003 12:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration