Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Erasing A Hard Drive
MSF661
post Aug 17 2005, 08:46 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 17-August 05
Member No.: 5,399



I want to erase my hard drive but dont know how to do it while running linux. i tried to boot from a floppy disk and format it but it wouldn't boot. It said take out removable media.

Anything would be helpful. Please dry.gif
Go to the top of the page
 
+Quote Post
Jim
post Aug 17 2005, 08:51 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



You want to format the disk that the linux install in on or you want to format another drive?

Formatting another drive or partition is easy, just run the format command for what ever file system you want to use.

Here is a quick table of the common ones.

ext2 mke2fs
ext3 mke2fs -j
reiserfs mkreiserfs
xfs mkfs.xfs
jfs mkfs.jfs

So if you wanted to format /dev/hdb1 to ext3 you should go mke2fs -j /dev/hdb1

If you want to format the drive that linux is installed on you need another OS to do it from. Knoppix would work great since it is a live CD. I don't know what you need the drive for, but any installer for an OS should be able to format it at the time.

If you are really tring to get rid of the data for security reasons, say that so I can give you more info on that.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
MSF661
post Aug 19 2005, 02:22 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 17-August 05
Member No.: 5,399



im trying to erase the hard drive linux is on


when i use Fdisk on the slackware installer CD, if i delete all the partitions will the Hard Drive be erased or do i have to do something else.
Go to the top of the page
 
+Quote Post
Jim
post Aug 19 2005, 02:59 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



If you delete the partitions the hard drive will be "erased" as in you will be able to format it for something else or what not. But, it will not be erased as in somebody who knows what they are doing could never retreve data off it then it is not.

If you need to really protect the data you need to do random writes over the drive six or seven times.

If you just want to use the drive for something else, delete the partition table and then you will need to re-format it again before you can use it.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
MSF661
post Aug 19 2005, 03:36 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 17-August 05
Member No.: 5,399



ok thanx alot i got it now biggrin.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th December 2017 - 01:50 PM