From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] grub-mkconfig patch for MINIX
Date: Wed, 08 Sep 2010 17:15:58 +0200 [thread overview]
Message-ID: <4C87A8AE.8020805@gmail.com> (raw)
In-Reply-To: <AANLkTikLycgyywVtu5Zu0jSbBqXuat6Z_D0u8xqn2OJ_@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1795 bytes --]
On 08/15/2010 12:59 PM, Fam Zheng wrote:
> Hi,
>
> `os-prober` was not able to detect recent MINIX installations, so we
> patched for the new detection and sent the patch to Debian, it's found at:
> http://lists.debian.org/debian-boot/2010/08/msg00282.html
>
> MINIX is now able to be Multibooted besides chainloading, so it's
> necessary to handle the result of os-prober accordingly. The patch for
> GRUB 2 is made then, to generate a Multiboot menu entry when detected
> system type is "minix".
>
> Patch content:
>
> === modified file 'util/grub.d/30_os-prober.in <http://30_os-prober.in>'
> --- util/grub.d/30_os-prober.in <http://30_os-prober.in> 2010-07-04
> 22:45:14 +0000
> +++ util/grub.d/30_os-prober.in <http://30_os-prober.in> 2010-08-13
> 11:31:07 +0000
> @@ -197,6 +197,23 @@
> }
> EOF
> ;;
> + minix)
> + case ${LONGNAME} in
> + Minix*)
Why do you need to check LONGNAME separately? This shouldn't be necessary.
> + cat << EOF
> +menuentry "${LONGNAME} (on ${DEVICE}, Multiboot)" {
> +EOF
> + save_default_entry | sed -e "s/^/\t/"
> + prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
> + cat << EOF
> + multiboot /boot/image_latest
is it always named like this? Is /boot never a mountpoint?
> +}
> +EOF
> + ;;
> + *)
> + echo " ${LONGNAME}(multiboot) is not yet supported" >&2
> + esac
> + ;;
> *)
> echo " ${LONGNAME} is not yet supported by grub-mkconfig." >&2
> ;;
>
>
> --
> Best Regards!
> Fam Zheng
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2010-09-08 15:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-15 10:59 [PATCH] grub-mkconfig patch for MINIX Fam Zheng
2010-09-08 15:15 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2010-09-08 16:16 ` Erik van der Kouwe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C87A8AE.8020805@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.