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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-05-2009, 03:45 PM
|
#1
|
LQ Newbie
Registered: Dec 2008
Posts: 17
Rep:
|
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.
|
|
|
11-05-2009, 03:59 PM
|
#2
|
Senior Member
Registered: Jun 2008
Posts: 1,821
|
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.
|
|
|
11-05-2009, 04:02 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
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
|
|
|
11-06-2009, 12:59 AM
|
#4
|
LQ Newbie
Registered: Aug 2009
Distribution: Red Hat Enterprise Linux
Posts: 5
Rep:
|
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.
|
|
|
11-06-2009, 10:08 AM
|
#5
|
LQ Newbie
Registered: Dec 2008
Posts: 17
Original Poster
Rep:
|
thanks everyone for your replies. i plan to re-install xp and will use info provided by you.
|
|
|
All times are GMT -5. The time now is 03:44 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|