Grub menu still appears on Zorin 17

The /etc/default/grub?

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_THEME=/usr/share/grub/themes/zorin/theme.txt

Your grub timeout should never be set to 0... The Zorin OS default is 10

Ah, yes. I remember you said that. But I have not set it to zero. It's what I had when I installed zorin.

You can adjust it (no less than 5) using

sudo nano /etc/default/grub

ctl+o, enter, ctl+x then run

sudo update-grub

I am noting that this should be done as an aside, not as a solution.
Also, if you were trying to make your Grub menu stop appearing, this is one of the first things a user will try doing according to online guides to try to make it not appear.
The Zorin OS default is 10.

Have set the timeout to 5, updated the grub, and rebooted. Still the count is greater than 5. Not sure how much is it.

Is it possible that the bootloader got installed into the 1g parition I created earlier (as in the screenshots earlier in this thread)? While installing the Zorin OS with LVM I did not manually chose the bootloader location.

Right now, that 1g partiton is unallocated - I made it unallocated yesterday.

Have you ever installed Grub Customizer?
Please double check.
Grub Customizer creates its own configuration file that it saves in its own location - and it overrides other configuration files. It also will remain even if you purge grub customizer.
It having been installed could easily explain all of this.

No. I didn't install grub customizer.

I am back to stumped, again...:expressionless:

Oops.

Let me know if you need further information that would help you debug this.

We looked into this a bit here:

In /etc/grub.d you will find 00_header

In /boot/grub you will find grub.cfg

If either of these have been changed, it could have an effect like this; Except that I cannot fathom how they might have been changed.
If @capriciousduck had installed anything that could or would change those files, he would know of it and have stated so (I pointedly asked about Grub Customizer).

If those files were corrupted due to packet loss during .iso download or during install, he should get a grub failure. Installing again with a fresh download of the .iso is our usual solution.

@capriciousduck, can you try:

sudo nano /etc/default/grub

Add this line

GRUB_HIDDEN_TIMEOUT_QUIET=true

Tap ctl+o, enter, ctl+x,
Run

sudo update-grub

reboot and test...

1 Like

Nope. The timeout is still 30 seconds after reboot.

I will try installing Zorin in a VM and see if this happens.

1 Like

Can you tell how I should format when I use LVM? Just want to make sure I'm doing it correctly. I will do this in a VM. If all OK, then maybe I'll reinstall the OS as it can be that something has gone wrong during the installation.

EFI - 500 MB (FAT32) (outside LVM)
/ - EXT4 or other (in LVM)
/home - EXT4 or other (in LVM)

Correct?

Creating a new partition for /boot in LVM is necessary?

Do I need to create the EFI partition or just a partition for /boot outside the LVM is enough?

But I think I had set the /boot mount point to the 1g partition I recently marked as unallocated. Would it be a problem?

Filesystem                   Size  Used Avail Use% Mounted on
tmpfs                        2.3G  2.1M  2.3G   1% /run
/dev/mapper/zorin-root       109G   15G   89G  15% /
tmpfs                         12G  140M   12G   2% /dev/shm
tmpfs                        5.0M     0  5.0M   0% /run/lock
/dev/mapper/zorin-volume--z  229G   43G  174G  20% /mnt/volume-z
/dev/mapper/zorin-home        25G  3.2G   21G  14% /home
/dev/nvme0n1p2               500M  6.1M  493M   2% /boot/efi
tmpfs                        2.3G  128K  2.3G   1% /run/user/1000

The current partition mounts are like this. All good? Or should I reinstall the OS? The EFI partition is outside the LVM for sure (on /dev/nvme0n1p2)

I do not need any kind of encryption.

My main intention was that I can resize the paritions whenever needed without worrying about where they are placed. I do not know if LVM does encryption by default.

I reinstalled the OS. The grub timeout is by default set to 0, not 10.