diff options
-rw-r--r-- | open_issues/grub_legacy.mdwn | 37 | ||||
-rw-r--r-- | open_issues/grub_legacy/grub-install.patch | 23 |
2 files changed, 0 insertions, 60 deletions
diff --git a/open_issues/grub_legacy.mdwn b/open_issues/grub_legacy.mdwn deleted file mode 100644 index 622daa09..00000000 --- a/open_issues/grub_legacy.mdwn +++ /dev/null @@ -1,37 +0,0 @@ -[[!meta copyright="Copyright © 2005, 2009 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled -[[GNU Free Documentation License|/fdl]]."]]"""]] - -[[!meta title="GRUB (legacy)"]] - -[[!tag open_issue_porting]] - -Even though it is customarily used *for* booting GNU/Hurd systems, [[GRUB]], -specifically GRUB legacy (which is still in wide-spread use, despite that -rather depricative nickname), has never been ported to be installable when -attempted to be installed *from* GNU/Hurd systems: - - # grub-install \(hd0\) - df: Warning: cannot read table of mounted filesystems - df: Warning: cannot read table of mounted filesystems - Could not find device for /boot: Not found or not a block device. - -There is a patch, [[grub-install.patch]], to fix that. - - -`grub-install`, however, still fails while invoking `grub`: - - # grub-install \(hd0\) - The file /boot/grub/stage1 not read correctly. - - # grub - [...] - grub> dump (hd0,0)/boot/grub/stage1 /tmp/grub_stage1 - - Error 18: Selected cylinder exceeds maximum supported by BIOS diff --git a/open_issues/grub_legacy/grub-install.patch b/open_issues/grub_legacy/grub-install.patch deleted file mode 100644 index 3f6341b4..00000000 --- a/open_issues/grub_legacy/grub-install.patch +++ /dev/null @@ -1,23 +0,0 @@ -2005-08-23 Thomas Schwinge <tschwinge@gnu.org> - - * grub-install (find_device): Rough port for GNU/Hurd. - - ---- grub-install.orig 2005-08-23 16:56:02.000000000 +0200 -+++ grub-install 2005-08-23 17:01:55.000000000 +0200 -@@ -263,7 +263,14 @@ - find_device () { - # For now, this uses the program `df' to get the device name, but is - # this really portable? -- tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'` -+ # No. (Not even on GNU/Linux.) - Thomas Schwinge -+ -+ case $host_os in -+ gnu*) # TODO: What about using multiple devices? -+ tmp_fname=`fsysopts $1/ | sed -n 's%.*device:\([^ ]*\).*%/dev/\1%p'`;; -+ *) -+ tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'`;; -+ esac - - if test -z "$tmp_fname"; then - echo "Could not find device for $1" 2>&1 |