Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 07-28-2005, 08:58 PM   #1 (permalink)
 
Newb Techie

Join Date: Jul 2005

Posts: 19

Spritz2523

Send a message via AIM to Spritz2523
Default specific linux command

does anyone know the linux command to erase the hard disk.

i installed suse proffesstional 9.3 and i tried using the system restore cds that came with my pc. it wont load the symantec ghost, or anything. i think i have to wipe the hard drive and partitions completely.

i believe the command looks something like "rm *.* -r".

if anyone knows the command or has suggestions to fix my problem it would be greatly appreciated.
Spritz2523 is offline  
Old 07-28-2005, 09:13 PM   #2 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

rm -rf should do it.
__________________



Debian Support Forums!
macdude425 is offline  
Old 07-28-2005, 11:28 PM   #3 (permalink)
 
Super Techie

Join Date: May 2005

Posts: 479

furtivefelon

Default

i thought you have to put in "rm -rf /" (or was it "rm -rf /*".. can't really remember it), as then it will start erasing starting from root and work recursively down the directory

try to reinstall it? format it? there are alot of ways, but this is definately not the way to do it :|
__________________
lisp hacker
running: FreeBSD 5.4 - still learning
develop with: SBCL + emacs for lisp, Anjuta IDE +gcc for c, SPE for python..
browse with: opera
furtivefelon is offline  
Old 07-29-2005, 12:27 PM   #4 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

Code:
rm -rf /
But you could probably use fdisk (or cfdisk) to repartition and format your hard drives.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
Old 07-29-2005, 12:38 PM   #5 (permalink)
 
Newb Techie

Join Date: Jul 2005

Posts: 19

Spritz2523

Send a message via AIM to Spritz2523
Default

well i did rm -rf /* and it erased all the directories went into kernel panic at restart, but still coulndt use my restore cds. im gona try fdisk. if not i guess i will have to get a windows xp install cd. fudge. well thank the lord i have my mac. i use it for everything. i just want xp for the pc essentials and to try vista.
Spritz2523 is offline  
Old 07-29-2005, 01:42 PM   #6 (permalink)
Qiranworms's Avatar
 
Monster Techie

Join Date: Mar 2003

Posts: 1,637

Qiranworms is on a distinguished road

Default

The rm command won't format your drive. All it does is remove files. If you want to install a new OS on the drive/partition, you have to properly format it with something like fdisk.
__________________
-->Marc
Error: Keyboard not attached. Please press F1 to continue. <pre>-------OS----------Gentoo Linux-------<br>------Browser-----Mozilla Firefox-----</pre><form action="http://www.srsyo.org/tfsearch.php" method="get"><input type="text" name="search"> <input type="submit" name="submit" value="Search the Forums, thanks to Emily"></form>

|||Official Forum Rules|||<hr>
Qiranworms is offline  
Old 08-02-2005, 09:44 AM   #7 (permalink)
 
Newb Techie

Join Date: May 2005

Posts: 7

reztart

Default

dd if=/dev/null in=/dev/hd? count=1 but i dont know now or its exactly. It should delete your hard disk partition table =)
reztart is offline  
Old 08-02-2005, 03:07 PM   #8 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

Yes, and so will cfdisk.
__________________



Debian Support Forums!
macdude425 is offline  
Old 08-02-2005, 03:21 PM   #9 (permalink)
 
Super Techie

Join Date: Dec 2004

Posts: 467

TheRecluse

Default

I'm having the same problem. Is there anyway I could create a windows boot disk in linux? I tried to use wine and the bootdisk EXE from bootdisk.com but it didn't work. I don't have my Linux install disks with me anymore either.
__________________
TheRecluse is offline  
Old 08-02-2005, 06:46 PM   #10 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

I THINK this should do it:
dd if=*.img of=/dev/fd0

* is the name of the disk image file.
__________________



Debian Support Forums!
macdude425 is offline  
 
Closed Thread

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On