LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-24-2005, 07:44 AM   #1
t0mt3j
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE 2005
Posts: 2

Rep: Reputation: 0
How to Uninstall Linux in the best way?


Hi
I'm dual-booting MandrivaLinux and Windows® XP® ( ). I have one hdd so i partitioned it to install linux.
I've used Linux for a while but now I need the space for windows, so i'm going to uninstall linux..
My question is.. read the Subject...
I thought of just use partition magic and erase the linux partition and then resize it with the windowspartition. But will there be any complications to start windows after that? because now im booting with lilo and if i erase the linuxpartition lilo can't start i guess.. or will it go back to normal, windows starts automaticly?
Thanks for answering...
 
Old 09-24-2005, 07:57 AM   #2
UnderDark
Member
 
Registered: Aug 2005
Location: USA.Michigan
Distribution: Slackware 10.1
Posts: 34

Rep: Reputation: 15
I see two options:

1)IF you made /boot a seperate partition, then deleting the main Linux partition will be okay.

2)IF you did not put /boot on a seperate partition, then you will have to boot up with an ESD and run fixmbr after you delete the Linux partition
 
Old 09-24-2005, 07:58 AM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
The only thing you need to worry about is the boot loader. Since linux will have overwritten your mbr you need to erase it. To do so from windows go to the command line and type the following:

for win98: fdisk /mbr
for winXP: fixmbr

as for the partitions, partition magic is fine.
 
Old 09-24-2005, 07:59 AM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Boot from your XP CD, enter the recovery console and type fixmbr. Once you've done that, provided you didn't get any errors, just use Partition Magic to delete the linux partition. Welcome more disk space
 
Old 09-24-2005, 08:34 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You can also delete partitions from within Windows. There's a thing for that under Control Panel > Computer Management, IIRC.
 
Old 09-24-2005, 11:04 AM   #6
UnderDark
Member
 
Registered: Aug 2005
Location: USA.Michigan
Distribution: Slackware 10.1
Posts: 34

Rep: Reputation: 15
FYI: If you want to avoid problems with space in the future, you could make it have 4 partions:

1)/boot (LILO)
2)WINDOWS
3)/ (Linux)
4)A fat32 partition to enable both OS's to access it. You could use to store all non-os depandant material such as docs, music, save game files, movies, images, etc.
 
Old 09-24-2005, 02:36 PM   #7
t0mt3j
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you all for your fast answers. I think I know how to manage it without problems now..

EDIT: It worked fine, no problems.. I used the xp-disc and typed fixmbr in the recovery console, after that i used partition magic to resize the xp partition. Thanks UnderDark for the future tips will try that later when i have bought a new hdd.

Last edited by t0mt3j; 09-26-2005 at 04:13 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
can we uninstall linux nagu_linux Linux - Newbie 2 12-26-2004 12:22 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
How do I uninstall Linux? mickdanger Linux - Newbie 6 12-26-2003 10:10 PM
uninstall linux pinner2424 Linux - Software 11 10-02-2003 06:24 PM
linux uninstall help daveTV Linux - General 5 01-30-2003 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:07 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
Open Source Consulting | Domain Registration