Results 1 to 4 of 4

Thread: Cheatcodes explanation

  1. #1
    Member registered user
    Join Date
    Apr 2003
    Location
    Warsaw, Poland.
    Posts
    55

    Cheatcodes explanation

    Hi:

    Could anyone explain me the meaning of three cheatcodes:

    1) toram - "Copy CD to RAM and run from there". Hm. I have only 256 MB RAM. How much should I have to run Knoppix from RAM ?


    2) tohd - "knoppix tohd=/dev/hda1" Will it install Knoppix on my hard disk on the first partition ?

    3) fromhd ?????

    Thank you.

    w.

  2. #2
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    12
    1) It takes about 700MB of RAM to place Knoppix into it so you should have 1GB to make Knoppix run smooth. 850MB are OK, but you will not be able to run several big programs simultaneously.

    2) tohd copies the compressed Knoppix image from the CD to the HDD (and loads the OS from there) - it's not a real installation since you cannot write to this image.

    3) fromhd forces Knoppix to load from an image that was previously copied to the HDD. So if you runned Knoppix with tohd once, next time you can use fromhd (to avoid the image being copied to the HDD again - it would be a waste of time).

  3. #3
    Member registered user
    Join Date
    Apr 2003
    Location
    Warsaw, Poland.
    Posts
    55
    Thank you very much !

    I guess that it is possible to start Knoppix copied to the hd using a boot floppy. Am I right?

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    ...yep! In fact, if you do this a lot you can make a small FAT partition on the HD and boot the floppy image from there. Much faster, especially if you don't have a floppy drive / can't boot from CD.

    Code:
    fdisk -l /dev/hda
    Disk /dev/hda: 255 heads, 63 sectors, 9962 cylinders
    Units = cylinders of 16065 * 512 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/hda1             1       204   1638598+   b  Win95 FAT32
    /dev/hda2   *       205       206     16065   83  Linux
    /dev/hda3           207       207      8032+  83  Linux
    /dev/hda4           208      9962  78357037+   f  Win95 Ext'd (LBA)
    --Use Partition magic or qtparted or whatever to resize, and create a small 1-or-2 cylinder partition. Type doesn't actually matter, it can say type 83 and still boot FAT.

    ' dd if=/dev/zero of=/dev/hda3 bs=1M ' == Do this for your new partition to initialize with zeros
    ' dd if=/cdrom/knoppix/boot.img of=/dev/hda3 bs=1M ' == Copy the boot.img file from CD to the HD

    --Now to boot Knoppix without using a floppy:
    ' activate /dev/hda 3 ' (the space is important! See "man activate") and reboot.

    --To get things back to normal:
    ' activate /dev/hda 1 '. This sets the boot flag back to Windows. To activate the linux boot flag from DOS, use fdisk.

    --Note: When Knoppix revs to a new release, you have to update the boot image! In that case, boot from CD or floppy at first and dd the boot.img file again.

    --Now I realize this is a bit complicated, but it works for me. Klaus also did a neat thing and added a cheatcode, "fromhd" so you can boot the CD and it will look for poor man's install and run from there instead of using a boot floppy.

    Quote Originally Posted by pnti
    Thank you very much !

    I guess that it is possible to start Knoppix copied to the hd using a boot floppy. Am I right?

Similar Threads

  1. An explanation of UNIONFS?
    By mark.johnson in forum General Support
    Replies: 5
    Last Post: 04-04-2005, 10:35 AM
  2. Replies: 2
    Last Post: 01-27-2004, 05:54 PM
  3. Cheatcodes ..where is it ?
    By larryks in forum Customising & Remastering
    Replies: 4
    Last Post: 06-09-2003, 12:43 PM
  4. cfdisk-explanation
    By senorian in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-20-2003, 03:38 PM
  5. Cheatcodes
    By George Wiedmann in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-20-2003, 05:21 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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots picture

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots

$745.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$94.95