31.07.2014, 14:10 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
klappy
Titel: How to ABSOLUTELY blank a drive?  BeitragVerfasst 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?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slh
Titel: How to ABSOLUTELY blank a drive?  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
klappy
Titel: Re: How to ABSOLUTELY blank a drive?  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
michael7
Titel: GParted  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
devil
Titel: GParted  BeitragVerfasst am: 19.05.2006, 06:30 Uhr
Team Member
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 ]
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
schnorrer
Titel: GParted  BeitragVerfasst am: 19.05.2006, 09:05 Uhr



Anmeldung: 09. Jan 2006
Beiträge: 1721

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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slh
Titel: GParted  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
schnorrer
Titel: GParted  BeitragVerfasst am: 19.05.2006, 11:31 Uhr



Anmeldung: 09. Jan 2006
Beiträge: 1721

may be, but with dd you realy erase all date incl. mbr what cat can't do
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Roughnecks
Titel: Re: GParted  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
horo
Titel: Re: GParted  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.