LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-19-2003, 08:13 AM   #1
futurist
Member
 
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Rep: Reputation: 30
How to uninstall Linux and keep Windows ?



Just to ask, how to uninstall linux mandrake from my HDD while keeping the Windows ME ?
So that next time I reboot, it will boot into windows as previous ?

 
Old 03-19-2003, 08:24 AM   #2
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
boot into windows use fdisk to remove the linux partition and change the type back to ntfs/fat32 then fdisk /mbr


This will remove the linux partition and all data and format the mbr so lilo or whatever bot loader you installed are gone, reboot and you'll boot into windows, format the ex linux partition to make it useful under windows

 
Old 03-19-2003, 08:28 AM   #3
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
" how to uninstall linux mandrake from my HDD while keeping the Windows ME "

... I'd do exactly the opposite.
 
Old 03-19-2003, 09:43 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I thought that Windows ME was the bottom of the barrel for Windows flavor. Why keep it?

You can remove lilo from the mbr with
/sbin/lilo -u
You can remove grub or lilo from the mbr by booting with a Windows 98 boot floppy (at the prompt, type fdisk /mbr)

Last edited by fancypiper; 03-19-2003 at 09:45 AM.
 
Old 03-19-2003, 11:28 AM   #5
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Rep: Reputation: 30
if you type fdisk /mbr
will it only affect the linux partition?
how about the boot of windows?
will it also be gone?
 
Old 03-19-2003, 01:36 PM   #6
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Don't worry. What fdisk /mbr does is to install default, chain loading code to the Master Boot Record (MBR) so that the BIOS can find its way to Windows' kernel. This will replace the Grub or Lilo boot code that was put into the MBR when Grub, or Lilo, was installed.
 
Old 03-19-2003, 03:07 PM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
Originally posted by kublador
if you type fdisk /mbr
will it only affect the linux partition?
how about the boot of windows?
will it also be gone?
It removes the linux bootloaders from the master boot record (mbr) and affects no partitions.
 
Old 03-19-2003, 06:24 PM   #8
futurist
Member
 
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Original Poster
Rep: Reputation: 30
I had done it.
I boot with a windows ME startup disk, then use fdisk to eliminate linux partitions, after that typed fdisk /mbr ,
then reboot, it directly boot into windows.

My purpose is to repartition my HDD, to allocate more space for linux, and reinstall linux,
 
  


Reply



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
how to uninstall windows and install linux the BAd ½ Linux - Software 13 11-30-2009 02:59 PM
How to uninstall SuSE Linux 9.0 from a dual boot with Windows 2000? bullitt Linux - General 2 04-20-2004 04:17 PM
How do I uninstall Linux and return to Windows? leemoreau Linux - Software 7 01-26-2004 06:50 AM
Uninstall Windows mbarreto Linux - General 6 10-22-2003 06:12 PM
How do I uninstall M$ Windows? crumb Linux - Newbie 26 07-31-2003 08:03 PM

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

All times are GMT -5. The time now is 06:47 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