Announcement

Collapse
No announcement yet.

grub2 splash images

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: grub2 splash images

    That's odd. This was a fresh install on this machine and I don't remember choosing "Legacy". Maybe I did.

    Comment


      #17
      Re: grub2 splash images

      OK. Running this did create a good grub.cfg file: "sudo grub-mkconfig -o /boot/grub/grub.cfg".
      I even had the 800x600 resolution. Move any thing that had menu.lst in it into a separate folder. Rebooted and all appears OK. Followed advice here: "http://ubuntuforums.org/showthread.php?t=1195275" to create GRUB Splash. Can't run update-grub2 as it says no such command and update-grub keeps wanting to make a menu.lst. Looked in synaptic and GRUB2 doesn't appear to be installed. So, "sudo grub-mkconfig -o /boot/grub/grub.cfg" seems to generate a proper grub.cfg, but not update? So,can I just install GRUB2 and have it uninstall GRUB and all be OK no further configuration? (please correct me before I screw something up here ). If that isn't the case can I edit the entry in grub.cfg myself to do the splash (current code below for that) and if I can, what is the proper code to get it to display the splash?


      Current grub.cfg entry that indicates a splash:
      Code:
      ### BEGIN /etc/grub.d/05_debian_theme ###
      set menu_color_normal=white/black
      set menu_color_highlight=black/white
      ### END /etc/grub.d/05_debian_theme ###

      Comment


        #18
        Re: grub2 splash images

        I must admit, I'm lost now.

        Lost about the goal. Sounds like you want GRUB 2 installed and for GRUB 2 to control the booting, right? If so, yes, install GRUB 2 (say, using synaptic), then install it to the MBR of your boot drive (the first BIOS boot drive) using
        sudo grub-install /dev/sdX
        (where, /dev/sdX is the first BIOS boot drive; e.g., /dev/sda or /dev/sdb).
        This will wipe out any presence of GRUB legacy in the MBR. Then you can leave GRUB Legacy sit there (in your root file system) or remove it (e.g., using synaptic).

        The update-grub2 may be an old command version or something, not relevant to Kubuntu and GRUB 2 now.

        As for splash images, I have no clue, sorry. Sounds like kubicle might know. Or, maybe try herman on it, see if he's got more details, at:
        http://members.iinet.net/%7Eherman54...ashimages.html
        I'm thinking, though, that manually editing /boot/grub/grub.cfg will be wiped out next time you or the system runs update-grub or grub-mkconfig -o /boot/grub/grub.cfg.
        Seems the splash image must be set up either in /etc/deafault/grub or /etc/grub.d/05_debian_theme.

        When you reboot, you can tell that GRUB 2 is controlling the boot show because you'll see at the top of the boot menu something like GRUB 1.97 Beta 3 (or 4).

        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment


          #19
          Re: grub2 splash images

          Well it started out as a Splash Project I wanted to do on my DT. The GRUB issues appeared so now it includes ironing that out. Thing is, when I do Boot/ReBoot, it shows ~1.97 Beta 3 (or 4). That is the confusion I'm running into. If GRUB 2 is installed in the MBR then why does the OS report only GRUB? When I had the menu.lst it worked. When I removed it and used the "sudo grub-mkconfig -o /boot/grub/grub.cfg" command to make the GRUB.cfg, it worked. Both ways it works, which is good, but what version is in the MBR and seen by the OS?

          I did edit the 05_debian_theme file, but I think my problem now is the one above. If I get that ironed out, I think the Splash issue should relatively solve itself.

          Comment


            #20
            Re: grub2 splash images

            When you reboot and you see ~1.97 Beta 3 (or 4, then GRUB 2 is installed to the MBR and is controlling the boot show. And that would be OK (we hope).

            Don't know why Synaptic reports only GRUB legacy.
            Might have a look for yourself in /boot/grub -- you may very well have both GRUB and GRUB 2 files installed there (which would be OK). My GRUB Legacy has 13 files (menu.lst, device.map, default, six stage 1_5 files, stage1 and stage2, installed-version. My GRUB 2 has 147 files (.mod, .lst, .map., many others).

            If you had GRUB Legacy there before installing GRUB 2, GRUB 2 would have detected that fact and kept GRUB Legacy for you and set things up so GRUB Legacy still controlled the booting but gave you an option to chainload to GRUB 2 (and you'd also have an option to replace GRUB legacy with GRUB 2). If you had no GRUB Legacy installed, and you installed GRUB 2, or you had a fresh installation of 9.10 with GRUB 2, you should have only GRUB 2.

            Sounds like it is working OK?

            And remember, you can always refresh GRUB 2 installation using
            sudo grub-install /dev/sdX
            (where sdX is the drive MBR that BIOS is set to boot from).
            That should set everything up fresh, including grub.cfg.

            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

            Comment


              #21
              Re: grub2 splash images

              I'll go ahead and install the GRUB2 package. Can't hurt. I know how to get to the CLI, so no biggie there either if it decides to go south. Haven't played with the system like this in a while. Diving in!

              When I get home from work that is. >

              Comment


                #22
                Re: grub2 splash images

                Hi MoonRise. And it sounds like GRUB 2 is already installed and controlling the booting, from what you say (i.e., when you reboot you see 1.97 Beta 3 or 4 at the top of the boot menu). As I said, have a look in /boot/grub and see if you see all those many GRUB 2 files (.mod, .lst, .map, etc.).
                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                Comment


                  #23
                  Re: grub2 splash images

                  Hey. I'm throwing in another wrench!

                  Since it seemded to work on my laptop as expected I added the Grub2-splash images package. Made the mods to the "/etc/grub.d/05_debian_theme" file as the How To stated and then ran "sudo update-grub". This has worked before on this machine, but now all I get is this below. Weird. Never had to have a run command modifier in update-grub before.


                  Code:
                  Generating grub.cfg ...
                  No path or device is specified.
                  Try ``grub-probe --help'' for more information.
                  No path or device is specified.
                  Try ``grub-probe --help'' for more information.

                  Comment


                    #24
                    Re: grub2 splash images

                    Hmm, yep, strange, haven't seen that output before. Try the other one:
                    sudo grub-mkconfig -o /boot/grub/grub.cfg
                    (I can't recall if there's a "force" option or not; doesn't matter: if you are in 9.10 the mkconfig is supposed to work in any case.)
                    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                    Comment


                      #25
                      Re: grub2 splash images

                      Laptop: Same error.
                      Desktop: Getting ready to transform my DT!

                      I'll report back in a while.


                      Edit: Before I started I Googled the error. I know what the issue could be on the laptop. http://ubuntuforums.org/showpost.php...43&postcount=5


                      Edit again: Yea! Installed GRUB-PC package and it auto removed GRUB package and all is running booted perfectly. Then got the splash to work on the DT. Only issue is it doesn't fill the entire screen, just the upper left corner is 640x480 size even though the GRUB resolution is set to 800x600. I'll work on that. One problem was this line in "/etc/grub.d/05_debian_theme "for i in {/boot/grub,/usr/share/images/grub}/moreblue-orbit-grub.{png,tga} ; do" on Kubuntu pointed to "/usr/share/images/desktop-base" which of course doesn't exist. Once I fix that on the laptop I know it will work too.

                      Edit again, again: Ahhh! This would be why image isn't quite right. image must match resolution you set for GRUB. That is if you set GRUB 800x600. The image must be 800x600.
                      Select an image of the same size and make the change in /etc/grub.d/05_debian_theme

                      Comment


                        #26
                        Re: grub2 splash images

                        TaDa!

                        Attached Files

                        Comment


                          #27
                          Re: grub2 splash images

                          MoonRise, cool. Nice graphic to summarize the end result, too.
                          Nice work, which I'm sure others who stumbleuponit here will benefit from!
                          --Mike
                          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                          Comment


                            #28
                            Re: grub2 splash images

                            I hope they do and hope I've added the right information to go by.

                            Comment


                              #29
                              Re: grub2 splash images

                              spiky001 -- you having any luck?
                              An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                              Comment


                                #30
                                Re: grub2 splash images

                                Originally posted by MoonRise
                                TaDa!
                                White (or something light) text would probably be easier to read on the somewhat dark splash image.

                                Comment

                                Working...
                                X