2009-07-21 Felix Zielcke <fzielcke@z-51.de>
* util/grub.d/30_os-prober.in: Remove unused CHAINROOT. Don't add drivemap for Vista. It breaks Windows 7.
This commit is contained in:
parent
cffcddb2b5
commit
6a6cbcaf5e
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-07-21 Felix Zielcke <fzielcke@z-51.de>
|
||||
|
||||
* util/grub.d/30_os-prober.in: Remove unused CHAINROOT. Don't
|
||||
add drivemap for Vista. It breaks Windows 7.
|
||||
|
||||
2009-07-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* fs/ufs.c (grub_ufs_sblock): Fix offset of mtime2 which was off by
|
||||
|
|
|
@ -47,15 +47,18 @@ for OS in ${OSPROBED} ; do
|
|||
|
||||
case ${BOOT} in
|
||||
chain)
|
||||
CHAINROOT="`grub-probe --target=drive --device ${DEVICE} 2> /dev/null`"
|
||||
|
||||
cat << EOF
|
||||
menuentry "${LONGNAME} (on ${DEVICE})" {
|
||||
EOF
|
||||
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
||||
|
||||
if [ "${LONGNAME}" != "Windows Vista (loader)" ] ; then
|
||||
cat << EOF
|
||||
drivemap -s (hd0) \${root}
|
||||
EOF
|
||||
fi
|
||||
cat <<EOF
|
||||
chainloader +1
|
||||
}
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue