Why can't debian modify the grub image?

Source: Internet
Author: User
Tags xen hypervisor
Why can't debian modify the grub image? -- Debian information of the Linux release-the following is a detailed description. I use dual hard disks. The IDE0 primary disk is installed with XP, IDE1 is installed with Debian, IDE1 is divided into four areas,/boot,/, sweap, fat32, I have enabled grub.
Abc.xpm.gz copies/boot/grub and modifies menu. lst as follows: but the system prompts "Failed to read splash image (hd3, 0), grub, and abc when the server is started. Xpm. Gz) press any key to continue ...... Thank you.



# Menu. lst-See: grub (8), info grub, update-grub (8)
# Grub-install (8), grub-floppy (8 ),
# Grub-md5-crypt,/usr/share/doc/grub
# And/usr/share/doc/grub-doc /.

# Default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# The entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# Is the entry saved with the command 'savedefault '.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# Array will desync and will not let you boot your system.
Default4

# Timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (Normally the first entry defined ).
Timeout5
Splashimage = (hd3, 0)/boot/grub/abc.xpm.gz

# Pretty colours
Color cyan/blue white/blue

# Password ['-- md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# Control (menu entry editor and command-line) and entries protected by
# Command 'lock'
# E.g. password topsecret
# Password -- md5 $1 $ gLhU0/$ aw78khk11_v3p2b2znuoe/
# Password topsecret

#
# Examples
#
# TitleWindows 95/98/NT/2000
# Root (hd0, 0)
# Makeactive
# Chainloader + 1
#
# TitleLinux
# Root (hd0, 1)
# Kernel/vmlinuz root =/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
# Lines between the automagic kernels list markers will be modified
# By the debian update-grub script failed t for the default options below

# Do not uncomment them, Just edit them to your needs

#### Start Default Options ##
# Default kernel options
# Default kernel options for automagic boot options
# If you want special options for specific kernels use kopt_x_y_z
# Where x. y. z is kernel version. Minor versions can be omitted.
# E.g. kopt = root =/dev/hda1 ro
# Kopt_2_6_8 = root =/dev/hdc1 ro
# Kopt_2_6_8_2_686 = root =/dev/hdc2 ro
# Kopt = root =/dev/hdd2 ro

# Default grub root device
# E.g. groot = (hd0, 0)
# Groot = (hd1, 0)

# Shocould update-grub create alternative automagic boot options
# E.g. alternative = true
# Alternative = false
# Alternative = true

# Shocould update-grub lock alternative automagic boot options
# E.g. lockalternative = true
# Lockalternative = false
# Lockalternative = false

# Additional options to use with the default boot option, but not with
# Alternatives
# E.g. defoptions = vga = 791 resume =/dev/hda5
# Defoptions =

# Shocould update-grub lock old automagic boot options
# E.g. lockold = false
# Lockold = true
# Lockold = false

# Xen hypervisor options to use with the default Xen boot option
# Xenhopt =

# Xen Linux kernel options to use with the default Xen boot option
# Xenkopt = console = tty0

# Altoption boot targets option
# Multiple altoptions lines are allowed
# E.g. altoptions = (extra menu suffix) extra boot options
# Altoptions = (single-user) single
# Altoptions = (single-user mode) single

# Controls how many kernels shoshould be put into the menu. lst
# Only counts the first occurence of a kernel, not
# Alternative kernel options
# E.g. howtasks = all
# Howtasks = 7
# Howtasks = all

# Shocould update-grub create memtest86 boot option
# E.g. memtest86 = true
# Memtest86 = false
# Memtest86 = true

# Shocould update-grub adjust the value of the default booted system
# Can be true or false
# Updatedefaultentry = false

#### End Default Options ##

TitleDebian GNU/Linux, kernel 2.6.18-4-686
Root (hd1, 0)
Kernel/vmlinuz-2.6.18-4-686 root =/dev/hdd2 ro
Initrd/initrd. img-2.6.18-4-686
Savedefault

TitleDebian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
Root (hd1, 0)
Kernel/vmlinuz-2.6.18-4-686 root =/dev/hdd2 ro single
Initrd/initrd. img-2.6.18-4-686
Savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# Ones.
TitleOther operating systems:
Root


# This entry automatically added by the Debian installer for a non-linux OS
# On/dev/hda5
TitleMS-DOS 5.x/ 6.x/ Win3.1
Root (hd0, 4)
Savedefault
Makeactive
Chainloader + 1


# This entry automatically added by the Debian installer for a non-linux OS
# On/dev/hda1
TitleMicrosoft Windows XP Professional
Root (hd0, 0)
Savedefault
Makeactive
Chainloader + 1
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.