Autor |
Nachricht |
|
Titel: How to ABSOLUTELY blank a drive?
Verfasst am: 19.05.2006, 00:13 Uhr
|
|
Anmeldung: 18. Mai 2006
Beiträge: 2
|
|
Hi All,
I'm new to all this and used Kanotix from CD, out of interest and just for very light tinkering since I got 2005-3. Effectively I don't know it at all.
I decided I'd like to get it on the drive and learn a lot more.
That is proving a problem. I've tried all day and I've seen bits of the drive that I can get to, and then the whole drive but could not play with it at all. I've had the drive vanish completely at times too.
I'm looking ofr a totally fool proof way to blank this drive and start over for a kanotix only install.
fdsik and cfdisk can't access the drive since parted tried to set things up. I think parted has caused something not expected to happen to the drive.
It's a 5Gb drive in an older laptop. Mostly Kanotix has run fine with it in just about all respects.
Using parted has me bewildered, I really can't get to grips with it for some reason that feels like a lack of sensible feedback - biggest trouble is getting it to unmount a drive, when you click on unmount it says mounted, and that's not really helping! ;O)
What can I try? I wanted to go further to learn, but can't go further becasue I need to learn, but what, and how if it won't let me?
I was going to set 4Gb as / and 512Mb or so as swap - I hope that's a sensible arangement for a 5GB drive? |
|
|
|
|
|
|
Titel: How to ABSOLUTELY blank a drive?
Verfasst am: 19.05.2006, 01:05 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
cat /dev/zero > /dev/<our disk, may it be hda, sda or whatever>
BE AWARE: this starts immediately blanking the WHOLE drive without any chance for restoring. |
|
|
|
|
|
|
Titel: Re: How to ABSOLUTELY blank a drive?
Verfasst am: 19.05.2006, 03:01 Uhr
|
|
Anmeldung: 18. Mai 2006
Beiträge: 2
|
|
slh hat folgendes geschrieben::
cat /dev/zero > /dev/<our disk, may it be hda, sda or whatever>
BE AWARE: this starts immediately blanking the WHOLE drive without any chance for restoring.
Thanks for the info.
Actually I had just solved it myself, and was logging in here to say so as well.
Some years ago, I used to use one of the Linux live CDs to save hard drives that had been messed up by that other OS. Oddly I just used the set up CD of that other OS (in it's latest version) to scrub the bogus partions that qtparted had allowed to be made! ;O)
How times change eh! ;O)
There's a lesson for me somewhere in there, and I'm no longer quite sure what I am going to do next. |
_________________ Cheers,
Klappy
|
|
|
|
|
|
Titel: GParted
Verfasst am: 19.05.2006, 04:12 Uhr
|
|
Anmeldung: 24. Mai 2005
Beiträge: 354
Wohnort: Nashville
|
|
I would recommend GParted. It's a LiveCD and easier to use than QTParted. Small download-- 32 MB or so. |
_________________ Debian Social Contract
|
|
|
|
|
|
Titel: GParted
Verfasst am: 19.05.2006, 06:30 Uhr
|
|
Team Member
Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
|
|
klappy,
or go for cfdisk, which is very reliable. there is an easy howto here:
http://www.kanotix.com/FAQ-id_cat-63.html
look at the 2 at the bottom, cfdisk and format.
greetz
devil |
_________________ <<We are Xorg - resistance is futile - you will be axximilated>>
Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
|
|
|
|
|
|
Titel: GParted
Verfasst am: 19.05.2006, 09:05 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
to blank completely a HD, you schould know the numbers of the HD. Unmount The HD, and from commandline enter:
dd if=/dev/zero of=/dev/hdTOBLANK bs=512 count=number_ of_block_ to_write
This clears completely all sektors on the entireHhD and takes between 2 and 30 minutes depending on the capacity of the HD. |
|
|
|
|
|
|
Titel: GParted
Verfasst am: 19.05.2006, 09:59 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
cat is usually quite a bit faster than dd due to better blocksize management. |
|
|
|
|
|
|
Titel: GParted
Verfasst am: 19.05.2006, 11:31 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
may be, but with dd you realy erase all date incl. mbr what cat can't do |
|
|
|
|
|
|
Titel: Re: GParted
Verfasst am: 19.05.2006, 11:53 Uhr
|
|
Anmeldung: 13. Dez 2004
Beiträge: 730
Wohnort: Deutschland
|
|
schnorrer hat folgendes geschrieben::
may be, but with dd you realy erase all date incl. mbr what cat can't do
wrong. |
_________________ Kanotix 2006-1 RC4 (daily dist-upgraded)
Deutsches Kanotix Wiki - English Kanotix Wiki
|
|
|
|
|
|
Titel: Re: GParted
Verfasst am: 19.05.2006, 14:49 Uhr
|
|
Anmeldung: 17. Dez 2003
Beiträge: 700
Wohnort: Berlin
|
|
cat /dev/zero > /dev/hda
DON'T DO IT AT HOME, KIDS!
Ciao Martin |
_________________ omnia vincit pecunia
|
|
|
|
|
|