PDA

View Full Version : V7.4.2 Sticking cheatcodes



knp
05-24-2015, 12:20 AM
Hi

In version 6.4.4 there did exist a layout "languages" so that one freely change and choose ANY language without rebooting.

In v7.4.2 this possibilty does not exist or this is perhaps "hidden". Rebboting is necessary when the cheatcode "lang=..." have been forgotten.

On my "usb_hdd_knoppix_installed" the cheatcode "screen=800x600" has been SAVED as a permanent setting_Data.... but NOT "lang=fr"
So I am obliged to type "lang=fr" at every boot...rebooting if forgotten.

IS THERE A WAY TO MAKE THIS CHEATCODE "STICKY definitly? !

Thanks

knp

rajibando
05-24-2015, 04:03 AM
Hi!

Use grub and pass all the cheatcodes through grub.cfg while booting.

Your STICKY happens through persistent.

knp
05-24-2015, 02:43 PM
Hi

Thanks you rajibando. I shall try your idea.

But I have had a very very bad experience with "grub" which I liked. On my fixed HDD I have an official Windows XP installation.

I am absolutly certain that WinXp does not accept a "real pacific "coexistence" with Linux" if Win is used REGULALY via "grub".

As it is known one is sometimes obliged to keep this Win pre_installation pretty.

This obligation have conducted me to search for other "OS's" to be adopted definitly...but only after a very good training about them.

I think I have learned how to suppress the "grub" which I encountered (that version offered in Knoppix 5) in case of a new problem.

What I have understood also is that with "grub" it is not recommended to "create/suppress" partitions.

I shall backup my data and try the grub offered by by Knoppix 7.4.2

Best regards

knp

rajibando
05-24-2015, 03:19 PM
Please don't.
If you can identify your HDD please open the underbelly of your laptop and remove the HDD. Then use an USB drive to experiment.

knp
05-24-2015, 10:53 PM
Hi rajibando
Your proposition seems to be appliable
Installing then Grub on the USB disk.....with the risk not being authorized to connect the fixed HDD.
Perhaps it wil be possible to use the cheatcode "grub" which then could be searched for by knoppix7.4.2 himself.
I shall try it so preserving perhaps the WinXP drive connected afterwards before rebooting.
Best regards
knp

knp
05-24-2015, 11:16 PM
COMPLEMENTS
My project will be somewhat "problematic" because the fixed HDD already contains a SOS_knoppix partition.
Surely I shall finally find a solution "linking" with your proposition.
knp

rajibando
05-25-2015, 03:04 AM
Hi!


... the fixed HDD already contains a SOS_knoppix partition.
...knp
Your project is not at all problematic! It's easy to solve.
That SOS HDD will create problems if it has knoppix iso or persistent.
Remove any Knoppix persistent and image that might be in the HDD. I have a 'solved' post which has knoppix ISO, persistent and grub to boot knoppix from USB flashdrive.
Afterwards, you can add connect your HDD and enjoy its huge data storing ability. If you format it to ext4 you could direct knoppix to use it as a persistent itself.
My posts has all the guidelines, if you can connect the dots.
And why did you say COMPLEMENTS? I know you have a problem with English, but I also know you use online Google Translation for brushing up your post.

knp
05-25-2015, 01:22 PM
Your solution
1- My Knoppix_Hdd_installation is not an ISO nor an IMG. I installed it long year ago on a partition with the now old tools's installation given then by Knoppix_5.Then I used the "adapted Grub" to install it. This worked for some months.But I understood that it works only when I do not use WinXp regularly via that Grub. A very "traumatic" experience which conducted me - 1st to re-install WinXp as a very newbie (that I stay again) - 2nd to use "Mbr's tools" given by WinXp. Now I never use "grub" and I am somewhat more quiet but I do not like to loose a kind of "freedom" about my computer.....

2- I wrote a "COMPLEMENT" as soon as I realized that my project will not be good after "reconnecting" the fixed HDD which indeed CONTAINS the part of "grub" written on the MBR. I a sure of that. Then I learned that Linux uses a kind of part of the Bootsector theoretically not used by WinXP. My experince learns me that WinXP does not use that part but seem to holds like if it is the real "propprietary" of the "MBR" written by other "OS's". But do'nt worry I shall find an issue via your idea, probably before 4 or 5 days.

3- I do'nt understand your reference to Google. I Never use Google's translation and uses it very rarely even for browsing also. But your remark tells me that my "English" is at least as good as the Google one. In secondary school I was a somewhat "good pupil" in English. This was completed by teaching necessarily "almost bad English" to young scholars when I was a student. Also writing myself in English forces me to learn more this language...though it is not evident.

Thanks knp

rajibando
05-25-2015, 01:47 PM
Dear knp,
I said you use Google translation because your construction has a pattern similar to google's. Google's translation is becoming better, but still I can identify it.

Your latest post is very difficult to read, without line breaks and formatting.

I generally call a fixed, unchangeable file an Image (while talking about Knoppix), irrespective of whether it is an ISO or the KNOPPIX and the BOOT folders underlying the ISO, containing minirt.gz and KNOPPIX files required for running a Knoppix system.

Irrespective of whether your HDD's MBR contains Grub or not, Grub on Pendrive will not be bothered.

I write what I experience.

This will be my last post on the issue. I assure you that you remain FREE to choose whatever you deem fit :-)

All the best.

knp
05-25-2015, 05:49 PM
Hi rajibando

Thanks you for your help

1- I spoke of freedom in regards to WinXP .

2- My last post was not formatted at all because my laptop was
"hanging" (=?) which obliged me to reboot. But the post
remaned saved without beeing "editable".

3- I have tried to have a very quick glance on your post you spoke
about. and other conversations on the problem

4- I think I have almost understood the meaning of your last post.

5- I shall study tese ideas as soon as I shall find more time.

Thanks you and best regards

knp

rajibando
05-25-2015, 06:47 PM
Hi!

I remembered that I had forgotten to tell you when you try the pendrive GRUB boot physically disconnect the HDD, not just switching it off from BIOS Boot sequence only. Otherwise, Grub may make things complicated if you pay it lesser attention than it deserves. Before that rename the KNOPPIX, knoppix and boot files and folders of the Knoppix partition on your HDD. Shortly will tell you why.

Once your pendrive is ready to boot from knoppix re-attach the HDD, but if you don't rename KNOPPIX and other folders in your HDD, Knoppix will scan and find those files and boot from there, irrespective of whether you have changed the BIOS boot sequence.

When you have experimented enough you could change to your existing HDD knoppix partition as persistent.

Irrespective of what I have written please feel free to follow your instinct. It is not ethical for me to look at your laptop and change things. Things aren't that complicated.

And never forget to thank the moderator, our Guardian Angel, who constantly looks around, correcting things when we mess up. He formatted your page to make it look pleasing. He does never overdo things. See that he did not correct your spellings and sentence constructions. A gem of a man!

superman
05-25-2015, 07:41 PM
@ knp

If teaching the boot loader to remember the cheat codes is the stuff you are looking for, the following two links from the knoppix's wiki may help.

For syslinux and its derivatives, http://knoppix.net/wiki/Cheat_Codes#Micro-Remastering
For grub legacy and grub2, http://knoppix.net/wiki/Category:Hard_drive_Installation#Poor_man.27s_inst all

In case the existing boot loader of the USB hard drive is grub4dos, I think its syntax is fairly similar to that of grub legacy.

knp
05-26-2015, 01:06 PM
Hi

This "reply" only to precise that somebody has replaced my user name "knp" by "superman".

This could be unpleasant because I see nothing justifing the situation.

I found (and find again) this forum very good in courtesy and help.

Yes there exist some people who do not like some web browsers nor some other "OS's".

Personnally I got bad experiences with "grub" not because of his quality (that I cannot evaluate!) but because of my lack of knowledge in Linux.

The Installation which I talk about needed not much knowldge:automatic one by Knoppix_5.

If this estonish somebody I can do nothing against. I continue to trying to learn Linux which is difficult when coming from the Win Sphere.

rajibando, utu, shultz and others gave me a good help and that only counts really for me.

Regards

knp ...not Superman!

rajibando
05-26-2015, 02:26 PM
Dear Knp, this post just went over the top of my radar! Was it humour, satire, ...? You have a queer way of writing!
-----------------------------------------------------
I don't know about the French, but the Germans certainly write beautiful English, like our moderator, admin, utu, et al.
French, German, etc., are more complex than English, with more rules on genders and formality.
However, you are fortunate not to have known Sanskrit, Hindi or Chinese or Japanese.
Sanskrit has a separate rule for twosome (between one and many)! Not only that, it has four set of rules for verb forms (for four noun-types, Mas, Fem, Neut and Dual). It has eight different rules of associative property for nouns (self, with, in, on, off, to, wow,...) conjoined with nouns. Enormously complicated.
Hindi is the same as Sanskrit, other than the associative separated into separate words.
Mandarin, Cantonese, Japanese can't be read unless you know 9000 symbols. Just examples of how sick humans can become to make simple things complicated -- no insult intended.
Fortunately, my mother tongue, Bangla, and several South-Indian (Dravidian) languages, just like English, have no gender rules for sentences, other than the French-type three forms of 'you'. English just has You, so further simplified! The only problem for English is the phonetics. Our Indian written forms are vernaculars, phonetics-based.
English is the world language not because the British conquered the whole world, but because it was a language very easy to learn not only by the ordinary English but foreigners as well, and this helped in communication and commerce and so it spread very quickly.
Simplicity is a huge gift, just like the Open-Source Software. Simplicity helps reading the source, compacting programs and constantly improve.
------------------------------------------------------------------
What about superman and knp?
I too came to Linux via Knoppix and Debian, but I learnt, with sufficient help. And you don't have what I have -- a reading disability and I am very visual. I understand better with mind maps, flow charts, diagrams, movies, etc., rather than texts.
You should not use your ignorance as shield. I don't feel ashamed to ask. I would rather push people.
Over a period of time you will learn. Then, from there take the final leap into source codes and programming., choosing something you like best.
Regards

Werner P. Schulz
05-26-2015, 05:41 PM
Hi
This "reply" only to precise that somebody has replaced my user name "knp" by "superman".
This could be unpleasant because I see nothing justifing the situation.
What do you mean by this? To which posting do you refer?

knp
05-26-2015, 09:22 PM
To those altogether replied to my message about "...knp not superman..."

1- to w.p.shulz
a- "this" = "this message" via the "option proposed "quick reply"

b- I saw in the results of the "what's new" option of the menu
that my post #10 had as author some "superman". I did not
understood how and why this attribution could happen.

c- I remark now that there do exist really somebody called
"superman" who replied also like to my message.

d- Is this answer sufficient? If not do'nt worry any more.

2- to rajibando
a- your ulimate message is somtimes difficult for me. For example

a1- I looked for some words on the web. No satisfactory translation
by wikipedia or othr dictionaries.

a2- I am never ashamed by my ignorance, the real source of
knowledge if accepted by oneself. It is not a shield! Against
what if any?

a3- Simplicity is the actual companion of my age if I lacked of it
when I was younger

a4- Indeed I know Indians, Japaneses etc; but not their languages.
Nor therefore their real difficulty .I heard about that as you
confirm.

a5- It is well known that french schools made very few efforts for
other languages. I think this is changing now (a bit). It is
(perhaps) the reason why my "english" stays still to "a broken
secondary school english".
Perhaps "my pattern" similar to google's translator?

a6- I do not plan learning "Linux in the details". I just need a very
basic knowledge(a bit large) allowing me to overcome some
(inevitable) simple problems occuring. Your "links" will do the
job (I hope).
I do not have sufficient time to convert into an informatician.
Though it would please me!

a7- As for "superman" ....please see 1-b (to w.p. schulz)

3- to superman
a- Thanks you for the links.

b- I do not plan to study any topics in large details. I need only
"simple" things.

c- I remark that there exist a person having the same user name as
you.

d- You seem to be a junior member. So I suppose you are not the
person evocated in point 1-b (to w.p.schulz).?

Best regards to altogether

knp

superman
05-27-2015, 05:02 AM
Dear knp:



d- You seem to be a junior member. So I suppose you are not the
person evocated in point 1-b (to w.p.schulz).?

Yap, I am the new finish in town indeed and have been using Linux for just a few months. Under the circumstance of being unable to precisely understand the question quoted above since English is not my mother tongue, I am 110% sure that the post #12 was written by me, and have no slightest clue regarding the matter of point 1-b.



b- I do not plan to study any topics in large details. I need only
"simple" things.

From your post #1 and #8, I inferred that the topic was centralised around how to avoid typing certain cheat codes repetitively at every boot time and how to accomplish this particular task without overwriting the existing MBR and thus the boot loaders of any storage devices. In spite of the words, usb_hdd_knoppix_installed and ISO/IMG file, being mentioned in the post #1 and #8, respectively, I was unable to grasp whether the Knoppix was installed as a compressed file (/mnt-system/KNOPPIX/KNOPPIX ; by default) or an uncompressed Debian-like system and whether Syslinux or GRUB legacy was installed as the bootloader on the USB hard disc. I, therefore, posted two links from Knoppix's wiki with a view to resolving the combination of compressed file and either of the bootloaders. At first glance, the titles of the sections which the links pointed to appeared to be irrelevant to the topic. I, however, assured that the content concisely described the means of setting the argument of lang=fr statically via the configuration file of the bootloader; from the sentence: "To boot this poor man's install..." onwards in the case of GRUB legacy.

From the post #5, #6 and #8, I assume the setup of your computer probably consists of 2 hard drives, one internal and one external discs; the internal hard drive contains (not exclusively) a Windows XP partition and a SOS_Knoppix partition (Knoppix V5.x), and the external drive also has a knoppix partition (Knoppix V7.4.2). In the case of Knoppix being installed in the fashion of compressed file on both hard drives, the cheat code, namely fromhd, may also need to be included when Knoppix V7.4.2 is preferred to be booted. Thus, the compressed file matched with the minirt.gz file can be found and loaded.

For the combination of uncompressed Debian-like system and either of the bootloaders, the files, namely /etc/sysconfig/i18n and /etc/sysconfig/keyboard, may be the key files regarding the settings of language and keyboard layout.


Regards,

Werner P. Schulz
05-27-2015, 08:17 AM
I believe, it's time to close this thread. Meanwhile we are far away from the question in the 1st posting. If necessary the OP may open a new thread and tell us more about his own efforts to solve the problem.