Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
I need a little help ,
I currently have a dual boot WinXP (for the wife .. can't convince her to use Linux) and a fully configurated perfectly running Fedora Core 1 ( took a long time to have it all my way , so I really don't wanna start over again )
Here's the problem
I first installed Win XP and then Fedora , with grub on the MBR (cause grub can boot winXP ) so I have a dual boot choice from grub from the MBR . Now I recently tried to install windows XP service Pack 1 and told it to backup old files ,, and then Install the sevrice pack .. and than it happened .. during the install of the newer files of the service pack , winXP frooze , and the only thing left was to reset .. and you can guesss it .. windows won't boot .. (Linux does , otherwise I wouldn't be typing this) .
Now for me its no problem to reinstall windows , but it automatically will overwrite my MBR and therefore also my capability of starting grub and Linux ..
How am I to go about this (besides telling the wife Windows doesnt exist anymore and Tux took over , deal with it :-) ) ?
Is it possible to either change the location of grub and make a bootfloppy so I can stil boot into linux after an MBR overwrite ? , or make an exact cpoy of the MBR (is this possible!!) so after a reinstall of winXP I can put the old MBR back ?
well, you can make a boot floppy so you can boot into linux when the mbr is set to windows. then you could reinstall windows, then use the boot floppy to get into linux and reinstall grub onto the mbr, which should work. not sure how to make a boot floppy, shouldnt be hard to find out with google (too tired now).
alternatively you could do what i did (my family relies on me for computer help) tell them if they wanna use windows they do it themselves, but if they use linux, youll go out of your way to fix every problem and make it work as well as possible. i now have every desktop in my house on linux
I recently add reinstall WinXP. I wasn't using it for weeks and when I really needed it (Microsoft Visio) it would boot. I was also afreid to lose grub so I checked that I had a bootable disk. With it I could boot into linux and reinstall grub. So I reinstalled winxp (repair resintall not full) and my grub is still there!! Maybe you'll be that lucky too
But as drigz said, the solution is to have bootable disk.
you dont have to reinstall windows just boot up with the windows cd go tot he recorvery console and type fixmbr and yes this will rewrite your MBR so you will have to make that linux boot floppy and reinstall grub.
What I do...
Find where what the /boot partition is on.
# /sbin/fdisk -l
Do a grub-install /dev/hda? (probably hda2)
Then peel off the first 512 bytes from it.
# cd /
# dd if=/dev/hda2 of=bootsect.lnx bs=512 count=1
Put the bootsect.lnx on C:\
Edit boot.ini
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\bootsect.lnx="Slackware 9.1"
i have found that if you run the "Repair Installation" from the WinXP Install CD instead of a brand new install, it won't touch the MBR. can't guarantee that is always true, as i've only used the repair install option once. but when I did, the mbr was still the way i had left it, with GRUB running the show.
also, when i did the repair, it got rid of all the of the service packs, hotfixes, and other Windows Update downloads i had done, so it should restore you from your bad Service Pack upgrade.
Originally posted by doralsoral you dont have to reinstall windows just boot up with the windows cd go tot he recorvery console and type fixmbr and yes this will rewrite your MBR so you will have to make that linux boot floppy and reinstall grub.
That depends. If WinXP is screwd up, it wont boot. No matter what you do with the mbr :P
if it was the mbr that was the problem, reinstalling grub should have fixed it. this would mean that your title is a bit misleading. i reckon doing a windows repair should fix it as it seems to be a problem with hte windows install. this is very easy - just boot up from the winxp cd and follow instructions to repair. it will be apparent.
this wont lose your data etc. just will replace windows system files.
I think I will do a clean install xp (more problems lately and i thougt a service pack and updates could help) after making a linux bootdisk ,
thanx for your tips and i'll let you know if I succeed ..
Well it didn't go that well after all , after making a linux boot flop and testing it after a FIXMBR in windows xp recovery console (i.o.w mbr is clean and without grub) , I was still able to boot linux from the flop , so I thought lets go and install XP (and later on overwrtite the mbr with grub which can start XP )
The XP install went allright but no internet .... but worse was ........
when trying to boot linux from flop ... nothing happend and grub wasn't able to find linux partitions at all .... whhhhhaaaa!!!! so Linux gone , XP not being able to acces the internet ..... well everybody knows the frustration if you experiment with your pc
Result .::::::
I cleaned out my disk completely and told my girlfriend to get used to Linux , and installed Fedora, on the entire disk and that is my distro now , works great ... and no more windows !!!!
...besides telling my wife Windows doesnt exist anymore and Tux took over
and your last post:
Quote:
I cleaned out my disk completely and told my girlfriend to get used to Linux
I dont mean to pry into your personel life (wife && girlfriend).... (j/k)
But onto the subject, here is a link that shows how to boot linux from the windows bootloader. I know its too later that you got rid of windows but maybe in the future.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.