Results 1 to 7 of 7

Thread: watch out for the "tohd" cheat code

Hybrid View

  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
  •  


IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$27.25



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$319.99



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$65.02



ibm server z series picture

ibm server z series

$16000.00



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99



IBM System x3250 M1 1U Server Intel Pentium D @3.4 2GB RAM x2 250GB DRIVES NO OS picture

IBM System x3250 M1 1U Server Intel Pentium D @3.4 2GB RAM x2 250GB DRIVES NO OS

$27.99