From unknown Sun Aug 17 22:00:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23496 <23496@debbugs.gnu.org> To: bug#23496 <23496@debbugs.gnu.org> Subject: Status: grub2 does not support the legacy command "write" Reply-To: bug#23496 <23496@debbugs.gnu.org> Date: Mon, 18 Aug 2025 05:00:43 +0000 retitle 23496 grub2 does not support the legacy command "write" reassign 23496 debbugs.gnu.org submitter 23496 Elmar Stellnberger severity 23496 normal tag 23496 notabug wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 14:11:56 2016 Received: (at submit) by debbugs.gnu.org; 9 May 2016 18:11:56 +0000 Received: from localhost ([127.0.0.1]:44670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azpet-0000Iq-WB for submit@debbugs.gnu.org; Mon, 09 May 2016 14:11:56 -0400 Received: from mail.dotplex.com ([91.102.11.135]:44997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azowe-0007au-K4 for submit@debbugs.gnu.org; Mon, 09 May 2016 13:26:13 -0400 Received: from remote.ip.hidden (remote.ip.hidden [127.0.0.1]) (Authenticated sender: estellnb@elstel.org) by mail.dotplex.com (Postfix) with ESMTPSA id A644A27C77DF for ; Mon, 9 May 2016 19:26:06 +0200 (CEST) From: Elmar Stellnberger Subject: grub2 does not support the legacy command "write" To: submit@debbugs.gnu.org Message-ID: <7efa229a-d88e-c2b6-c556-54c3b502e2f3@elstel.org> Date: Mon, 9 May 2016 19:26:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 09 May 2016 14:11:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Package: grub Version: 1:2.02.beta2-6 I have tried to dd the boot image of the Ultimate Boot CD into a hard disk partition in order to boot it from there. Then I have converted the menu.lst as used by Grub1 on that CD image by grub-menulst2cfg. As it turned out most entries are no more bootable with grub2 because of the 'write' command being no more supported. As Jordan_U has told me on #grub this command would no more be supported due to security reasons. However my objection against abandoning support for the write command is that it can happily and safely be used together with ram disks as the Ultimate Boot CD does. Anyone here who would mind to implement the write command for Grub2? I would really believe that Grub2 should be backward compatible! Using Grub1 in addition to Grub2 has not proven to be a good alternative as it can not access iso9660 file systems when booted over a virtual floppy image. Up to now there is also no CD emulation; what works with Grub1 though is to enter the following manually when booting with another old physical grub1-bootcd: root (hd0,17) configfile (hd0,17)/boot/grub/menu.lst From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 17:08:43 2016 Received: (at 23496) by debbugs.gnu.org; 9 May 2016 21:08:43 +0000 Received: from localhost ([127.0.0.1]:44776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azsPz-0004jJ-I9 for submit@debbugs.gnu.org; Mon, 09 May 2016 17:08:43 -0400 Received: from mail.dotplex.com ([91.102.11.135]:56202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azsPy-0004j3-0V for 23496@debbugs.gnu.org; Mon, 09 May 2016 17:08:43 -0400 Received: from remote.ip.hidden (remote.ip.hidden [127.0.0.1]) (Authenticated sender: estellnb@elstel.org) by mail.dotplex.com (Postfix) with ESMTPSA id E1D1727C75F2 for <23496@debbugs.gnu.org>; Mon, 9 May 2016 23:08:34 +0200 (CEST) To: 23496@debbugs.gnu.org From: Elmar Stellnberger Subject: Re: bug#23496: Acknowledgement (grub2 does not support the legacy command "write") Message-ID: <4bffad2a-8dc4-631f-e1ec-23d45f2df540@elstel.org> Date: Mon, 9 May 2016 23:08:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 23496 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 23:51:52 2016 Received: (at control) by debbugs.gnu.org; 10 May 2016 03:51:52 +0000 Received: from localhost ([127.0.0.1]:44986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azyi8-0000Z3-83 for submit@debbugs.gnu.org; Mon, 09 May 2016 23:51:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azyi6-0000Yr-RY for control@debbugs.gnu.org; Mon, 09 May 2016 23:51:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azyi0-0000vE-Uw for control@debbugs.gnu.org; Mon, 09 May 2016 23:51:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azyi0-0000vA-RF for control@debbugs.gnu.org; Mon, 09 May 2016 23:51:44 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1azyi0-00011w-Ez for control@debbugs.gnu.org; Mon, 09 May 2016 23:51:44 -0400 Subject: control message for bug 23490 23496 23497 23498 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 09 May 2016 23:51:44 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) tag 23490 notabug wontfix close 23490 tag 23496 notabug wontfix close 23496 tag 23497 notabug wontfix close 23497 tag 23498 notabug wontfix close 23498 From unknown Sun Aug 17 22:00:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 07 Jun 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator