[issue644] grml live-media-path=/grml-medium/live/ toram=grml-medium.squashfs scripts ignores scripts
Michael Prokop
bts at bts.grml.org
Sun Mar 1 14:17:40 CET 2009
Michael Prokop <mika at grml.org> added the comment:
* Marc 'Zugschlus' Haber <bts at bts.grml.org> [20090228 21:59]:
> when grml is started with
> /grml-medium-20090123/boot/grmlmedium/linux26
> live-media-path=/grml-medium-20090123/live/ toram=grml-medium.squashfs
> boot=live scripts
> the scripts are ignored as they are not copied over to the ram disk.
> This feature is important when grml is used as a rescue system, the CD contents
> is copied to /grml in an ordinary linux filesystem and booted alternatively to
> the "real" system by group. If the system is located remote in a network where
> no dhcp server is present and does not have a serial console, a grml.sh script
> may be needed to properly initialize the network to allow access to the system.
> "toram" without a file given on the command line works, but copies the entire
> root file system into ram which may not fit in all cases.
Hm yeah, toram=grml-medium.squashfs really just copies the squashfs
file to RAM. It *would* be possible to also copy /debs, /scripts,
/bootparams,... to RAM by default - on the other hand I might get a
bugreport that specifying toram=grml-medium.squashfs copies a >100MB
/debs/ to RAM even though the user just wanted to copy the squashfs
file. ;)
So what I'm thinking about is checking for bootoptions like
'scripts', 'debs',... and just copy the corresponding directory to
RAM when booting via toram=.... then. I guess this might be the best
option to match all possible wishes.
regards,
-mika-
----------
assignedto: mika
messages: 1996, 1998
nosy: mika, zugschlus
priority: wish
status: chatting
title: grml live-media-path=/grml-medium/live/ toram=grml-medium.squashfs scripts ignores scripts
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue644>
_____________________________________
More information about the Bugs-changes
mailing list