LinuxQuestions.org
Visit Jeremy's Blog.
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 10-21-2013, 07:33 AM   #1
GloomyBear
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Rep: Reputation: Disabled
Question Low Level Format from a live USB


Hello,
Please how do use low level format for my 80GB Hitachi HDD using dd?
shall I use
Code:
dd if=/dev/zero of=/dev/sda bs=512 count=1
or
Code:
dd if=/dev/zero of=/dev/sda
? is it possible to do it from a live USB?
I know using
Code:
dd if=/dev/zero of=/dev/sda
i'm gonna erase all the data, that's exactly what i want
and 1 more questions, when using one of the commands below what will happen?
Thank you in advance
 
Old 10-21-2013, 07:57 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,545

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
None of your commands will "format" a drive, they will simply fill the disk with 0's which will erase your disk but will not allow you to write anything to it until you create and format a partition with a valid file system.
 
Old 10-21-2013, 09:44 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
Quote:
Originally Posted by GloomyBear View Post
shall I use
Code:
dd if=/dev/zero of=/dev/sda bs=512 count=1
This will only overwrite the first 512 bytes on that disk, clearing out the MBR and partition table, but your data will be still there and is very easy to recover. The second command
Quote:
Code:
dd if=/dev/zero of=/dev/sda
will overwrite all data with zeroes on the disk. To get better performance I recommend to use a larger blocksize, depending on your hardware you will get best performance somewhere between 8 and 32MB:
Code:
dd if=/dev/zero of=/dev/sda bs=16M
 
Old 10-21-2013, 04:23 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,101

Rep: Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552
I haven't seen any low level format tools in a while. dd is not a low level format.

There are many ways to use a live cd/dvd/usb to do a very good erase on a hard drive. Most live distro's can even add on a few apps in live if you have enough ram.

I think ultimate boot cd is usuful. http://www.ultimatebootcd.com/

Last edited by jefro; 10-21-2013 at 04:26 PM.
 
  


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
Linux USB Low Level Format Tools ?? mbzadegan Linux - Hardware 7 03-12-2012 04:47 AM
[SOLVED] 0/Low level format varunb Linux - Newbie 11 08-26-2011 03:38 AM
tools to low level format and otehr tests on usb harddisk khaleel5000 Linux - Newbie 3 10-10-2009 08:45 AM
low level format juanb Linux - General 1 02-08-2006 04:16 AM
low-level format DanTaylor Linux - Newbie 7 01-22-2006 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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