LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-01-2003, 07:20 PM   #1
mithras
Member
 
Registered: Jun 2003
Location: El Paso, TX
Posts: 45

Rep: Reputation: 15
Unhappy Erase Hard Drive from Rescue?


Anyone know if I can erase all my partitions or erase completly my hard drive from rescue mode? Thank you =)
 
Old 07-01-2003, 07:53 PM   #2
mithras
Member
 
Registered: Jun 2003
Location: El Paso, TX
Posts: 45

Original Poster
Rep: Reputation: 15
Unhappy

Can anyone help me please?
 
Old 07-02-2003, 02:34 AM   #3
nakkaya
Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
yes you can but what are trying to do? if you want to get rid of linux you dont need to mess with recuse and also if you want to install linux again you dont nned to erease them too. :0
 
Old 07-02-2003, 01:21 PM   #4
mithras
Member
 
Registered: Jun 2003
Location: El Paso, TX
Posts: 45

Original Poster
Rep: Reputation: 15
Rescue

Thank you for your time, anyway do you know how to invoke or what commands do I have to put to erase all the partitions in the Hard Drive? Thank you
 
Old 12-11-2003, 08:11 PM   #5
spak
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
To answer your original question, assuming you've previously installed Linux on the first hard disk on the primary controller, once you've booted the machine from the rescue CD or floppy, type the following from the command line:

* * * WARNING * * *
THIS WILL MAKE DATA ON THE HARD DISK INACCESSIBLE
* * * * * * * * * * * *

dd if=/dev/zero of=/dev/hda bs=512 count=1

* * * WARNING * * *
THIS WILL MAKE DATA ON THE HARD DISK INACCESSIBLE
* * * * * * * * * * * *

This will write zero's over the Master Boot Record, wiping out the Initial Program Loader (IPL) and the disk partition table. It is possible to rebuild a MBR written over in this way, but it would be a right royal pain.
 
Old 12-12-2003, 12:13 AM   #6
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

Rep: Reputation: 30
simple use the shred command
 
Old 12-12-2003, 12:29 AM   #7
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

Rep: Reputation: 30
http://freshmeat.net/projects/reset/?topic_id=43%2C146
 
  


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
How to erase your hard disk with Linux partitions on it 357mag Mandriva 10 03-16-2005 09:53 AM
Boot from hard drive stalls, rescue CD works fine jonr Mandriva 12 11-09-2004 07:54 PM
Knoppix Drive Erase Le_Petit_Lapin Linux - Newbie 8 08-31-2004 08:07 AM
cant erase hard drive Xentrix Linux - General 3 07-14-2004 10:22 AM
How to erase hard drive . . . zthomasz Linux - General 2 07-30-2003 11:25 PM


All times are GMT -5. The time now is 11: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration