Results 1 to 7 of 7

Thread: watch out for the "tohd" cheat code

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    2

    watch out for the "tohd" cheat code

    yeah, instead of using sudo knoppix-installer, (hand't seen that) I tried the tohd which I found in the cheat codes file. Don't know which version, don't have it with me. But it wrecked the hard drive, I mean I had to go out and buy a new one, spent ages in parted and fsck, dosfsk and all that. But it was like I'd taken that hard drive out and kicked it round the room. Not angry or anything, my risk and all, got a new hard drive and did knoppix install, really like it, of course it's debian, but I like the whole idea. Thank ya. God bless

  2. #2
    Junior Member
    Join Date
    Jan 2005
    Posts
    7
    Hmm...that's weird!
    You couldn't even stick it in another computer (as slave) and format/fdisk it?

  3. #3
    Member registered user
    Join Date
    Jul 2004
    Posts
    30

    Re: watch out for the "tohd" cheat code

    Let me get this straight: you typed "tohd=/dev/hdxx" at the KNOPPIX splash screen, and next thing you knew your HD was trashed?

    As far as I know, when you type tohd, all that happens is that about 700MB of stuff gets copied from the CD to a directory called knoppix in the top level of the partition you indicate. And if there isn't enough room or it doesn't accept the partition's type of format, it doesn't copy anything. In that sense, I've used it a lot precisely because it has always been extremely "low impact" for me -- from the windows perspective, no more than "just another folder" in my root directory.

    So I am curious what other details you noticed. Like:
    Did the drive have an unusual configuration? Was it NTFS? Is it possible the drive was "hanging by a thread" to start with?

  4. #4
    Junior Member
    Join Date
    Feb 2005
    Posts
    2
    well it certainly wasn't hanging by a thread, of stuff that had happened on it since I bought it, all that I remember going wrong before was one or two circular references on my fat32 partitions, which dosfsck fixed. I did the tohd thing, and then when i tried to run knoppix from the hd, it would give something like seek error(etc etc) :41009, over and again then reset(0) or something like that and then repeat itself whenever it was trying to read from the hd. I don't have any info with me (on a friends comp). Then I went and booted my red hat 9, and it did the same thing when trying to load kde, tried booting windows and it would just freeze as soon as grub chainloaded, and errors were just popping up everywhere I tried to access the hd, on every partition. As to trying to fdisk it etc, I tried that, running the knoppix cd and using fdisk, which wouldn't even read it, qtparted which crashed consistently, and parted which worked best but didn't fix it at all. I even tried a 5 hour dos format from a recovery disk, where it said "trying to fix allocation unit 5009" up to about allocation unit 10000000 or such, and it didn't do a single good thing. Still if it works ok for you, perhaps it was a fault in the copying of the cd, I didn't do any md5 checks or anything. Oh and also, no NTFS, I much prefere 98 to all these new fangled XP's, 2000s, and what not. Ah well, all this said, and the end of the day, the most important thing is that Jesus loves you, died for you, rose again and wants a relationship with you and all you need to do is invite him into your life. God bless

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    have you tried a lowlevel format? or perhaps first a "zeroing" of the disk (if that is not enough try low level formating).
    Code:
    dd if=/dev/zero of=/dev/hd bs=512
    these actions will WIPE the ENTIRE drive fairly well.
    any atempt at data recovery after the fact will not be easy, some might say near impossible.
    you might recover fragments of files after this, perhaps even whole files, but it will cost you time/money/hairloss/ulser... so be carefull.

  6. #6
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    Quote Originally Posted by OErjan
    have you tried a lowlevel format? or perhaps first a "zeroing" of the disk (if that is not enough try low level formating).
    Code:
    dd if=/dev/zero of=/dev/hd bs=512
    What does the bs=512 do? I have formatted with dd if=/dev/zero of=/dev/hda before, but I am not sure what the bs does...

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    it is just sets the blocksize to 512, yes 512b is default, BUT it is only on the READ side, on the write it might truncate the size to fit, so i forced it.
    man dd for more.

Similar Threads

  1. Can't get online when using "myconfig" cheat code
    By hinachan in forum Networking
    Replies: 0
    Last Post: 08-01-2006, 04:36 AM
  2. Does cheat code "testcd" work with DVD?
    By ockham23 in forum Knoppix DVD
    Replies: 0
    Last Post: 08-28-2005, 11:02 AM
  3. Need help with the "alsa=" cheat code
    By lothario in forum Hdd Install / Debian / Apt
    Replies: 14
    Last Post: 09-10-2004, 01:52 PM
  4. cheat code "persistance" with hd install
    By hardbop200 in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 09-10-2004, 12:49 AM
  5. apt-get problem "returned an error code (1)"
    By migross in forum General Support
    Replies: 4
    Last Post: 10-23-2003, 07:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco C3KX-NM-10G 4-Port SFP  10G Expansion Module 3750-X / 3560-X Switch picture

Cisco C3KX-NM-10G 4-Port SFP 10G Expansion Module 3750-X / 3560-X Switch

$50.00



FINISAR FTLX1471D3BTL TM SM 10KM SFP 1310NM CPRI 9.8G TRANSCEIVER picture

FINISAR FTLX1471D3BTL TM SM 10KM SFP 1310NM CPRI 9.8G TRANSCEIVER

$20.90



Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$419.99



Finisar FTLF8519P3BNL SFP-SX Gigabit 850nm LC SFP Transciever picture

Finisar FTLF8519P3BNL SFP-SX Gigabit 850nm LC SFP Transciever

$11.99



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Module 10G SFP+ to RJ45 10GBase-T picture

For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Module 10G SFP+ to RJ45 10GBase-T

$48.59



NEW Sealed Cisco SFP-10G-SR-S 10G SR SFP+ Module 850nmMM *US Shipping* picture

NEW Sealed Cisco SFP-10G-SR-S 10G SR SFP+ Module 850nmMM *US Shipping*

$15.00



GENUINE Cisco SFP-GE-T EXT 30-1421-01 USA 1000BASE-T RJ45 SFP Transceiver picture

GENUINE Cisco SFP-GE-T EXT 30-1421-01 USA 1000BASE-T RJ45 SFP Transceiver

$9.99



10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00