Linux - NewbieThis 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.
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.
You'll need to boot from the XP installation disc and go into rescue mode. You will get a DOS shell where you need to run the command 'fixmbr' - this will wipe out GRUB and your computer will boot back into XP as it did before Linux.
Then, you'll need to wipe out the Linux partitions using the tools you have on XP. To do this, right-click on "My Computer" and choose "Manage". Go into "Disk Manager" and identify the ext3 and swap partition. Delete those partition (be careful not to delete an XP partition) and create XP partitions in their place. Format the new partitions and give them a drive letter (like D: or E: ...).
I tried this earlier but as long as grub remains in the machine
it does allow the Xp cd to proceed any further .When the cd is inserted only the 1st screen comes showing the message "Setup is inspecting your hardware configuration" and afterthat it remains blank ( black screen appears ).
GRUB is not the cause of this problem. I don't know what is the cause, but it has nothing to do with GRUB. If your computer successfully booted from the Windows installation CD, and then got stuck, you should ask about it in a Windows forum. There could also be something wrong with the computer, or maybe you have special hardware that requires special drivers during installation.
As you are mentioning that Grub may not be the problem .
But there is nothing wrong with the computer and the machine
didn't get stuck the machine still runs but the screen remains black .
You have to enter your bios and set it to boot from the cd device first.Also you cannot delete a swap or ext3 partition in windows because windows does not recognize the filesystem. So unless you want to invest in software like Partition Magic? I would use the linux disc to format the linux partitions into FAT so windows will recognize them and then boot from the windows disc and restore the MBR.
main problem is that though I can boot from the Xp cd .
It does not proceed further after a certain point saying
"Setup is inspecting your hardware configuration " and then
the screen goes blank .
Boot from the windows XP CD, press the "R" key in the setup in order to start the restoration console. Select your windows XP installation from the list, and enter the administrator password.
Enter the command: "FIXMBR" (without the quotes) at the input prompt and confirm the next question with a "Y" (without the quotes). Use exit to restore the computer.
Also Have you tried using the fedora disc to remove grub? I have not used fedora in a few years but all distros usually have a repair option somewhere. If the XP disc won't boot then I would say that the media is bad and may wanna see if you can get another copy or like I stated above you need to set up your bios to boot from CD first? Otherwise use the fedora disc and remove grub with fdisk. You will also have to format the linux partitions to FAT so they can be used or reformatted in windows.
There are alot of tools out there such as Live linux distros and Bart's bootable CD-Roms use google this problem is all over the internet.I would suggest removing Windows that would be easier to do but that's just me.Either way back up anything you don't want to lose before doing anything!
The Windows installer will often not recognize a drive which has "Non-Windows Stuff" in the MBR--or possibly anywhere in the first 63 sectors. I seem to remember that just erasing the MBR will fix it, but you might have to erase all 63....
From any live CD (including most linux install CDs):
dd if=/dev/zero of=/dev/sda bs=512 count=63
The above assumes you want to act on the first hard disk.
Quote:
Originally Posted by Udi
If your computer successfully booted from the Windows installation CD, and then got stuck, you should ask about it in a Windows forum.
The Windows installer will often not recognize a drive which has "Non-Windows Stuff"
Try won't ever! They proved again in Vista that they have no plans to play nice with any Linux distro.They know people dual boot so it would be nice to have access to those partitions no matter which OS you boot into.I never had a problem accessing a windows drive from linux.But windows to linux has never worked without some third party app.I used EXT2 IFS in vista and thought I had traveled back in time too 1995.I was met with a blue screen almost daily until I uninstalled it.
Anyway I also forgot to add I had used a program in Vista which may also work in XP just don't quote me on it. If you can boot into windows try installing EasyBCD here is the link! http://www.softpedia.com/get/System/.../EasyBCD.shtml
From what I remember it had the capability of restoring the windows bootloader? I no longer have a windows machine in my household or I would test it for you but could save you alot of headaches?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.