On Sat, Feb 27, 2010 at 11:59 PM, stranger in black.....
<[email protected]>wrote:
> It is described in ubuntu documentation that we have to change some
> scripts in the /etc/grub.d/ folder inorder to make this possible.
>
I've done it like this...I dont remember the site from which I got this tip,
otherwise I would have given it to you. I'll post the link too...if I get it
by any chance.
In the */etc/grub.d/30_os-prober* file , you will see lines like this (most
probably lines 27 to 63)
*adjust_timeout () {
if [ "x${found_other_os}" = "x" ] ; then
if [ "x${GRUB_HIDDEN_TIMEOUT}" != "x" ] ; then
if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
verbose=
else
verbose=" --verbose"
fi
if [ "x${GRUB_HIDDEN_TIMEOUT}" = "x0" ] ; then
cat <<EOF
if [ \${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1*
*else
set timeout=0
fi
else
if sleep$verbose --interruptible 3 ; then
set timeout=0
fi
fi
fi
EOF
else
cat << EOF*
*if [ \${timeout} != -1 ]; then
if sleep$verbose --interruptible ${GRUB_HIDDEN_TIMEOUT} ; then
set timeout=0
fi
fi
EOF
fi
fi
fi
}*
put a *# *in front of 28th and 62nd lines (highligted in yellow)....it'll
read like this
*adjust_timeout () {
# if [ "x${found_other_os}" = "x" ] ; then
if [ "x${GRUB_HIDDEN_TIMEOUT}" != "x" ] ; then
if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
...
...
EOF
fi
fi
# fi
}*
Save file & then update the grub.
But I insist you should take care while doing this. As you are more
experienced than me, I'm sure you'll take care of this.
Regards
Adhin
--
"Freedom is the only law".
"Freedom Unplugged"
http://www.ilug-tvm.org
You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For details visit the website: www.ilug-tvm.org or the google group page:
http://groups.google.com/group/ilug-tvm?hl=en