Skip to main content

Safely delete Linux partition from within XP.

Few months ago, i tried to learn linux and later on i gave up the idea of using it. These days, i'm using linux on "VMware workstation". VMware workstation lets anyone(esp. software tester,virus maker,software developver etc) install any OS and try their guinea-pig application out there. I used to install plain win 98 with no antivirus inside VMware workstation and install application with virus/malwares. Now, trying them to disable or make those virus vanish is real tough job but you'd learn how to tackle threats in real life application. Anyway, happy to know that any virus inside that virtualisation layer won't come out to our real desktop and won't affect at all. So, anyone can try anything inside the VMware workstation.

Well, my motive of writing this post is because when i didn't know about this VMware workstation, just to learn new things, i once installed Fedore Core 3 on my system. There was XP and i installed Fedore Core Linux on second partition. I was panicked, since i was doing that looking each step from printed papers. Later i didn't want that linux at all and i really wanted to have my XP untouched. Lets check it out, how to remove the linux partition so easily. If you try yourself without knowing what you are doing,you'll corrupt your XP boot files and the only way left would be fresh re-install of XP.

Please follow the steps i'm showing here if you are about to remove those hazardous OSes from XP:

1. Delete partition with linux using Windows computer management. (run->compmgmt.msc)
2. Boot from the relevant XP CD. Access 'Recovery console'(that console will look like MS-DOS prompt but you can't use any of the DOS command out there)
3. Give the following commands out there:
fixboot c: (and enter)
fixmbr (and enter)

Reboot and check if XP is booting properly or not. If not, partition tables are corrupt. So, 'fixmbr' command is useleses. Lets try another method, this time, we are going to make that corrupted partion as ACTIVE and see if it works.

1. Access the 'Recovery Console'(to start this console, please follow above step 1 and 2)
2. type "DISKPART" without quotes (and enter)
3. now type "list disks" without quotes(and enter)
(will show no of harddisks, if there is only one harddisk, then the returned message will show 0 )
4. To select that harddisk, type " select disk 0 " without quotes (and enter)
5. Type "List partitions" without quotes(and enter)
6. Type "Select partition 1' to select your C: drive. (and enter)
7. Type "active" without quotes(and enter)
8. To make the partition inactive, use the same approach above and type "inactive" without quotes
9. Type "exit" to leave diskpart.

Reboot.
Note: btw, follow above steps only if your C: drive's system and boot files are intact else it's useless.

One more Note:

"ntldr not found" message

Due to virus and some sort of problems, 'ntldr' loader file gets deleted. Some people re-install entire XP to fix this type of problem. But, we can use the same commands in Recovery Console as mentioned in above steps.
using 'fixboot c:' command
and
'fixmbr' command.
This will simple install the ntldr and other necessary files to XP root from the XP CD.

Comments

Popular posts from this blog

Prashant Tamang -A Nepalese in Indian Idol 3

CONGRATULATION !!!! PRASHANT FOR BEING INDIAN IDOL Here in US, we don't have Sony channel, may be there is but the region where i am, we don't have. Whatever ... am glad to hear that PRASHANT became an INDIAN IDOL. Update(Sept,12 2007): Prashant Tamang in Boudha Prashant Tamang is becoming sensation day by day as the final decisive day is approaching nearer and nearer. For his support, lots of people are convincing people to vote for him. People are relating his victory with nation's pride which i don't like. Besides, the communal attachment for him is growing day by day. It's only we mongolian face supporting him in Nepal. Like in Dharan and other different place of our country,people has put his banners, posters showing support for him. Yesterday, it was no moon day and i was lighting butterlamps in front of BoudhaNath stupa and suddenly i saw, there is huge banner of Prashant Tamang. Tamangs of Boudha has done this admiration for him. Normally, we see portrays

जेनेरेटरबाट गाउमै कम्प्युटर कक्षा

त्रिवेणी र्-पर्वत, फागुन २८ - "जहा इच्छा, त्यहा उपाय " । प्रविधि मोहमा होम्मिएका पर्वतको दर्ुगम गाउ“ त्रिवेणीका युवाले यही उखानलाई चरितार्थ गरेका छन् । बिजुलीे पुग्न नसकेको दर्ुगम गाउ“का यी युवाले जेनेरेटर चलाएर कम्प्युटर सिक्न सुरु गरेका छन् । बेहुलीबास गाविसका दीपक काफ्लेले त्रिवेणीमा खोलेको ओम इन्स्िटच्युटमा यहा“का विद्यार्थी र अभिभावक कम्प्युटरमा झुम्मिन्छन् । इन्स्िटच्युटमा दैनिक २० जनाभन्दा बढी कम्प्युटर सिक्न थालेका छन् । एक जनाबाट महिनाको एक हजार पा“च सयदेखि २ हजारसम्म लिने गरेको काफ्ले बताए । सरकारले वितरण गरेको विद्युत् लाइन पुग्न नसके पनि लाखांै खर्चेर उनले जेनेरेटर र कम्प्युटर खरिद गरे । गाउ“लेलाई सेवा दिने र व्यवसायसमेत गर्ने उद्देश्यले आफूले यस्तो काम थालेको काफ्लेले बताए । 'सहरमा गएर यस्तै काम सिकियो गाउ“लेलाई पनि सिकाउने रहर लाग्यो,' उनले भने । सदरमुकामदेखि यातायात र सूचनाका लागि समेत निकै पछाडि परेको गाउ“मा स्थानीय व्यक्तिले नया“ प्रविधि सिकाउने कक्षा खोलेपछि जान्ने र सिक्ने रहर भएकास“गै रमाइलोका लागि पनि धेरै जना आउने गरेका छन् । काफ्लेका अनुसार

Do you have a Blogger(blogspot) Blog and do you know Google is deleting blogger blogs??

As usual, I was checking backlink tool to find some of the friends link (who has linked backed to me before) if they still have my link backlinked to me or not. Well, some of them didn't link back to me. I checked their site and the message I got upon visiting their blogspot(blogger) blog was something like "this blog has been deleted." As I was visiting some of the other blogspot blog, I found few of them got deleted too. I thought, may be they got over blogging. Recently more and more blogspot(blogger) blogs are unavailable or being deleted. Now, these things forced me to think why those blogs are being deleted. I usually check official google blog for any kind of stuff they are upto. Their blog was shut down too(it's some days before), they are online now though. But, it's quite eerie because this very blog of mine is hosted on blogger's server too. I don't know what happened to their official blog but it's confirmed news they are deleting blogs. M