LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-05-2007, 08:06 AM   #16
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57

Is your dvd/cdrom drive working properly? You said your XP cd and a borrowed XP cd did the same thing -- It boots up and then stalls after you press a key. But you said, the XP cd works fine from your desktop. That should give you a hint, that your dvd/cdrom is not able to read the disc. If this is the case, you will not be able to reinstall Xp from that dvd/cdrom drive. If you can find a way to restore the mbr and boot into windows,
you can use the steps below to remove linux partitions
and restore them for windows.

A friend of mine, had a similar situation. He restore his mbr, but he still had the linux partitions. This is what he did to get rid of it and reclaim it for windows.

He booted off a live cd. He used knoppix. He open a terminal window and type sudo fdisk /dev/hda

He deleted all partitions associated to linux like swap
and other linux partitions. He created a new partition
hda2. By default, fdisk gives this partition an id of 83.
You want to change this to the id that your windows has.
To do this press the letter t and press enter. fdisk will ask what partition you want to change? enter 2 and press enter. Now enter the new id. give it the same id as windows. Now you will have two windows partitions listed. Press the letter w to make the changes.

Remove the live cd. Reboot backed into windows.

He open the windows file manager and saw his c drive,
his cdrom drive and a new drive called local e:
Right click on the new drive and format it.

And he was a happy camper. The rest is history.
 
Old 01-05-2007, 08:14 AM   #17
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Is your dvd/cdrom drive working properly? You said your XP cd and a borrowed XP cd did the same thing -- It boots up and then stalls after you press a key. But you said, the XP cd works fine from your desktop. That should give you a hint, that your dvd/cdrom is not able to read the disc. If this is the case, you will not be able to reinstall Xp from that dvd/cdrom drive. If you can find a way to restore the mbr and boot into windows,
you can use the steps below to remove linux partitions
and restore them for windows.

A friend of mine, had a similar situation. He restore his mbr, but he still had the linux partitions. This is what he did to get rid of it and reclaim it for windows.

He booted off a live cd. He used knoppix. He open a terminal window and type sudo fdisk /dev/hda

He deleted all partitions associated to linux like swap
and other linux partitions. He created a new partition
hda2. By default, fdisk gives this partition an id of 83.
You want to change this to the id that your windows has.
To do this press the letter t and press enter. fdisk will ask what partition you want to change? enter 2 and press enter. Now enter the new id. give it the same id as windows. Now you will have two windows partitions listed. Press the letter w to make the changes.

Remove the live cd. Reboot backed into windows.

He open the windows file manager and saw his c drive,
his cdrom drive and a new drive called local e:
Right click on the new drive and format it.

And he was a happy camper. The rest is history.
 
Old 01-05-2007, 08:50 AM   #18
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Copy MBR from other Windows machine using dd.
 
Old 01-05-2007, 09:31 AM   #19
ecuas
Member
 
Registered: Dec 2006
Location: India
Distribution: openSUSE 10.2/ Gentoo 2006.1
Posts: 50

Rep: Reputation: 15
Try using this utility. Ive found it really helpful:

http://www.ultimatebootcd.com/
 
Old 01-05-2007, 11:51 AM   #20
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
If all these replies has not worked for you and are
are considering to do a complete XP install. Try to
copy all your files to another hard drive. All your files are still there. In your post, you said you can unscrew the drive and connect it as a external device to the other desktop running windows. If this is so, do it. When you boot up windows , you will see a new drive icon added to your windows file manager.

Double click on the icon and you will see all the files there. Just copy the files you don't have a copy of.
for example mp3's, word doc's ..etc. And copy them to the
other hard drive in a temporary folder.

Once you copy the files you want. Shutdown the desktop, remove the attached device and replace it back to where it was and then do a fresh install of XP.

Since your files are safe on the other computer, all you have to do is copy them back to your laptop.

Last edited by dv502; 01-05-2007 at 11:55 AM.
 
Old 01-06-2007, 10:02 AM   #21
cherish
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Ok guys, I've done it. I didnt reformat my disk but now it boots perfectly to windows.

And all I used was a program called Super Grub Disk. http://supergrub.forjamari.linex.org/

I need to thanks the programmer of Super Grub Disk, it really save my day. If I ever had a credit card, I would definitely donate some bucks to them.

Nevertheless, after all these trouble, I will still use Linux. Cause it rocks. =]

Cheers and thanks to all who helped.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstall Linux alnav89 Linux - Software 7 11-22-2005 04:32 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 12:03 PM
How do I uninstall Linux? mickdanger Linux - Newbie 6 12-26-2003 11:10 PM
How to uninstall in Linux? felecha Linux - Software 22 06-01-2001 05:17 AM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration