* util/grub.d/30_os-prober.in: Add unhiding of partition if on msdos.

This commit is contained in:
Vladimir Serbinenko 2013-11-02 22:00:59 +01:00
parent e25f8e1f37
commit fb9f12a02d
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-11-02 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub.d/30_os-prober.in: Add unhiding of partition if on msdos.
2013-11-02 Vladimir Serbinenko <phcoder@gmail.com> 2013-11-02 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/reed_solomon.c (grub_reed_solomon_recover): Don't do * grub-core/lib/reed_solomon.c (grub_reed_solomon_recover): Don't do

View file

@ -134,6 +134,12 @@ EOF
save_default_entry | grub_add_tab save_default_entry | grub_add_tab
prepare_grub_to_access_device ${DEVICE} | grub_add_tab prepare_grub_to_access_device ${DEVICE} | grub_add_tab
if [ x"`${grub_probe} --device ${DEVICE} --target=partmap`" = xmsdos ]; then
cat << EOF
parttool \${root} hidden-
EOF
fi
case ${LONGNAME} in case ${LONGNAME} in
Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*) Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*)
;; ;;