Results 1 to 5 of 5

Thread: Some 'official' cheatcode clarifications

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    Some 'official' cheatcode clarifications

    On Thu, Feb 17, 2011 at 06:47:53AM -0800, I wrote:
    > Greetings, Klaus.
    >
    > A relatively recent Knoppix cheatcode list
    >
    > http://mirror.leaseweb.com/knoppix-d...cheatcodes.txt
    >
    > does not include 'fromhd' as a viable cheatcode for Knoppix 6.4. (<-- Edit: my error as you will see)
    >
    > Some English Knoppix forum posters say they believe there is a viable cheatcode 'fromhd' which can be use to point to 'the KNOPPIX file' on an arbitrary hdd. Are they right?

    They are right, "fromhd" sets the name of the disk to search for Knoppix
    files.

    > If so, might this same 'fromhd' just as well be used
    > to point to 'the KNOPPIX file' on a USB storage device?

    While "fromhd" determines the disk, "knoppix_dir" tells the directory
    name of the compressed KNOPPIX*-files. The total path would then be

    $fromhd -> mounts the disk to /mnt-system
    $knoppix_dir -> tells the name of the KNOPPIX directory containing the filesystem in /mnt-system.

    I just had a look, it seems like the cheatcode is actually listed in the Knoppix 6.4 cheatcodes (and up):

    ### Configuration / Persistent image ###
    ...
    knoppix toram Copy to RAM and run from there
    knoppix tohd=/dev/sda1 Copy to Harddisk and run from there
    knoppix fromhd=/dev/sda1 Boot from previously copied CD-Image
    knoppix bootfrom=/dev/sda1/KNX.iso Access image, boot from ISO-Image. ***)
    knoppix knoppix_dir=KNOPPIX Directory to search for on the CD.
    knoppix knoppix_name=KNOPPIX Cloop-File to search for on the CD.
    ...

    Regards
    -Klaus

  2. #2
    Senior Member registered user
    Join Date
    Jul 2004
    Posts
    143
    Quote Originally Posted by utu View Post
    On Thu, Feb 17, 2011 at 06:47:53AM -0800, I wrote:
    > Greetings, Klaus.
    >
    > A relatively recent Knoppix cheatcode list
    >
    > http://mirror.leaseweb.com/knoppix-d...cheatcodes.txt
    >
    > does not include 'fromhd' as a viable cheatcode for Knoppix 6.4. (<-- Edit: my error as you will see)
    >
    >
    An error indeed. The problem was that bootfrom does not appear to work, even though it is listed. Someone suggested fromhd as an alternative. The response from Klaus here confirms my response to that suggestion by agreeing what fromhd does.

    However we still have no confirmation on the possibly defunct status of bootfrom.
    Last edited by ICPUG; 02-18-2011 at 06:41 PM.

  3. #3
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @ ICPUG

    Your 'indeed' deserves my heartfelt 'my bad'.

    I wonder if Klaus meant to have an explanation *** at the bottom of the cheat codes.
    It might be calling attention to an important detail in the usage of bootfrom.

    I didn't get my clarification either, but I'm not complaining.
    Indeed I'm not.

  4. #4
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by ICPUG View Post
    Someone suggested fromhd as an alternative.
    That was me and I was mistaken.

    I use fromhd=. I've a set up that boots a hard drive with a syslinux.cfg that uses fromhd= to boot a USB stick. Sounds stupid but I want my persistent image to be portable and home=is not implemented for Knoppix 6.

    I also booted the USB stick and used fromhd=/dev/sr0 to boot Knoppix on DVD. Hence my confusion. I think of a CD/DVD as an iso file, which of course, it isn't: it's a burnt iso file.

    I suspect that once upon a time someone found they were burning an excessive number of CDs while testing an upcoming Knoppix release so they added the bootfrom= cheatcode to save time and money. These days, I suspect, most of the testing is done using fromhd= to boot the KNOPPIX/KNOPPIX file. Since bootfrom= was a cheat code for developers they saw no reason to support any more.

    The file knoppix-cheatcodes.txt still talks about "knoppix.sh", which I know does exist in Knoppix 6. The problem here is not that a single cheat-code is obsolete. The whole text has to be read with extreme caution. The same goes for the (English) wiki. Who updates that ? Is it up folks like us ? (The blind leading the blind comes to mind).

    I'm thinking I might be better off joining the German language forum. Ich kan Deutsch nur ein bisschen. So I wouldn't be posting but what I read might be most helpful.

  5. #5
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by Forester View Post
    The file knoppix-cheatcodes.txt still talks about "knoppix.sh", which I know does exist in Knoppix 6.
    No, wrong again.

    I read
    Knoppix 6.1 ignores the knoppix.sh file. use the overlay-(ext2)filesystem /mnt/system/KNOPPIX/knoppix-data.img instead.
    on the Wiki page http://www.knoppix.net/wiki/Knoppix_Remastering_Howto.

    I don't know what that sentence is trying to say but for Knoppix 6.4.3 at least, a file at

    Code:
    /mnt-system/KNOPPIX/knoppix.sh
    works.

    Great if you have a USB install as no remaster is needed. Bad if you've a CD/DVD (comes back to the lack of home= again) as you'd need to remaster after every change.

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 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

$249.99



Cisco 2900 Series CISCO2911/K9 Integrated Services Router picture

Cisco 2900 Series CISCO2911/K9 Integrated Services Router

$46.74



Cisco C9200L-24P-4G-A Catalyst 9200L 24P PoE+ 4x1G Uplink Switch 1 Year Warranty picture

Cisco C9200L-24P-4G-A Catalyst 9200L 24P PoE+ 4x1G Uplink Switch 1 Year Warranty

$1845.00



Cisco Catalyst 3850 48 PoE+ 48-Port Gigabit Managed Switch WS-C3850-48F-E picture

Cisco Catalyst 3850 48 PoE+ 48-Port Gigabit Managed Switch WS-C3850-48F-E

$150.00



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$83.00



Cisco Nexus N9K-C93180YC-EX 48-Port 1/10/25G SFP + 6 40G/100G QSFP28 Switch picture

Cisco Nexus N9K-C93180YC-EX 48-Port 1/10/25G SFP + 6 40G/100G QSFP28 Switch

$789.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$38.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



Cisco WS-C3850-48F-S Catalyst 3850 48x 1GB PoE+ RJ-45 1x Module Switch picture

Cisco WS-C3850-48F-S Catalyst 3850 48x 1GB PoE+ RJ-45 1x Module Switch

$185.00



Cisco N5K-C5010P-BF 20-Port Nexus 5010 Series 10GbE Gigabit Ethernet Switch picture

Cisco N5K-C5010P-BF 20-Port Nexus 5010 Series 10GbE Gigabit Ethernet Switch

$119.99