LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-08-2011, 01:35 PM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 579

Rep: Reputation: 37
Grub question


Hi,

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.
Thanks
 
Old 06-08-2011, 01:49 PM   #2
amani
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, 02:06 PM   #3
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 579

Original Poster
Rep: Reputation: 37
Thanks Amani!
 
Old 08-06-2011, 12:35 PM   #4
Scaar
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Indeed, that should work.
 
0 members found this post helpful.
Old 08-06-2011, 01:13 PM   #5
darthpinguim
Member
 
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
darthpinguim
 
Old 08-07-2011, 06:30 AM   #6
allwimb
Member
 
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 06:42 AM.
 
Old 08-07-2011, 01:21 PM   #7
EDDY1
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.
 
  


Reply


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 12:14 PM
Two things: (Probably Simple) Grub question, and a gDesklets question Wilffo Linux - Software 3 05-20-2006 02:33 PM
Grub question TurboChicken Linux - Software 4 03-07-2006 01:00 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
Another GRUB Question amagaeru Linux - Software 1 10-18-2003 01:20 PM


All times are GMT -5. The time now is 08:48 AM.

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