Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Something wrong with boot screens (is just seems an aesthetic problem)

  1. #11
    Join Date
    May 2008
    Beans
    4,509
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Something wrong with boot screens (is just seems an aesthetic problem)

    Quote Originally Posted by massimiliano-polito View Post
    I selected "Advanced options for Ubuntu" in the first screen so I was presented another menu where I had a couple of choices among which kernel to load.
    I just hit "enter" (so the first choice was selected) and the boot process continued.
    You could set this as grub default, if you wish.
    Just to be clear, this is not the recovery mode?
    You are referring to a line similar to Ubuntu, with Linux 6.11.0-9 generic

  2. #12

    Re: Something wrong with boot screens (is just seems an aesthetic problem)

    The first line in the menu I access after choosing "Advanced options for Ubuntu" has two options, the first one is for the normal boot and the second one allows to boot in "recovery mode".

    When I selected the first one (which is also the default one as it has the "*") I happen what I described i the text you quoted, i.e. the boot processed continued without showing any empty frame.

    Ciao,
    Max

  3. #13
    Join Date
    May 2008
    Beans
    4,509
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Something wrong with boot screens (is just seems an aesthetic problem)

    Let's try and set the first entry in Advanced Options as default
    Open a terminal and enter:-
    Code:
    sudo nano /etc/default/grub
    Change the following line
    Code:
    GRUB_DEFAULT="1>0" # This line is probably set at 0
    Ctrl o to save and Ctrl x to exit
    Code:
    sudo update-grub
    Grub counts from 0 hence GRUB_DEFAULT=0 is the first line of the Grub menu, which will boot the latest installed kernel.
    GRUB_DEFAULT="1>0"
    The 1 is the second line of the Grub menu i.e. Advanced Options for Ubuntu.
    The 0 is the first option within Advanced Options
    Don’t forget to run sudo update-grub after editing the file.

  4. #14

    Re: Something wrong with boot screens (is just seems an aesthetic problem)

    Done it.

    Now when it starts the highlighted boot menu entry is the second one ("Advanced options for Ubuntu") and then at the second menu the first entry is chosen which is the normal boot (I know because once booted I ran 'runlevel' and it returned 5 which means it's not in recovery mode).

    The frame still appears but now there are a couple of log lines in it so at last there is a reason for it to be there.

    Anyway that's not want I wanted...

    I want a vanilla-PC that when turned on highlights the first menu entry (plain "Ubuntu") and then starts without any frame.

    Now there is at least a reason for the frame to be there, it contains a couple of lines of log messages, but it's not working as it is supposed to do

    Ciao,
    Max

  5. #15
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,899

    Re: Something wrong with boot screens (is just seems an aesthetic problem)

    I want a vanilla-PC that when turned on highlights the first menu entry (plain "Ubuntu") and then starts without any frame.
    Your screenshot in post #1 shows you have a grub theme in use. The frame with the wide border is part of the theme. If you disable the theme, you will have the default grub menu.

    The theme is usually specified in the /etc/default/grub file with a line like this:
    Code:
    GRUB_THEME="/usr/share/grub/themes/ubuntu-custom/theme.txt"
    Add a # at the beginning of the line to disable the theme:
    Code:
    #GRUB_THEME="/usr/share/grub/themes/ubuntu-custom/theme.txt"
    After this, run sudo update-grub to rebuild the grub.cfg file.
    Last edited by Dennis N; November 23rd, 2024 at 02:49 PM.

  6. #16
    Join Date
    May 2008
    Beans
    4,509
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Something wrong with boot screens (is just seems an aesthetic problem)

    Just to add to the suggestion from Dennis N, it would probably be pertinent to also return /etc/default/grub to its original default.
    Code:
    GRUB_DEFAULT=0

  7. #17

    Re: Something wrong with boot screens (is just seems an aesthetic problem)

    Guys... I made a couple of hours of attempts, this is a summary of the result.

    There is no GRUB_THEME in my /etc/default/grub file but (I thought) if there is a variable to select a theme it means the theme is not something built in, I can change it. So I decided to change the theme and see what happened.

    Wandering in the file system I found a directory /boot/grub/themes/ with a ubuntustudio directory in it. Apparently that directory contains the graphics shown when my system boot.

    I downloaded another theme and copied it in the same directory, modified /etc/default/grub to load the new them through the GRUB_THEME parameter and run update-grub.

    I rebooted the PC but nothing changed, the old theme with the blank frame was still there. So I had a look at the grub.cfg (the file built by update-grub, I guess) and realised that the new theme had been taken into consideration, some variables in that script actually referred to my new theme but unfortunately some lines below the same variables were overwritten with the old theme so it seems it is impossible to change the theme through GRUB_THEME because something in grub.cfg always points to the original theme.

    To work around this funny thing I renamed the ubuntustudio directory (the original theme) in /boot/grub/themes/ to ubuntustudio.orig and the directory with the new theme to ubuntustudio.

    I rebooted the system and this time the new theme was loaded, and this theme doesn't have the problem of the blank frame!

    So the problem is solved, the blank frame disappeared, the theme is far nicer than the original one but unfortunately it is an Ubuntu theme (it only reads "Ubuntu") so I've lost the possibility to see "Ubuntu Studio" while booting.

    I don't like it so much, I'd rather fix the original theme and have the original Ubuntu Studio 24.04 theme but Ubuntu is a sibling of Ubuntu Studio so it's not too bad either.

    The real solution would be understanding where that blank frame is defined in the original Ubuntu Studio theme and fix it but I'm not so good at these sort of things and it'd take too much time...

    Thanks for your support... it's not perfect but it's far better than before.

    Ciao,
    Max
    Last edited by massimiliano-polito; November 23rd, 2024 at 05:19 PM.

  8. #18
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,899

    Re: Something wrong with boot screens (is just seems an aesthetic problem)

    So the problem is solved, the blank frame disappeared, the theme is far nicer than the original one but unfortunately it is an Ubuntu theme (it only reads "Ubuntu") so I've lost the possibility to see "Ubuntu Studio" while booting.
    The "Ubuntu" name in the new theme might be an image file stored in the theme folder. You could replace it with another image file with the same file name and dimensions (or approximate) which displays "Ubuntu Studio" instead. Inkscape is a good tool for creating it
    Last edited by Dennis N; November 23rd, 2024 at 06:26 PM.

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •