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
  •  


ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



Asus B85M-E/CSM, LGA 1150 Intel Socket Motherboard picture

Asus B85M-E/CSM, LGA 1150 Intel Socket Motherboard

$39.99



***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$27.77



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



ASRock B660M PRO RS LGA 1700 Intel SATA 6Gb/s DDR4 Micro ATX Motherboard picture

ASRock B660M PRO RS LGA 1700 Intel SATA 6Gb/s DDR4 Micro ATX Motherboard

$94.99



ASUS Motherboard H81M-C | No CPU picture

ASUS Motherboard H81M-C | No CPU

$30.00



ASUS Q87M-E/CSM Intel Q87 Chipset DDR3 mATX LGA1150 Motherboard Tested picture

ASUS Q87M-E/CSM Intel Q87 Chipset DDR3 mATX LGA1150 Motherboard Tested

$48.95



ASUS Motherboard H110M-A | No CPU picture

ASUS Motherboard H110M-A | No CPU

$40.00



GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture

GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box

$115.00



BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled picture

BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled

$59.99