我得硬盘是串口320G得,图片放在/boot/grub/下,/boot,/,/home,/swap单独分区,显示的是/boot 挂载得是/dev/sda11,我按照GRUB 的教程都设好了,可是还是无法启动显示图片,请大家帮我解决问题,谢谢了!下面是我修改后的文件参数<br><font style="color: rgb(255, 0, 0);" size="4">&nbsp;/etc/default/grub得参数如下:</font><br># If you change this file, run &#39;update-grub&#39; afterwards to update<br>

# /boot/grub/grub.cfg.<br><br>GRUB_DEFAULT=0<br>#GRUB_HIDDEN_TIMEOUT=0<br>GRUB_HIDDEN_TIMEOUT_QUIET=true<br>GRUB_TIMEOUT=5<br>GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian`<br>GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;<br>

GRUB_CMDLINE_LINUX=&quot;&quot;<br><br># Uncomment to disable graphical terminal (grub-pc only)<br>#GRUB_TERMINAL=console<br><br># The resolution used on graphical terminal<br># note that you can use only modes which your graphic card supports via VBE<br>

# you can see them in real GRUB with the command `vbeinfo&#39;<br>GRUB_GFXMODE=1024x768<br><br>#Uncomment if you don&#39;t want GRUB to pass &quot;root=/dev/sdax&quot; parameter to Linux<br>GRUB_DISABLE_LINUX_UUID=true<br>

<br># Uncomment to disable generation of recovery mode menu entrys<br>#GRUB_DISABLE_LINUX_RECOVERY=&quot;true&quot;<br><br><br><font style="color: rgb(255, 102, 102);" size="4">&nbsp;/etc/grub.d/00_header参数如下:</font><br><br>#! /bin/sh -e<br>

<br># grub-mkconfig helper script.<br># Copyright (C) 2006,2007,2008,2009&nbsp; Free Software Foundation, Inc.<br>#<br># GRUB is free software: you can redistribute it and/or modify<br># it under the terms of the GNU General Public License as published by<br>

# the Free Software Foundation, either version 3 of the License, or<br># (at your option) any later version.<br>#<br># GRUB is distributed in the hope that it will be useful,<br># but WITHOUT ANY WARRANTY; without even the implied warranty of<br>

# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&nbsp; See the<br># GNU General Public License for more details.<br>#<br># You should have received a copy of the GNU General Public License<br># along with GRUB.&nbsp; If not, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;.<br>

<br>transform=&quot;s,x,x,&quot;<br><br>prefix=/usr<br>exec_prefix=${prefix}<br>libdir=${exec_prefix}/lib<br>grub_prefix=`echo /boot/grub | sed ${transform}`<br><br>. ${libdir}/grub/grub-mkconfig_lib<br><br># Do this as early as possible, since other commands might depend on it.<br>

# (e.g. the `loadfont&#39; command might need lvm or raid modules)<br>for i in ${GRUB_PRELOAD_MODULES} ; do<br>&nbsp; echo &quot;insmod $i&quot;<br>done<br><br>if [ &quot;x${GRUB_DEFAULT}&quot; = &quot;x&quot; ] ; then GRUB_DEFAULT=0 ; fi<br>

if [ &quot;x${GRUB_DEFAULT}&quot; = &quot;xsaved&quot; ] ; then GRUB_DEFAULT=&#39;${saved_entry}&#39; ; fi<br>if [ &quot;x${GRUB_TIMEOUT}&quot; = &quot;x&quot; ] ; then GRUB_TIMEOUT=5 ; fi<br>if [ &quot;x${GRUB_GFXMODE}&quot; = &quot;x&quot; ] ; then GRUB_GFXMODE=640x480 ; fi<br>

<br>cat &lt;&lt; EOF<br>if [ -s /boot/grub/grubenv ]; then<br>&nbsp; have_grubenv=true<br>&nbsp; load_env<br>fi<br>set default=&quot;${GRUB_DEFAULT}&quot;<br>if [ \${prev_saved_entry} ]; then<br>&nbsp; saved_entry=\${prev_saved_entry}<br>

&nbsp; save_env saved_entry<br>&nbsp; prev_saved_entry=<br>&nbsp; save_env prev_saved_entry<br>fi<br>insmod jpeg<br>EOF<br><br>case ${GRUB_TERMINAL_INPUT}:${GRUB_TERMINAL_OUTPUT} in<br>&nbsp; serial:* | *:serial)<br>&nbsp;&nbsp;&nbsp; if ! test -e ${grub_prefix}/serial.mod ; then<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;Serial terminal not available on this platform.&quot; &gt;&amp;2 ; exit 1<br>&nbsp;&nbsp;&nbsp; fi<br><br>&nbsp;&nbsp;&nbsp; if [ &quot;x${GRUB_SERIAL_COMMAND}&quot; = &quot;x&quot; ] ; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grub_warn &quot;Requested serial terminal but GRUB_SERIAL_COMMAND is unspecified. Default parameters will be used.&quot;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GRUB_SERIAL_COMMAND=serial<br>&nbsp;&nbsp;&nbsp; fi<br>&nbsp;&nbsp;&nbsp; echo &quot;${GRUB_SERIAL_COMMAND}&quot;<br>&nbsp; ;;<br>esac<br><br>case x${GRUB_TERMINAL_INPUT} in<br>&nbsp; x)<br>&nbsp;&nbsp;&nbsp; # Just use the native terminal<br>&nbsp; ;;<br>&nbsp; x*)<br>&nbsp;&nbsp;&nbsp; cat &lt;&lt; EOF<br>

if terminal_input ${GRUB_TERMINAL_INPUT} ; then true ; else<br>&nbsp; # For backward compatibility with versions of terminal.mod that don&#39;t<br>&nbsp; # understand terminal_input<br>&nbsp; terminal ${GRUB_TERMINAL_INPUT}<br>fi<br>EOF<br>

&nbsp; ;;<br>esac<br><br>case x${GRUB_TERMINAL_OUTPUT} in<br>&nbsp;xgfxterm)<br>&nbsp;&nbsp;&nbsp; # Make the font accessible<br>&nbsp;&nbsp;&nbsp; prepare_grub_to_access_device `${grub_probe} --target=device ${GRUB_FONT_PATH}`<br><br>&nbsp;&nbsp;&nbsp; cat &lt;&lt; EOF<br>if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then<br>

&nbsp; set gfxmode=${GRUB_GFXMODE}<br>&nbsp; insmod gfxterm<br>&nbsp; insmod ${GRUB_VIDEO_BACKEND}<br>&nbsp; if terminal_output gfxterm ; then true ; else<br>&nbsp;&nbsp;&nbsp; # For backward compatibility with versions of terminal.mod that don&#39;t<br>&nbsp;&nbsp;&nbsp; # understand terminal_output<br>

&nbsp;&nbsp;&nbsp; terminal gfxterm<br>&nbsp; fi<br>fi<br>EOF<br>&nbsp; ;;<br>&nbsp; x)<br>&nbsp;&nbsp;&nbsp; # Just use the native terminal<br>&nbsp; ;;<br>&nbsp; x*)<br>&nbsp;&nbsp;&nbsp; cat &lt;&lt; EOF<br>if terminal_output ${GRUB_TERMINAL_OUTPUT} ; then true ; else<br>&nbsp; # For backward compatibility with versions of terminal.mod that don&#39;t<br>

&nbsp; # understand terminal_output<br>&nbsp; terminal ${GRUB_TERMINAL_OUTPUT}<br>fi<br>EOF<br>&nbsp; ;;<br>esac<br><br>cat &lt;&lt; EOF<br>if [ \${recordfail} = 1 ]; then<br>&nbsp; set timeout=-1<br>else<br>&nbsp; set timeout=${GRUB_TIMEOUT}<br>

fi<br>background_image (hd0,11)/boot/grub/007.jpg<br>EOF<br><br><br>请高手看看我得哪些参数需要修改,是不是hd(0,x)不对,我不清楚是多少?再次感谢!!<br><br><br clear="all"><br>-- <br>Elvis<br>