disabling grub

Asked by kushal on 2009-12-19

I am trying to reformat my hard disk. I want to know if there is a way to disable grub b4 i format the ubuntu partition.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Last query:
2009-12-19
Last reply:
2009-12-19
Digvijay Patankar (dbpatankar) said : #1

There is no need to do this. I can't understand what you really want to achieve.

kushal (kushal-kadaba) said : #2

To make myself clearer, i want to format the ubuntu partition and still be able to boot other os installed. But the problem is that the grub also will be erased and i cant boot as there will be an error.

If you are going to reformat your all your harddisk you'll get rid of grub; you'll get rid of anything you have in your disk during the format so you don't need to worry about grub.

However if you have ie two partitions, ie one with ubuntu and the other with another OS (lets say windows) and you just want to get rid of ubuntu and leave windows alone as it was before installing ubuntu (I'm just guessing) you can get rid of grub doing a restoration of your mbr; You can achieve this launching the recovery console booting with your windows CD and then run fixmbr.

I suggest you to google about it to confirm my suggestion as I don't run windows :-)

HTH

Sam_ (and-sam) said : #4

> format the ubuntu partition

Unless it wasn't installed somewhere else Grub is installed per default in MBR of first hd/partition.
http://en.wikipedia.org/wiki/Master_boot_record
https://wiki.ubuntu.com/Grub2

Can you help with this problem?

Provide an answer of your own, or ask kushal for more information if necessary.

To post a message you must log in.