BTS

Message1998

Author mika
Recipients zugschlus
Date 2009-03-01.13:17:39
Content
* Marc 'Zugschlus' Haber <bts@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-
History
Date User Action Args
2009-03-01 13:17:40mikasetrecipients: + zugschlus
2009-03-01 13:17:40mikalinkissue644 messages
2009-03-01 13:17:39mikacreate