BTS

Issue1294

Title Permanently adjust boot parameters does not work as documented
Priority bug Status resolved
Superseder Nosy List S.Kieske, jimmy
Assigned To Topics

Created on 2014-02-19.09:14:58 by S.Kieske, last changed 2014-03-20.22:17:09 by mika.

Messages
msg4745 (view) Author: mika Date: 2014-03-20.22:17:09
This should be fixed by the upload of grml-autoconfig 0.13.0, marking this issue
resolved.

Thanks guys!

regards,
-mika-
msg4739 (view) Author: jimmy Date: 2014-03-18.19:51:54
> In the documentation the following path is mentioned:

> "executes scripts =>   run script DCSDIR/scripts/grml.sh
> The DCS directory defaults to the root directory of the GRML live image."

> However the correct path is:
> /lib/live/mount/medium/scripts/grml.sh

This IS the root directory of the GRML live image!
You are right, it's not clear when reading the manpage so I've updated the 
section about DCSDIR. Thx for reporting that.

greets Jimmy
msg4731 (view) Author: S.Kieske Date: 2014-03-17.08:12:40
Am 15.03.2014 10:33, schrieb Andreas Gredler:
> 
> Andreas Gredler <jimmy@grml.org> added the comment:
> 
> What is the output of "cat /proc/cmdline"?
> Does it work when you provide the boot parameter "scripts" manually?
> 
> ----------
> nosy: +jimmy
> status: unread -> chatting


Well I could resolve this issue by finding out the correct path
to place my scripts.

In the documentation the following path is mentioned:

"executes scripts =>   run script DCSDIR/scripts/grml.sh
The DCS directory defaults to the root directory of the GRML live image."

However the correct path is:
/lib/live/mount/medium/scripts/grml.sh

This is at least very unclear, maybe add a better explanation to:
http://grml.org/config/grml-autoconfig.1.html

Thanks for the awesome product anyway.

Once I did find out the correct path everything worked as
expected.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
msg4730 (view) Author: jimmy Date: 2014-03-15.09:33:20
What is the output of "cat /proc/cmdline"?
Does it work when you provide the boot parameter "scripts" manually?
msg4722 (view) Author: S.Kieske Date: 2014-02-19.09:14:58
Hi,

I got a question regarding the feature:
"Permanently adjust boot parameters"
as stated in the documentation at:

grml.org/config/grml-autoconfig.1.html

it says, that you are able to pass
boot parameters permanent via making
a file /bootparams/bootparams

however, I can't get this file triggered.

I did set it up with the content "scripts"
which should, according to
http://grml.org/config/grml-autoconfig.1.html

executes scripts =>   run script DCSDIR/scripts/grml.sh
The DCS directory defaults to the root directory of the GRML live image.

So I expect it to execute /scripts/grml.sh
but it doesn't.

So either the documentation is wrong, or this is an actual bug, because
the script doesn't get triggered.

I re-created the necessary iso image with grml-live and made sure the
script is marked as exectuable.

I would be happy about any advice on how to enable this feature.
Do I have to manipulate the squashfs image directly?

PS: Another Doc bug in this section:

"note: the directory is known as /live/image/bootparams/ on a running
Grml system then"

This is not correct, the directory resides under / .
There is no directory /live at all.

Furthermore this section in the docs appears twice, maybe a
copy-and-paste error.



-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
History
Date User Action Args
2014-03-20 22:17:09mikasetstatus: chatting -> resolved
nosy: jimmy, S.Kieske
messages: + msg4745
2014-03-18 19:51:54jimmysetnosy: jimmy, S.Kieske
messages: + msg4739
2014-03-17 08:12:40S.Kieskesetnosy: jimmy, S.Kieske
messages: + msg4731
2014-03-15 09:33:20jimmysetstatus: unread -> chatting
nosy: + jimmy
messages: + msg4730
2014-02-19 09:52:37mikasetpriority: bug
2014-02-19 09:14:58S.Kieskecreate