View previous topic :: View next topic |
Author |
Message |
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Sun Dec 01, 2002 9:36 pm Post subject: newbie needs help! how to format |
|
|
how do you format in llinux? like for dos you would put in the boot disk and type "format c:". How do I do this for linux?? PLEASE HELP _________________ Gentoo isn't just an OS... It's a state of mind. |
|
Back to top |
|
|
LoOpYgUy n00b
Joined: 24 Sep 2002 Posts: 30
|
Posted: Sun Dec 01, 2002 9:53 pm Post subject: |
|
|
That depends on the file system you are using..
for ext2:
for ext3: Code: | mke2fs -j /dev/hdxx |
for ReiserFS: Code: | mkreiserfs /dev/hdxx |
for XFS:
NOTE: hdxx is to be replaced with the driver letter and partition number |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1398 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Sun Dec 01, 2002 9:54 pm Post subject: |
|
|
It depends on what type of file system you want on the partition/drive. If you wanted an reiserfs file system the command is Code: | mkresierfs /dev/*** | (where *** is your specific device and parition). If instead you want to initialize/format your partition with an Ext3 file system then you would execute
Get it? This is covered in the install document which you should really read quite well to avoid posting questions and waiting for replies when the answer has already been laid out for you.
Regards,
BonezTheGoon |
|
Back to top |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Mon Dec 02, 2002 3:09 am Post subject: |
|
|
I thought doing that installs the fs onto the partition... correct me if im wrong but Im looking for a command to completely delete everything on my hard drive (ie: format c: in dos for windows)
BTW I have read and re-read the installation guide.... ... I had to to understand ANYTHING the first time I tried to install gentoo (took me 3 tries) _________________ Gentoo isn't just an OS... It's a state of mind. |
|
Back to top |
|
|
freefall Tux's lil' helper
Joined: 13 Apr 2002 Posts: 89
|
Posted: Mon Dec 02, 2002 3:47 am Post subject: |
|
|
Creating a filesystem on a partition wipes out any data on it, just like 'format c:'. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1398 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Mon Dec 02, 2002 3:03 pm Post subject: |
|
|
Format and initialize are basically identical to one another. Format C:\ simply rewrites the file system to C: in windows. They are the same idea.
Regards,
BonezTheGoon |
|
Back to top |
|
|
jlg Guru
Joined: 31 May 2002 Posts: 360 Location: Montreal, CANADA
|
Posted: Mon Dec 02, 2002 4:40 pm Post subject: |
|
|
Yes! mkfs does the same as format in dos but since linux is better If you want to take this a step further and are really paranoid that someone might find a way to read what was on the disks before you did mkfs than you can do the following:
dd if=/dev/zero of=/dev/hxx |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Mon Dec 02, 2002 5:35 pm Post subject: |
|
|
just dont do that while your chrooted to it _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Dec 03, 2002 6:14 pm Post subject: |
|
|
neo529 wrote: | I thought doing that installs the fs onto the partition... correct me if im wrong but Im looking for a command to completely delete everything on my hard drive (ie: format c: in dos for windows)
BTW I have read and re-read the installation guide.... ... I had to to understand ANYTHING the first time I tried to install gentoo (took me 3 tries) |
Just a little reminder here, format c: does not wipe out your entire disk. It rewrites the directory structure, but there are several tools on the market that can un-format your drive and other tools can rebuild your directory structure and files.
If you need to completly wipe your files, use one of the wipe/shredder tools available. They will physically over-write the contents of your file up to 7 times, each time with a different value in order to make sure that the contents can not be recovered.
Erik |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Tue Dec 03, 2002 6:30 pm Post subject: |
|
|
if you really want to erase data then a faster method than above mentioned dd ... whould be taking your disk out of the box (if you have a box) and then use a magnet to erase the data, just move the magnet (it most be a strong one) across the surface of the disk _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Tue Dec 03, 2002 6:43 pm Post subject: |
|
|
ooooooooooh, thats evil
You do have to waste time taking the disk out thou... _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
|