Page 12 of 34 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 336

Thread: HOWTO: Grub Customizer

  1. #111
    Join Date
    Dec 2009
    Location
    Mt.Home, AR
    Beans
    348
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Grub Customizer

    Hey drs305,
    You helped with this a while back, and I see you are still at it. Just wanted to take the time to say Thank You for all the hard work. We all appreciate it very much.

  2. #112
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: Grub Customizer

    coljohnhannibalsmith,

    I was composing my last entry while you posted.

    I agree there are some major deficiencies with Grub Customizer and Grub 1.99. I am going to make notes in the original post.

    Daniel monitors this thread (at least occasionally) and he has always been very responsive to issues with his app.

    If I didn't cover your specific issues on how to get your images/fonts working, continue to post here, or over in your original thread for non-GC solutions.

    @ cPierce, thank you.
    GRUB2

    Retired.

  3. #113
    Join Date
    Dec 2007
    Location
    die Welt
    Beans
    635
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Post Re: Natty: GRUB Splash Screens

    Quote Originally Posted by drs305 View Post
    That is just the developer's repository name. He only created Grub Customizer within the past year and continues to update it. Apparently he has not incorporated all changes made by Grub 1.99 at this time.
    Perhaps I was a bit hasty to refer to this app as an orphan. I've just had lots of trouble with GC; and I've seen a lot of my favorite apps stop being maintained...

    I think my final note before I let the adults take over:

    Since this app appears to need a recode; I'd like to see the following options added to the appearance tab:

    *menu_color_normal=white/black
    *menu_color_highlight=yellow/black


    These options affect the text and background 'outside' of the menu area. These options are 'not' currently incorporated.




    Hannibal
    I love it when a plan comes together. It keeps me "on the jazz."

    Ubuntu Quantum 31.10.03 & Windows 10000 on Dell Inspiron 55200 Infinite-Core
    dual-boot system. 'Kill Bill XIV!'

  4. #114
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: Grub Customizer

    I've submitted a bug report on the issues we've recently discussed.
    https://bugs.launchpad.net/grub-customizer/+bug/781683

    These options affect the text and background 'outside' of the menu area. These options are 'not' currently incorporated.
    Just an elaboration:
    The menu_color_normal and menu_color_highlight affect the colors within the borders. If the menu_color_normal is not specified, color_normal is used.

    You are correct that GC attempts to set "color_normal" and not "menu_color_normal", so it would be a nice addition.
    Last edited by drs305; May 12th, 2011 at 02:54 PM.
    GRUB2

    Retired.

  5. #115
    Join Date
    Dec 2007
    Location
    die Welt
    Beans
    635
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Question Re: HOWTO: Grub Customizer

    [The workaround is to manually edit /etc/grub.d/05_debian_theme and make the changes to the following lines (approx line 32/33),

    echo "${1}set menu_color_normal=white/black"

    echo "${1}set menu_color_highlight=black/light-gray"]

    Will this 'mod' allow the colors to be set within GC???

    Also, will I have to delete or comment-out the previous edits to lines +98???




    Thanks, Hannibal
    I love it when a plan comes together. It keeps me "on the jazz."

    Ubuntu Quantum 31.10.03 & Windows 10000 on Dell Inspiron 55200 Infinite-Core
    dual-boot system. 'Kill Bill XIV!'

  6. #116
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: Grub Customizer

    Quote Originally Posted by coljohnhannibalsmith View Post
    The workaround is to manually edit /etc/grub.d/05_debian_theme and make the changes to the following lines (approx line 32/33),

    echo "${1}set menu_color_normal=white/black
    echo "${1}set menu_color_highlight=black/light-gray"]

    Will this 'mod' allow the colors to be set within GC???
    No it won't unfortunately. GC doesn't appear to have that functionality.

    Also, will I have to delete or comment-out the previous edits to lines +98???
    You can leave those set if you wish. Those values don't come into play if Grub finds a background image.

    As far as their thinking, the developers just decided to use a default menu setting of white text (over the user's background image), with black text on a solid gray bar for the highlighted menuentry.

    They chose a solid bar for the selected text to prevent a "light-gray text on a light-gray background" scenario, which could have happened if they had made the bar transparent. They would have no idea of what color your image would be.
    GRUB2

    Retired.

  7. #117
    Join Date
    May 2011
    Beans
    1

    Re: HOWTO: Grub Customizer

    Can you please help with an issue I am having with changing the GRUB background? I have tried everything and read into every solution, but no matter what, it is always the purple background when I log in.

    I did try restoring GRUB to its default settings as well as trying many different images. I tried your previously posted a.png as well as the splash image pack you can download. When I run sudo update-grub it displays:

    Code:
    Found background image: 050817-N-3488C-028.tga
    So I'm assuming it should have worked, but it has not. I am using Ubuntu 11.04 installed from Windows 7 "wubi". I am wondering if thats a problem?
    Also when I try to set a background image from the GRUB command line it gives me an error saying unsupported bitmap.

    Here is my results from the boot info script if needed. The image is from the splash images download you recommended in the thread.

    Code:
                    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /bootmgr /Boot/BCD
    
    sda2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe 
                           /wubildr.mbr /ubuntu/winboot/wubildr.mbr /wubildr 
                           /ubuntu/winboot/wubildr /ubuntu/disks/root.disk 
                           /ubuntu/disks/swap.disk
    
    sda2/Wubi: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 11.04
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab
    
    sda3: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /BOOTMGR /BOOT/BCD
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *          2,048     3,074,047     3,072,000  27 Hidden HPFS/NTFS
    /dev/sda2           3,074,048   954,488,831   951,414,784   7 HPFS/NTFS
    /dev/sda3         954,488,832   976,773,119    22,284,288  17 Hidden HPFS/NTFS
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0       15caad1c-ca3d-40f5-89f7-bebff5c49843   ext4                                     
    /dev/sda1        A4A056D5A056AE14                       ntfs       System                        
    /dev/sda2        32CC7E06CC7DC51F                       ntfs       TI105835W0O                   
    /dev/sda3        7AF6A473F6A430F5                       ntfs       HDDRECOVERY                   
    /dev/sda: PTTYPE="dos" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/loop0       /                        ext4       (rw,errors=remount-ro,commit=0)
    /dev/sda2        /host                    fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
    
    
    ======================== sda2/Wubi/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
      set have_grubenv=true
      load_env
    fi
    set default="0"
    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 recordfail {
      set recordfail=1
      if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    
    function load_video {
      insmod vbe
      insmod vga
      insmod video_bochs
      insmod video_cirrus
    }
    
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos2)'
    search --no-floppy --fs-uuid --set=root 32CC7E06CC7DC51F
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos2)'
    search --no-floppy --fs-uuid --set=root 32CC7E06CC7DC51F
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    set locale_dir=($root)/boot/grub/locale
    set lang=en_US
    insmod gettext
    if [ "${recordfail}" = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos2)'
    search --no-floppy --fs-uuid --set=root 32CC7E06CC7DC51F
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    insmod tga
    if background_image /boot/grub/050817-N-3488C-028.tga; then
      true
    else
      set menu_color_normal=white/black
      set menu_color_highlight=black/light-gray
      if background_color 44,0,30; then
        clear
      fi
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/10_lupin ###
    menuentry "Ubuntu, Linux 2.6.38-8-generic" {
    	insmod part_msdos
    	insmod ntfs
    	set root='(/dev/sda,msdos2)'
    	search --no-floppy --fs-uuid --set=root 32CC7E06CC7DC51F
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=32CC7E06CC7DC51F loop=/ubuntu/disks/root.disk ro   quiet splash
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry "Ubuntu, Linux 2.6.38-8-generic (recovery mode)" {
    	insmod part_msdos
    	insmod ntfs
    	set root='(/dev/sda,msdos2)'
    	search --no-floppy --fs-uuid --set=root 32CC7E06CC7DC51F
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.38-8-generic root=UUID=32CC7E06CC7DC51F loop=/ubuntu/disks/root.disk ro single 
    	initrd /boot/initrd.img-2.6.38-8-generic
    }
    ### END /etc/grub.d/10_lupin ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
    	insmod part_msdos
    	insmod ntfs
    	set root='(/dev/sda,msdos1)'
    	search --no-floppy --fs-uuid --set=root A4A056D5A056AE14
    	chainloader +1
    }
    menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
    	insmod part_msdos
    	insmod ntfs
    	set root='(/dev/sda,msdos2)'
    	search --no-floppy --fs-uuid --set=root 32CC7E06CC7DC51F
    	chainloader +1
    }
    menuentry "Windows Recovery Environment (loader) (on /dev/sda3)" --class windows --class os {
    	insmod part_msdos
    	insmod ntfs
    	set root='(/dev/sda,msdos3)'
    	search --no-floppy --fs-uuid --set=root 7AF6A473F6A430F5
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### 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.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    
    ============================= sda2/Wubi/etc/fstab: =============================
    
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    /host/ubuntu/disks/root.disk /               ext4    loop,errors=remount-ro 0       1
    /host/ubuntu/disks/swap.disk none            swap    loop,sw         0       0
    
    ================= sda2/Wubi: Location of files loaded by Grub: =================
    
    
      23.8GB: boot/grub/grub.cfg
       1.6GB: boot/initrd.img-2.6.38-8-generic
       5.1GB: boot/vmlinuz-2.6.38-8-generic
       1.6GB: initrd.img
       5.1GB: vmlinuz

  8. #118
    Join Date
    Feb 2011
    Beans
    10

    Exclamation Re: HOWTO: Grub Customizer

    Grub Customizer already sets the background image correctly (using the file /usr/share/desktop_base/grub_background.sh). As far as I know this is still the only way to set image and colors without modifying the script itself (05_debian_theme). But if the new grub script finds an image inside the grub directory it will use this instead of the image defined in grub_background.sh… and in this way, font colors will be ignored too.

    So the way around this issue is simple: remove all the images, which are still saved in /boot/grub (sudo rm -i *.jpg *.JPG *.jpeg *.JPEG *.png *.PNG *.tga *.TGA) and set the new image using grub customizer without clicking copy to grub directory - also if the device isn't accessible when booting (the grub script find's out if this is the case or not and cache the image, if necessary).

    @divlyfein
    yes, the new grub seems to be still more selectively according to the image then the old one. I tried the default wallpapers of ubuntu without success. Then I drawed an own image and saved as png - and this one has been loaded/displayed. If grub says "unsupported bitmap" this isn't a config problem - grub itself doesn't support this type of image. Maybe you should contact the grub2 developers.

  9. #119
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: Grub Customizer

    Thanks for responding in the thread Daniel. I've updated the first post a bit and referred to your post at the point of the thread where we begin discussing images in Grub 1.99.
    GRUB2

    Retired.

  10. #120
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: Grub Customizer

    Quote Originally Posted by divlyfein View Post
    Can you please help with an issue I am having with changing the GRUB background? I have tried everything and read into every solution, but no matter what, it is always the purple background when I log in.

    I did try restoring GRUB to its default settings as well as trying many different images. I tried your previously posted a.png as well as the splash image pack you can download. When I run sudo update-grub it displays:

    Code:
    Found background image: 050817-N-3488C-028.tga
    So I'm assuming it should have worked, but it has not. I am using Ubuntu 11.04 installed from Windows 7 "wubi". I am wondering if thats a problem?
    Also when I try to set a background image from the GRUB command line it gives me an error saying unsupported bitmap.
    I am not a frequent user of Wubi but I just uninstalled an old version and installed Wubi's Natty version.

    Upon inspeciting the contents of grub.cfg, the Wubi version does not load the modules necessary for rendering .tga, .png and .jpg images. I next inspected the /boot/grub folder, and the modules are not present.

    It appears the developers did not incorporate loading the necessary modules to allow background images in Wubi.

    The modules are stored in /usr/lib/grub/i386 so it would be possible to modify grub.cfg to load the tga module, and possibly be able to use a background image.

    Even though Grub Customizer can be used with Wubi and offers to install a background, now that it has been pointed out I'd prefer not to let this thread get into discussions about Wubi background issues.

    I would ask if any Wubi user has been able to use background images to let us know. If I get a definitive answer that it won't work I'll note it in the first post.

    I encourage you to post a new thread or search the forums for an answer to the basic question of whether Wubi supports background images for Grub, and I might even try my suggestion above to see if it does work.
    Last edited by drs305; May 14th, 2011 at 03:55 PM.
    GRUB2

    Retired.

Page 12 of 34 FirstFirst ... 2101112131422 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •