|
From: | mostafa yasin |
Subject: | Grub background issue. |
Date: | Tue, 13 Oct 2015 15:48:35 +0200 |
Dear My colleagues;
I installed Grub2 on LFS7.7. When i configure grub background, the image is appeared during boot but it does not appear properly. please find attached files for grub background configured image. /boot/grub/grub.cfg:- # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 95424c02-1e57-4c3d-921e-ed189bafe560 else search --no-floppy --fs-uuid --set=root 95424c02-1e57-4c3d-921e-ed189bafe560 fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=640x480 load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 95424c02-1e57-4c3d-921e-ed189bafe560 else search --no-floppy --fs-uuid --set=root 95424c02-1e57-4c3d-921e-ed189bafe560 fi insmod tga background_image -m stretch /boot/grub/Hortensia-1.tga set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-95424c02-1e57-4c3d-921e-ed189bafe560' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 95424c02-1e57-4c3d-921e-ed189bafe560 else search --no-floppy --fs-uuid --set=root 95424c02-1e57-4c3d-921e-ed189bafe560 fi echo 'Loading Linux 3.19-lfs-7.7 ...' linux /boot/vmlinuz-3.19-lfs-7.7 root=/dev/sda3 ro } submenu 'Advanced options for GNU/Linux' $menuentry_id_option 'gnulinux-advanced-95424c02-1e57-4c3d-921e-ed189bafe560' { menuentry 'GNU/Linux, with Linux 3.19-lfs-7.7' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19-lfs-7.7-advanced-95424c02-1e57-4c3d-921e-ed189bafe560' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 95424c02-1e57-4c3d-921e-ed189bafe560 else search --no-floppy --fs-uuid --set=root 95424c02-1e57-4c3d-921e-ed189bafe560 fi echo 'Loading Linux 3.19-lfs-7.7 ...' linux /boot/vmlinuz-3.19-lfs-7.7 root=/dev/sda3 ro } menuentry 'GNU/Linux, with Linux 3.19-lfs-7.7 (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19-lfs-7.7-recovery-95424c02-1e57-4c3d-921e-ed189bafe560' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 95424c02-1e57-4c3d-921e-ed189bafe560 else search --no-floppy --fs-uuid --set=root 95424c02-1e57-4c3d-921e-ed189bafe560 fi echo 'Loading Linux 3.19-lfs-7.7 ...' linux /boot/vmlinuz-3.19-lfs-7.7 root=/dev/sda3 ro single } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry "Ubuntu" { insmod ext2 set root=(hd0,2) linux /boot/vmlinuz-3.13.0-24-generic root=/dev/sda2 ro initrd /boot/initrd.img-3.13.0-24-generic } ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### Best Regards, Linux system engineer |
Hortensia-1.tga
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |