India Broadband Forum


How to uninstall grub ?

This is a discussion on How to uninstall grub ? within the Linux forums, part of the Operating Systems category; Hey all, I want to uninstall grub without uninstalling ubuntu (version 9.04). Please explain the steps in simple non-technical language. ...

Go Back   India Broadband Forum > Computers > Operating Systems > Linux

India Broadband Forum


                      

Reply

 

LinkBack Thread Tools Display Modes
Old 07-26-09, 10:30 PM   #1
Sid
Guest
 
Posts: n/a
Default How to uninstall grub ?

Hey all,

I want to uninstall grub without uninstalling ubuntu (version 9.04).

Please explain the steps in simple non-technical language.

Help will be appreciated.

Hey all Please help.....!!

Last edited by Sid; 07-26-09 at 10:30 PM. Reason: Automerged Doublepost
  Reply With Quote
Old 07-27-09, 12:05 AM   #2
Junior Member
 
Join Date: May 2009
Location: VIRAR
Posts: 20
Rep Power: 1
dinesh.singh is on a distinguished road
Default

I did not got your point as if you uninstall grub then how you are going to access your Ubuntu .As grub provides you the option of choosing the OS you want to boot ,if you any other boot loadder then go ahead ,How to uninstall GRUB try this link as it will guide you to uninstall grub
dinesh.singh is offline   Reply With Quote
Old 07-27-09, 04:51 PM   #3
Sid
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by dinesh.singh View Post
I did not got your point as if you uninstall grub then how you are going to access your Ubuntu .As grub provides you the option of choosing the OS you want to boot ,if you any other boot loadder then go ahead ,How to uninstall GRUB try this link as it will guide you to uninstall grub
Actually I have installed Linux inside Windows.

There was no such boot loader in ubuntu 8.10.And it is also preventing me to delete a partition.
  Reply With Quote
Old 07-28-09, 12:58 PM   #4
Junior Member
 
Join Date: Sep 2008
Location: Delhi,India
Age: 19
Posts: 22
Rep Power: 2
gastly is on a distinguished road
Default

Try restoring the Vista/XP (whatever you have) bootloader. Install it to your MBR and it will override Grub automatically.
You can use EasyBCD on Vista (dunno if it will work for XP) to restore the vista bootloader. Be careful tho, it will not let you boot into Ubuntu.

I'd recommed you install Ubuntu in a separate partition; Installing it inside windows will cause lots of problems.

Good luck
gastly is offline   Reply With Quote
Old 07-31-09, 04:23 AM   #5
Aditya
 
smoothvibes's Avatar
 
Join Date: Jul 2008
Location: New Delhi/ London
Posts: 4,914
Rep Power: 11
smoothvibes is a name known to allsmoothvibes is a name known to allsmoothvibes is a name known to allsmoothvibes is a name known to allsmoothvibes is a name known to allsmoothvibes is a name known to all
Send a message via AIM to smoothvibes
Default

why you want to uninstall grub, its boot loader and i suggest you not to play like this.
smoothvibes is offline   Reply With Quote
Old 07-31-09, 01:12 PM   #6
Sid
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by smoothvibes View Post
why you want to uninstall grub, its boot loader and i suggest you not to play like this.
Well, its a complicated problem and I am unable to explained here.

But I am sure that if I am able to uninstall GRUB, my problem would be solved.

Basically,I want to delete a partition,which I created by mistake. Now if I remove that partition GRUB is not loading properly(Its giving an error) and I am unable to open Windows.
  Reply With Quote
Old 07-31-09, 02:47 PM   #7
Bronze Member
 
nilact's Avatar
 
Join Date: Jul 2008
Location: Ahmedabad
Age: 23
Posts: 300
Rep Power: 3
nilact has a spectacular aura aboutnilact has a spectacular aura about
Send a message via Yahoo to nilact
Default

Quote:
Originally Posted by siddharth View Post
Well, its a complicated problem and I am unable to explained here.

But I am sure that if I am able to uninstall GRUB, my problem would be solved.

Basically,I want to delete a partition,which I created by mistake. Now if I remove that partition GRUB is not loading properly(Its giving an error) and I am unable to open Windows.
You mean you want to uninstall Grub because you can not access your XP. Do one thing i already posted this thing on my blog. You have to add your XP Operating system entry in Grub Loader. Just go through my technical blog, here's the link

I hope this helps!!
nilact is offline   Reply With Quote
Old 07-31-09, 02:53 PM   #8
Sid
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by nilact View Post
You mean you want to uninstall Grub because you can not access your XP. Do one thing i already posted this thing on my blog. You have to add your XP Operating system entry in Grub Loader. Just go through my technical blog, here's the link

I hope this helps!!
Well,there is an option for Windows XP in GRUB boot loader.

But the problem is if i uninstall ubuntu Grub doesn't load properly (though it works fine if ubuntu is installed).

So I just want to simply uninstall it.
  Reply With Quote
Old 07-31-09, 02:54 PM   #9
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,825
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

This is what I understood,

You installed Ubuntu 8.10 using Wubi inside Windows and later installed 9.04 directly. Now you need Ubuntu 9.04 to boot the same was 8.10 used to, by using Windows boot loader.

If that's how it is, then the only way is to reinstall Ubuntu 9.04. Direct installation of Ubuntu and installation using Wubi is totally different methods. There is no way to change that. Linux doesn't support Windows boot loader (or the other way, I am not sure).

What I do in these situations is, boot from Windows CD's and use Recovery Console to get Windows boot loader back using fixmbr and fixboot commands. And then format/delete Ubuntu files. This works for most all Linux distros. And use a free software like Partition Wizard Home Edition to merge/modify partitions created by Ubuntu.

This time install Ubuntu using Wubi. And use the upgrade feature inside Ubuntu to get a newer version.
Archer is offline   Reply With Quote
Old 07-31-09, 03:05 PM   #10
Sid
Guest
 
Posts: n/a
Default

Yes that is exactly what I want,

Right now I have 2 ubuntu installed on my computer.

1 using Wubi and other as a seperate partition.

I am unable to delete the third partition (ubuntu one) by using EASEUS partition manager.

And if I uninstall wubi one GRUB isn't loading.I am very confused what to do.
  Reply With Quote
Old 07-31-09, 06:32 PM   #11
Bronze Member
 
matrix's Avatar
 
Join Date: Dec 2008
Location: Kalyan West
Posts: 254
Rep Power: 1
matrix is on a distinguished road
Default

Quote:
Originally Posted by siddharth View Post
Well, its a complicated problem and I am unable to explained here.

But I am sure that if I am able to uninstall GRUB, my problem would be solved.

Basically,I want to delete a partition,which I created by mistake. Now if I remove that partition GRUB is not loading properly(Its giving an error) and I am unable to open Windows.
fdisk /mbr should restore the windows boot loader. I don't know about the latest version of windows as I am no more a user of windows.
matrix is offline   Reply With Quote
Old 08-01-09, 11:16 AM   #12
Silver Member
 
Join Date: Apr 2008
Location: delhi
Age: 23
Posts: 420
Rep Power: 2
eruptionjoojo is on a distinguished road
Smile

As far as i understood your problem this is what i would suggest ...........

(1).Uninstall Grub using the method already mentioned via the link provided @dinesh.singh
(2).Then fix the Windows MBR using the fix MBR command etc. via the recovery console.
(3).restart your computer and preferrably you would be able to see the Dual Boot option as wubi uses Windows bootloader listing both windows as well as Ubuntu.
(4).even if it turns out to be the other way out ......... don't panic just read the article mentioned underneath and Follow the below mentioned steps {don't go about performing each and every step as you woun't be needing them ..... these are only mentioned in order to make you understand how and what all i did in order to sort out my problem} :-

Here's the link to the below mentioned article :-

http://www.kubuntuway.net/forum/show...=1728#post1728

Since I had installed Kubuntu via Wubi I was almost sure that the Boot MBR being used is Vista's ............. so i needed to create a new entry in windows Vista MBR as Kubuntu and set the Operating System path and drive ........... but then i wasn't sure about the Kubuntu Operating System's path .......... in order to resolve this issue i created a new (Boot entry) kubuntu entry using EasyBCD 1.7.2
{the EasyBCD 1.7.2 utility can be downloaded via the following link :-

Download EasyBCD 1.7.2 - NeoSmart Technologies ............and the Steps needed for making a new enrty using EasyBCD are as follows :-

When you start up EasyBCD, go to Add/Remove entries and click on the Linux tab. Then, you can name the Linux startup option whatever you like. You'll also see a dropdown box that says "Wubi." Don't change this. Now, you will also see another dropdown box that says "Drive." Choose the partition that you installed the Wubi bootloader on. Then, just add entry, and you should be set.}

but since Kubuntu was installed somewhere in C:\(the very same drive as to where Vista was installed) thus i gave the drive path as C:\ to the new entry ...........

then the steps followed for the determination of the exact drive path of the Operating System(Kubuntu) are as follows:-
(1)made a new partition for installing Windows XP on it .
(2).Installed windows XP on the new partition and After the installation was complete tried installing Kubuntu again using the Wubi installer in order to find the correct path of the Operating System(Kubuntu) ...........
(3).after the installation I could clearly see that the path of the Operating System(Kubuntu) was listed as follows:-
{In order to determine the drive path of Kubuntu in Windows XP the Following must be typed in the command prompt :-

C:\windows\system32>bootcfg

(this command would list the Windows XP MBR's Entries which includes the Kubuntu enrty and also the Exact drive path which would be C:\wubildr.mbr)}

C:\Wubildr.mbr

NOTE : thus i needed to make the change in Vista's MBR and change the Kubuntu Operating System path from C:\ to C:\Wubildr.mbr ..............
(4).now i rebooted via the Windows Vista DVD and recovered Windows Vista MBR ........
(5)then after i changed the boot record manually via command line by setting the Kubuntu entry's Operating System Path to C:\Wubildr.mbr ............

this can be done by using the bcdedit command in Windows Vista Command Prompt and typing the following into the command prompt(but you need administrative privileges for performing these action):-


C:\windows\System32>bcdedit
(this command would show you the current entries listed in the windows Vista's MBR along with their specific identifier's,Operating System path etc. ......... now note down the specific identifier of the Kubuntu enrty )
let's say the specific identifier of the Kubuntu entry is {88b266fo-7d49-ndc-89d2-d25c6946223c}


C:\Windows\system32>bcdedit /set {specific identifier of the Kubuntu entry} path \wubildr.mbr

in the above mentioned case( specific identifier of the Kubuntu entry is {88b266fo-7d49-ndc-89d2-d25c6946223c}) the command would be as follows:-

C:\Windows\system32>bcdedit /set {88b266fo-7d49-ndc-89d2-d25c6946223c} path \wubildr.mbr
The operation completed successfully (this message would be displayed if the made changes were successful)

This command would set the Os path of the Kubuntu enrty to \wubildr.mbr ........... thus loading the Wubi's Mbr ...........

though i did all this for Kubuntu but their is no difference between Kubuntu and Ubuntu as both are based on the same architecture the only difference lies in the desktop environment which they use i.e. GNOME or KDE.

If you find any difficulties just reply back with your querie's .

Last edited by eruptionjoojo; 08-01-09 at 11:51 AM.
eruptionjoojo is offline   Reply With Quote
Old 08-01-09, 01:46 PM   #13
Bronze Member
 
nilact's Avatar
 
Join Date: Jul 2008
Location: Ahmedabad
Age: 23
Posts: 300
Rep Power: 3
nilact has a spectacular aura aboutnilact has a spectacular aura about
Send a message via Yahoo to nilact
Default

Where is TS?

TS=Thread Starter
nilact is offline   Reply With Quote
Old 08-02-09, 05:55 PM   #14
Sid
Guest
 
Posts: n/a
Default

I am here.

Sorry for late replies.

Actally, I am a bit busy so will try these steps tomm.
  Reply With Quote
Old 08-02-09, 06:25 PM   #15
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,825
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

Try the method gastly suggested. EasyBCD has an option for that. I haven't tried it myself. But if you have Windows CD, then you can give it try.

EasyBCD Boot Loader.jpg
Archer is offline   Reply With Quote
Old 08-03-09, 12:05 PM   #16
Silver Member
 
Join Date: Apr 2008
Location: delhi
Age: 23
Posts: 420
Rep Power: 2
eruptionjoojo is on a distinguished road
Question

Quote:
Originally Posted by Archer View Post
Try the method gastly suggested.
What do you mean by this ??
eruptionjoojo is offline   Reply With Quote
Old 08-03-09, 02:36 PM   #17
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,825
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

Quote:
Originally Posted by eruptionjoojo01 View Post
What do you mean by this ??
I mean try the software (EasyBCD), suggested by the member gastly in this post.
Archer is offline   Reply With Quote
Old 08-03-09, 05:02 PM   #18
Silver Member
 
Join Date: Apr 2008
Location: delhi
Age: 23
Posts: 420
Rep Power: 2
eruptionjoojo is on a distinguished road
Post

Quote:
Originally Posted by Archer View Post
I mean try the software (EasyBCD), suggested by the member gastly in this post.
Oh!ok ......
eruptionjoojo is offline   Reply With Quote
Old 08-03-09, 05:11 PM   #19
Sid
Guest
 
Posts: n/a
Default

I am Getting the following error message when I use Easy BCD
Attached Images
File Type: bmp untitled.bmp (369.9 KB, 9 views)
  Reply With Quote
Old 08-03-09, 05:18 PM   #20
Silver Member
 
Join Date: Apr 2008
Location: delhi
Age: 23
Posts: 420
Rep Power: 2
eruptionjoojo is on a distinguished road
Post

Quote:
Originally Posted by siddharth View Post
I am Getting the following error message when I use Easy BCD
ok!i just saw that pic which you posted ........

i'm listing as to what i understood from the whole thread ..... you kindly verify what all i understood is correct .

You had windows XP professional on your system but in order to try Ubunu you installed Ubuntu 8.10 inside windows via Wubi installer.

But then you installed a completely fresh copy of Ubuntu 9.04 under a separate drive.

now i'm a bit confused as to which version do you want to keep i mean the one which you installed under windows Ubuntu 8.10 or the separate drive one Ubuntu 9.04???


Please correct me if i have mis-understood your replies ..........
eruptionjoojo is offline   Reply With Quote
Reply

Tags
grub, uninstall

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may 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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 05:41 AM.


India Broadband Forum