Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-12-2003, 12:40 PM   #1
LQ Newbie
Registered: Oct 2002
Location: Cincinnati
Distribution: redhat 8.0
Posts: 4

Rep: Reputation: 0
Question Removing linux partition on dual boot machine

Hi all,
I need to remove my linux partition on my dual boot (Win XP & Mandrake 9.0) so that it boots straight into Windows Xp.... Not to worry, I now have a separate machine for linux :-)

The boot manager is LILO .

please tell me how to do it....what if I just format the linux partition from Windows XP? Will that screw up the boot manager?

Old 01-12-2003, 12:56 PM   #2
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176

Rep: Reputation: 30
I apologize in advance if this is a duplicate post. My fat fingers got ahead of me...

I recently booted a dual boot system (win98/RH8) with partition Magic and deleted the Linux partitions. I then booted the system to make sure Windows was ok. It was not! Instead, Grub came up and I could not get around it. I had to reinstall Linux and let the partitions be rebuilt.

Then, upon multiple suggestions, I booted into Windows and at a DOS prompt I typed fdisk /mbr

I then rebooted and received the message "Missing operating system"

The paramedics came and resuscitated me

I then booted into Linux with a boot disk and from a terminal typed /sbin/grub-install /dev/hda

That got me back to the point where I have a dual boot system. LMAO! Still trying to figure out how to remove Linux partitions.

Not much help with your ultimate goal, I'm sure, but I thought I should share this with you.
Old 01-12-2003, 01:48 PM   #3
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Two things I always do when using dos fdisk
1) - use uppercase for the switches, ie: fdisk /MBR
2) - run the command twice. seriously.

Could just be superstition and luck, too.
Old 01-12-2003, 01:57 PM   #4
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176

Rep: Reputation: 30
I just tried that: fdisk /MBR (twice!)

Came up with "Missing operating system"

I don't want to step on newbie2002's post so I will leave it at that for now. If I get some help on my own post (Getting rid of GRUB in General forum) I will be sure to share the info.

Thank you and kind regards,
Old 01-12-2003, 11:53 PM   #5
LQ Newbie
Registered: Jan 2003
Distribution: slack
Posts: 21

Rep: Reputation: 15
this sounds stupid but, it may just work.... in your grub config make the only os windows and rerun grub. set the timeout to 0 and delete your linux partitions.... i guess this is only good if you don't care so much.

fdisk /mbr should work fine, so this is surprising... does grub do something different?


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing linux from dual boot with win xp purva Linux - Newbie 3 10-12-2005 01:33 PM
Removing linux from dual boot with win xp purva SUSE / openSUSE 2 10-12-2005 01:27 PM
File restore on the windows partition of a dual-boot machine? raindogs Linux - Software 1 10-05-2004 11:19 AM
Un-Installing/Removing linux from a dual boot machine PraxZeus Linux - General 6 07-26-2003 12:37 PM
Removing Windows partition from dual-boot system sjkirkpatrick Linux - Newbie 1 07-12-2002 11:27 AM > Forums > Linux Forums > Linux - General

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

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