LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to uninstall Linux and keep Windows ? (https://www.linuxquestions.org/questions/linux-general-1/how-to-uninstall-linux-and-keep-windows-50633/)

futurist 03-19-2003 08:13 AM

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 ?


sidey 03-19-2003 08:24 AM

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

:)

membrax 03-19-2003 08:28 AM

" how to uninstall linux mandrake from my HDD while keeping the Windows ME "

... I'd do exactly the opposite. :D :D :D

fancypiper 03-19-2003 09:43 AM

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)

kublador 03-19-2003 11:28 AM

if you type fdisk /mbr
will it only affect the linux partition?
how about the boot of windows?
will it also be gone?

jglen490 03-19-2003 01:36 PM

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.

fancypiper 03-19-2003 03:07 PM

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.

futurist 03-19-2003 06:24 PM

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,


All times are GMT -5. The time now is 12:42 AM.