Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to disable the grub to uninstall Linux from a partition?

Status
Not open for further replies.

nafaiz

Member level 5
Joined
May 18, 2005
Messages
86
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Malaysia
Activity points
2,779
hie,

i have installed linux as another OS in a different partition and i want to uninstall it now.

The problem was that how to disable the grub at the beginning of turning on the computer. If i dont disable it and continue with uninstallation, i heard that i might not be able to log in to windows again. Does anyone have experienced this before and have found the solutions? I'm new to linux.
Thanks.

regards,
nafaiz
 

Hughes

Advanced Member level 3
Joined
Jun 10, 2003
Messages
717
Helped
112
Reputation
224
Reaction score
24
Trophy points
1,298
Activity points
5,986
Re: uninstall linux

You can boot the computer into ms-dos and run:
fdisk /mbr
 

dipal_z

Full Member level 5
Joined
Apr 21, 2005
Messages
278
Helped
37
Reputation
74
Reaction score
7
Trophy points
1,298
Location
India
Activity points
3,008
uninstall linux

If you are using windows XP you need to use fixmbr command instead of fdisk /mdr.

Once you are done with this activity reboot your computer and ensure that you don't get grub menu again but it should directly boot into windows. If everything goes fine you can delete linux partitions safely.
 

    nafaiz

    points: 2
    Helpful Answer Positive Rating

Anno

Advanced Member level 4
Joined
Feb 8, 2006
Messages
106
Helped
14
Reputation
28
Reaction score
0
Trophy points
1,296
Location
South Africa
Activity points
1,899
uninstall linux

dipal_z's option works best if you got XP running as the other OS. but Why would you want to uninstall linux?? :'(
 

nafaiz

Member level 5
Joined
May 18, 2005
Messages
86
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Malaysia
Activity points
2,779
Re: uninstall linux

Anno said:
dipal_z's option works best if you got XP running as the other OS. but Why would you want to uninstall linux?? :'(
rite now i'm short of ram and hard disk. 2 OS makes things worst. that's why i need to uninstall at least one. my work use windows more. that's why i have to uninstall linux.

Added after 4 minutes:

dipal_z said:
If you are using windows XP you need to use fixmbr command instead of fdisk /mdr.

Once you are done with this activity reboot your computer and ensure that you don't get grub menu again but it should directly boot into windows. If everything goes fine you can delete linux partitions safely.
sorry if this question is silly. i'm not familiar with the command. how do i actually use this fixmbr command? i'm not that good when it comes to dos.
 

stevenlee

Member level 2
Joined
Sep 28, 2006
Messages
51
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,532
uninstall linux

use your backup cd, boot to dos, at prompt, type: fdisk/mbr, doing this way, you grub boot loader is removed, but your linux is stlill there ,when you want it again,, then use your linux cd to reinstll the grub,
 

    nafaiz

    points: 2
    Helpful Answer Positive Rating

nafaiz

Member level 5
Joined
May 18, 2005
Messages
86
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Malaysia
Activity points
2,779
Re: uninstall linux

stevenlee said:
use your backup cd, boot to dos, at prompt, type: fdisk/mbr, doing this way, you grub boot loader is removed, but your linux is stlill there ,when you want it again,, then use your linux cd to reinstll the grub,
ic...now i can proceed uninstalling it....thanks everybody
 

mehboob_iiui

Full Member level 2
Joined
May 20, 2006
Messages
132
Helped
8
Reputation
16
Reaction score
1
Trophy points
1,298
Location
Rawalpindi - Pakistan
Activity points
2,013
Re: uninstall linux

If you want to revert back to win XP,
insert your XP boot disk and boot from cdrom , go into recovery mode , you will need your administrator password,

when you're logged in just type

C:>fixmbr
 

ravikrai

Member level 1
Joined
Jul 3, 2006
Messages
38
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Location
india
Activity points
1,542
uninstall linux

boot up in DOS and try fdisk
 

louisnells

Full Member level 4
Joined
May 8, 2006
Messages
209
Helped
19
Reputation
38
Reaction score
8
Trophy points
1,298
Activity points
3,027
Re: uninstall linux

Are you using a boot manager from master boot record ?

If you are having boot manager on another active partition just setting the partition containing the 2nd OS will make things right.
 

jeremy_zhu

Member level 2
Joined
Aug 19, 2006
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,542
uninstall linux

You can boot the computer into ms-dos and run:
fdisk /mbr and delete the linux parts by using some harddisk tool
 

ranaknight

Newbie level 6
Joined
Jul 7, 2006
Messages
12
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,354
Re: uninstall linux

Boot into DOS from a startup disk.

run fdisk from the command prompt.

do two things here :

1. set the windows partition as the active partition.
2. delete the linux partitions and reformat them to FAT or NTFS
(so that you can reclaim the disk space)
 

edacw1

Full Member level 4
Joined
Mar 7, 2004
Messages
221
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
1,187
uninstall linux

I think you should format the linux partition and reinstall windows.
 

cybersan2002

Junior Member level 3
Joined
Jul 25, 2005
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,439
Re: uninstall linux

Best Way is to use boot manager which comes Drive parttioning software(Partition Magic or Paragon Partition manager).
It is very easy to use.
Solves all ur booting problems,surely.
Give it a try.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top