LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-07-2005, 03:46 PM   #1
Jmcatch742
Member
 
Registered: Jul 2004
Distribution: Mepis, Ubuntu, Slackity slack
Posts: 159

Rep: Reputation: 30
Whats the easiest way to format


I have to format my drive and I was wondering how I could go about this the easiest. I want everything erased. I am running MEPIS linux
 
Old 01-07-2005, 04:01 PM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
You mean like wipe out the disk and start over or format a new partition?

To format a new partition do this:
mke2fs -j -b 1024 /dev/hd?

To wipe everything out you can always do the 'rm -rf /' (I know not everything is gone but it does a good job of making it not boot. )
 
Old 01-07-2005, 04:06 PM   #3
Jmcatch742
Member
 
Registered: Jul 2004
Distribution: Mepis, Ubuntu, Slackity slack
Posts: 159

Original Poster
Rep: Reputation: 30
it doesnt wipe everything out? I need something to completely erase my whole comp.
 
Old 01-07-2005, 04:07 PM   #4
Jmcatch742
Member
 
Registered: Jul 2004
Distribution: Mepis, Ubuntu, Slackity slack
Posts: 159

Original Poster
Rep: Reputation: 30
lol this may seem wierd but could I put in my mepis iso disk and run the install and quit right after it formats?
 
Old 01-07-2005, 04:16 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
do you a) want to just have a completely empty drive or b) want to make sure that when the feds call they can't pin the blame for the incident about the schuman account onto you? if it's a) then just use fdisk to remove the partitions, no need to format anything, just repartition to whatever else you want. if it's b) they always have a way... run.
 
Old 01-07-2005, 04:20 PM   #6
Jmcatch742
Member
 
Registered: Jul 2004
Distribution: Mepis, Ubuntu, Slackity slack
Posts: 159

Original Poster
Rep: Reputation: 30
no, more like i want to wipe out linux so i can install windows, then install linux again because its much easier to dual boot with windows installedf first
 
Old 01-07-2005, 06:56 PM   #7
RodimusProblem
Member
 
Registered: Dec 2004
Distribution: Knoppix 3.6
Posts: 135

Rep: Reputation: 15
Boot into console somehow (use a liveCD maybe?) and issue the following command:

dd if=/dev/zero of=/dev/hda

Goodbye hda, partitions, data and all. (completely erases your hard drive: use with care)


Have your Windows disc ready. You'll need it to boot.




Other option:

cfdisk your drive so that you have no parititions formatted (ie delete everything).

Then boot via your Windows disk. Much quicker than the dd command, but it doesn't make your hard disk a clean slate either.
 
Old 01-07-2005, 10:10 PM   #8
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
If you want that clean feeling, what RodimusProblem suggested with dd is the way to go. This will change all the bits on the drive to 0's.

If you are afraid of the feds, then pull the drive out, smack it with a sledge hammer, then melt it. Seriously. I'm not kidding. You can use the program shred (type shred --help for options and synopsis) and write over the data on the drive an insane amount of times. This still won't completely wipe everything, since data could still be stored in the bad sectors, which you can't write to.

In a hard drive there are platters, essentially disks made of sillicon or aluminum and coated with a special magnetic material of which I can't remember what it is right now. When you write to this, you're manipulating magnetic properties which the drive reads as 0's or 1's. When you write some data, then write over that same data, the "echos" of the orignial data is still there.

I think the FBI can go down 7 layers, according to my sources which are not reliable. They pull the platters out and put them in some expensive tools back in a lab where they can record and make sense of the echos.

shed won't touch the bad sectors where data still resides. You can write over a drive as many times as you would like with shred. But if you're shreding for a real purpose, then you should really physically destroy the drive.
 
Old 01-07-2005, 10:36 PM   #9
Jmcatch742
Member
 
Registered: Jul 2004
Distribution: Mepis, Ubuntu, Slackity slack
Posts: 159

Original Poster
Rep: Reputation: 30
Um... guys. How the hell did this thread get to me all of a sudden becoming a top10 most wanted person? haha?? All I want to do is redo my partitions so I can install windows xp. What format do the partitions have to be in for windows xp? Thats all I want to do, And honestly I really dont want to melt my 160gig hd. thx
 
Old 01-07-2005, 11:13 PM   #10
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Just boot up with the Windows XP cd and it has a section where you can delete any or all partitions. Then create a new one to put Windows on. That is usually NTFS now days. Leave the rest of the drive alone as you can partition that with your Linux installer.
 
Old 01-08-2005, 04:49 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
right so you actually want to format anythign at all.... you want to delete partitions, which is a totally different thing, and somethign that XP can do on its install. any old bootdisk containing fdisk will do too.
 
Old 01-08-2005, 11:42 AM   #12
Jmcatch742
Member
 
Registered: Jul 2004
Distribution: Mepis, Ubuntu, Slackity slack
Posts: 159

Original Poster
Rep: Reputation: 30
When I boot up with windows xp it doesnt boot up to windows. It goes to linux. Yes I made sure boot to cd was on.
 
Old 01-08-2005, 01:31 PM   #13
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
You could make a boot floppy which has Smart Boot Manager on it . Then boot up with that and select your cdrom drive which has the WinXP cd in it.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
whats the best linux software for capturing MPEG 2 DVD format? maximalred Debian 0 09-19-2004 04:37 PM
never tried linux whatsoever whats the easiest distro to learn? xman2007 Linux - Software 36 01-04-2004 02:53 PM
Format Problems Saving Star Office Docs in Word Format kkempter Linux - Software 4 08-27-2003 04:23 PM
whats the easiest way to play a .mpg / .mpeg file in RH8? please help =) kublador Linux - General 8 02-22-2003 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:48 AM.

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
Open Source Consulting | Domain Registration