Bug#825292: grub-common: does not provide the correct device name for booting the Hurd.
Samuel Thibault
sthibault at debian.org
Mon May 30 19:07:10 UTC 2016
Hello,
Rodrigo Valiña Gutiérrez, on Thu 26 May 2016 12:05:37 +0200, wrote:
> -------------------------------------------------------------------------------------------------
> --- 30_os-prober 2016-02-05 18:30:35.000000000 +0100
> +++ 30_os-prober-3 2016-05-26 11:54:35.819822599 +0200
> @@ -331,7 +331,7 @@
> save_default_entry | grub_add_tab
> prepare_grub_to_access_device ${DEVICE} | grub_add_tab
> grub_device="`${grub_probe} --device ${DEVICE} --target=drive`"
> - mach_device="`echo "${grub_device}" | sed -e 's/(\(hd.*\),msdos\(.*\))/\
> 1s\2/'`"
> + mach_device=`${grub_probe} --device ${DEVICE} --target=
> compatibility_hint | sed 's/,msdos/s/'`
> grub_fs="`${grub_probe} --device ${DEVICE} --target=fs`"
> case "${grub_fs}" in
> *fs) hurd_fs="${grub_fs}" ;;
> -------------------------------------------------------------------------------------------------
Yes, that should be correct. Note that it's the 30_os-prober.in file
which needs to be modified. Also, since this is an upstream file, you
should probably contact upstream to get it integrated there, so Debian
doesn't maintain the change ad æternam.
> So this is one more step to get working flawlessly and out of the box the
> procedure at:
> [2]https://www.gnu.org/software/hurd/hurd/running/debian/CrossInstall.html
> It remains at least to determine whether --readonly is needed,
Yes it is.
> and maybe to provide a way to boot in single user mode (-s) (needed
> for the first two reboots).
That would be useful indeed.
Samuel
More information about the Pkg-grub-devel
mailing list