Unsolved
This post is more than 5 years old
2 Posts
0
6209
April 18th, 2007 07:00
XP CD not working - After installing Fedora
Hi All! I recently installed Fedora but i think i did my partitions wrong. Now i cant boot XP. Fedora works fine, but i want XP back. When i put in the XP CD and reboot it states " click any button to install from CD...." I press a button and the screen "Setup is inspecting your computers hardware configuration...." Unfortunately thats as far as it gets and just sits at a black screen and does nothing(I let it run for over an hour to see if it was actually doing anything, but it wasnt) Prior to this install i tried the Recovery console and entered the wrong password a bunch of times and the computer shut down, could this have anything to do with it ? Any suggestions, i dont mind losing all my data(nothing important on there), i just want to know how i can format everything and reinstall xp. Any help would be greatly appreciated,. I have a Dell Inspiron 1300 if that helps.. Steel Monkey
Message Edited by Steel Monkey on 04-18-2007 03:45 AM
Message Edited by Steel Monkey on 04-18-2007 03:45 AM
0 events found
No Events found!


Lnx805
12 Posts
0
April 22nd, 2007 16:00
kayser
104 Posts
0
April 25th, 2007 11:00
metalsailer
20 Posts
0
April 26th, 2007 03:00
THE FOLLOWING WILL DESTROY ACCESS TO YOUR DATA.
One way to ensure that no boot loader code is left around and that the partition tables are wiped is to write all zeros to the first couple of disk blocks. You can do this with the Fedora install disk. At the boot prompt, type linux rescue to load the rescue mode of the install disk. Do not let it scan for any installed systems. When you get to a prompt, us the dd command to write all zeros to the disk. Your disk device path will be something like /dev/hda (IDE) or /dev/sda (SCSI). Assuming your device is /dev/hda, do this:
dd if=/dev/zero of=/dev/hda count=10
This will write all zeros to the first 10 blocks which will wipe any boot loader code and the partitions tables. If you are security minded, you can ensure that all data on the entire disk is overwritten with zeros by removing the count option. This will take awhile depending on the size of your disk. After the dd command completes, you can restart the computer and Windows should see the disk as a blank hard drive.
plasmabrain
2 Posts
0
December 31st, 2009 11:00
Thanks man, using "dd if=/dev/zero of=/dev/hda count=10" is the bomb.
I had wasted hours of trying with fdisk to no success. Using your approach the original XP setup disk went through normally... sort of. The original XP setup disk I have only shows 130GB available of my 250GB SATA drive... but this is another, unrelated problem. Probably need a XP SP2 disc, which I do not have.
Thanks again to getting past the blank screen.