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
  •  


Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200 picture

Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200

$37.24



Amiga A500 NTSC, 1 MB Chip RAM, HDMI, Wireless Mouse picture

Amiga A500 NTSC, 1 MB Chip RAM, HDMI, Wireless Mouse

$360.00



Commodore Amiga 2000 2000HD 2500 keyboard (KKQ-E96YC) . Fully working picture

Commodore Amiga 2000 2000HD 2500 keyboard (KKQ-E96YC) . Fully working

$219.00



AMIGA 2000 Mainboard Rev 6  ASIS picture

AMIGA 2000 Mainboard Rev 6 ASIS

$100.00



Commodore Amiga 2000HD Plastic Front FacePlate Bezel with LED Panel 2000 2500 picture

Commodore Amiga 2000HD Plastic Front FacePlate Bezel with LED Panel 2000 2500

$149.98



Commodore Amiga 1000 w/Keyboard, Mouse, RAM upgrade picture

Commodore Amiga 1000 w/Keyboard, Mouse, RAM upgrade

$850.00



Amiga 500 Gotek Custom Mount USB Floppy Emulator - Complete Kit with Gotek picture

Amiga 500 Gotek Custom Mount USB Floppy Emulator - Complete Kit with Gotek

$65.00



Vampirized Video Toaster Branded Amiga 2000 Desktop Computer w/Flyer Vampire etc picture

Vampirized Video Toaster Branded Amiga 2000 Desktop Computer w/Flyer Vampire etc

$4999.98



TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network picture

TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network

$65.00



Amiga Gotek V3.42 External Ivory & BIEGE + 0.96 OLED + Rotary with DF1/ 23p Lead picture

Amiga Gotek V3.42 External Ivory & BIEGE + 0.96 OLED + Rotary with DF1/ 23p Lead

$88.58