LinuxQuestions.org
Review your favorite Linux distribution.
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 11-05-2009, 03:45 PM   #1
ghataknav
LQ Newbie
 
Registered: Dec 2008
Posts: 17

Rep: Reputation: 0
Arrow loose linux also when windows crashes


hi,

honestly speaking, i not a newbie to linux. i've been using linux for almost 4 yrs now and there is one problem that has bothered me for all this time. i have searched for solution on the net and in many forums (including this one), but failed. let me explain:

i have always used linux (prefer fedora) dual-booted with my windows xp (always installed xp first and then fedora). i boot into either fedora or xp and things work perfectly fine. but problem occurs when my xp crashes and i need to reinstall xp. at that time, xp over-writes the grub boot loader with the nt loader and i loose my linux also in this process. so, i need to reinstall linux after i install xp all over again (i have never seen an option to install only the grub bootloader in the fedora distribution cds/dvds). this causes a lot of frustration. xp crashing is understandable. but, reinstalling linux even when it has not crashed! that hurts!

i have a single hard drive with multiple partitions.

1). is there some way by which i can avoid the efforts of installing linux all over again the second time and yet be able to access it after reinstalling xp?
2). can boot manager tools help me achieve this?
3). can a rescue cd help? but nowadays, there is a single dvd for installation.

please suggest a solution to this old problem.

thanks in advance.
 
Old 11-05-2009, 03:59 PM   #2
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,796

Rep: Reputation: 213Reputation: 213Reputation: 213
Tools...

There is this GRUB repair utility you might try.

http://www.supergrubdisk.org/

I think that you can use any live-cd from a distribution that uses GRUB to install and repair Grub, assuming you know what you are doing.

Here is a quick howto for restoring GRUB with Ubuntu.

http://apcmag.com/how_to_dual_boot_l...rst.htm?page=5

Last edited by thorkelljarl; 11-05-2009 at 04:03 PM.
 
Old 11-05-2009, 04:02 PM   #3
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Ehh some of the live cd's use lilo but for the most part there are many many that use grub. You could even make you a bootable USB stick to reslove the issue. I have done this many times after reinstalling windows. Just grab you a rescue version that is small and will fit on something with 128mb
 
Old 11-06-2009, 12:59 AM   #4
puneetgomzi
LQ Newbie
 
Registered: Aug 2009
Distribution: Red Hat Enterprise Linux
Posts: 5

Rep: Reputation: 0
I suffered from the same problem for a while. But later i realized that after we install windows, it modifies the grub configuration. Windows makes itself the default as such Linux gets hidden in the background. To recover linux, i edited grub configuration file which works fine for me even now when i install Windows over Linux.

The most efficient and easy way would be to using rescue mode of your installation CD/DVD

Put DVD/CD in the drive and reboot your system.
Once the CD menu opens, type "linux rescue" command.
Once it enters the rescue mode, type "chroot /mnt/sysimage"
Go the grub configuration file and change the "default" value to the one which belongs to linux kernel.

I hope it solves your problem of re-installing linux again and again.
 
Old 11-06-2009, 10:08 AM   #5
ghataknav
LQ Newbie
 
Registered: Dec 2008
Posts: 17

Original Poster
Rep: Reputation: 0
thanks everyone for your replies. i plan to re-install xp and will use info provided by you.
 
  


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
Linux crashes after formatting windows vipin_jss Linux - Newbie 2 09-28-2008 06:10 PM
Windows Runs fine, Linux Crashes OC problems.... Chaosbringer Linux - Hardware 7 08-08-2008 09:33 PM
Unistall Win without loose Linux puntino Linux - Newbie 2 05-04-2007 07:10 PM
Why do I loose Linux when I shutdown or reboot ? wertaylors Linux - General 4 04-06-2007 02:52 AM
Power drops - Linux crashes, Windows doesn't...? Barry Bingham Linux - General 3 04-29-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 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