Subject: Re: bug#23496: Acknowledgement (grub2 does not support the legacy command "write")

From: Elmar Stellnberger <[email-masked]>
Date: Mon, 9 May 2016 23:08:34 +0200

My idea about the write command is that it could serve as a 
replacement for kernel parameters whenever an OS needs to be 
chainloaded. That way also non-directly supported OSes like Windows or 
DOS or any new not yet supported ones could be customized.

   The command found for fdubcd.img.gz is:
write --offset=15 /bin/setargs.bat ubcdcmd=keydisk\r\n

It simply replaces the given file for the given string at the given 
offset. The file itself contains sufficient spaces at the given position 
in order to hold for the parameter passed via write. As already said 
there are no additional security/safety considerations necessary as long 
as the file resides inside a RAM disk.