GNU bug report logs -
#23496
grub2 does not support the legacy command "write"
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23496 in the body.
You can then email your comments to 23496 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
help-debbugs <at> gnu.org
:
bug#23496
; Package
debbugs.gnu.org
.
(Mon, 09 May 2016 18:12:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Elmar Stellnberger <estellnb <at> elstel.org>
:
New bug report received and forwarded. Copy sent to
help-debbugs <at> gnu.org
.
(Mon, 09 May 2016 18:12:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
help-debbugs <at> gnu.org
:
bug#23496
; Package
debbugs.gnu.org
.
(Mon, 09 May 2016 21:09:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 23496 <at> debbugs.gnu.org (full text, mbox):
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.
Added tag(s) wontfix and notabug.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 10 May 2016 03:52:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
23496 <at> debbugs.gnu.org and Elmar Stellnberger <estellnb <at> elstel.org>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 10 May 2016 03:52:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 07 Jun 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 72 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.