I cant remember when I had a sleepless night last. A night out IS different from a sleepless night.
Well, this was my own doing. Had several lessons from this.
Greed is bad - Trying to free up some space on your HD, will cause you to free up more space.
I now know the correct way of removing Linux from a dual boot system. I used Partition Magic to wipe out my Linux ext3 and swap space, but forgot that grub was still on and would screw up the booting process. Well, looks like fdisk isn't avaiable with XP. So get/make a Win98 boot disk and run fdisk /mbr from the boot disk. This serves to clear the initial loader and I think boots from the the root partition. This command leaves the partition table intact and this is what I deleted.
More lessons -
Don't monkey with the MBR when its past your bedtime.
Don't monkey with the MBR without patience.
Don't do anything with the MBR without knowing exactly what you are doing. Gong on a hunch can be make you regret things.
Create a backup file containing the MBR. I used MBRWizard that comes on a WINBUCD.
BUT, backing it up on the disk you are messing with will make you hate yourself later..I did too!
Well, after about 12 hours since my screw up, I was able to bring things back to being good. The savior - "TestDisk" - Comes with the knoppix live CD, but finally I used a separate windows download and boot of Win 98 discs with CD support and then used the testdisk utility.
Let it analyze the partitions, you will need to select the right active partition - the utility may not pick the right one by default, write the MBR to disk. This should restore your messed up partition table. To get rid of the boot loader, use the "Write MBR Code" of the utility. Doing this worked for me.
This is a rather shoddy howto - but I don't mean for it to be otherwise. If anything, its only to show that there is hope after all, even after you have just screwed up the MBR.
Thisshould be a good place to get started from.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment