LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2006, 03:49 AM   #1
ambar
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Rep: Reputation: 0
Unhappy want to remove mbr on hdd


help!
i was using rhl 9 . i recently got fedora4 and formatted my 20 gb harddisk using fdisk in DOS to install it.i also deleted all the partitons. now i just learned that fc4 is incompatible with my sysstem.i want to reinstall rhl9.

on start of installation procedure , it says the mbr is still there and exits.
i want to remove mbr so that i can reinstall rhl9 . how can it be removed!!!!!

help!!!
 
Old 07-03-2006, 04:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
you don't need to remove anything, it'll overwrite it as part of the install.
 
Old 07-04-2006, 11:17 AM   #3
Pravab
Member
 
Registered: Apr 2006
Location: Dharan,Nepal
Distribution: FC5
Posts: 63

Rep: Reputation: 15
Lightbulb

U do not have to reinstall linux if your grub is lost especially due to windows installation.

just follow these easy STEPS and hope u will recover:

step 1: Insert bootable cd-I or DVD of your linux
step 2: Type: linux rescue
step 3: Follow instructions for keyboard and language settings

Then you will see the shell prompt

step 4: Type: chroot /mnt/sysimage
step 5: Type: grub

now you will get the grub prompt as grub>

step 6: Type: root (hd0,5) // hd0 means harddisk 1. if you have on HDD 2 you need to type hd1 and so on. later number (5) implies partition of selected harddisk where you have linux installed previously. It varies with machine enter the partition where you have your linux partition.
step 7: setup (hd0) // same HDD as before, its hd1 if your linux is in 2nd harddisk

now exit from the grub and from the shell too. After restarting your grub gets recovered, hopefully .
 
Old 07-04-2006, 09:16 PM   #4
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 169

Rep: Reputation: 15
If you really want to clean your hard drive the way it came from the factory--no MBR, no partitions, no operating systems, no programs, no data, nothing--you need a zero-fill program. My favorite is DBAN (Darik's Boot and Nuke), google for it. It downloads to a floppy or CD and has a setting where you only zero-fill, not overwrite several times.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XP on 1 HDD,Linux on 2nd HDD,remove ,other won't launch Dark Templar Linux - Newbie 3 05-07-2006 12:03 PM
Bad HDD or MBR? Dr3n Linux - Hardware 3 10-13-2005 09:05 AM
How to remove Linspire from the MBR ? egag Linspire/Freespire 10 09-02-2005 10:22 AM
HDD MBR ignored aufomechanic Linux - Hardware 6 02-22-2005 03:28 PM
How to remove voice from MBR dtee Linux - Newbie 6 09-19-2004 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration