Stuck on "Welcome to GRUB!"

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
Yes, a USB boots fine. The SSD is brand new, and I use this kind in servers all the time. I wish I could go into a parallel universe and install TrueNAS-Core to see if it has boot problems on the same hardware.
 

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
Ok, thank you so much
 

WN1X

Explorer
Joined
Dec 2, 2019
Messages
77
One thing you could try is connecting the SSD to a different port on your motherboard; preferably with a different cable.
 

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
Oh yes! That's a good call.
 

brando56894

Wizard
Joined
Feb 15, 2014
Messages
1,537
It's not stuck, it just hangs for a while. It does that for me too, it takes around 90-120 seconds for it to show the menu, let it sit for a few minutes and see if it finally continues. I agree, it's annoying.
 

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
Yes, the only difference is that it's about 20 minutes and that's challenging when I'm troubleshooting something totally different.
 

brando56894

Wizard
Joined
Feb 15, 2014
Messages
1,537
Oh ok, carry on then! I'd see if it works with another distro using OpenZFS so you can narrow it down to either TrueNAS or your hardware. I was having issues with my HBA around last year where TrueNAS wouldn't import the pools upon boot, but once loaded I could import them without issue. I didn't seem to have this issue in other distros (well, actually I did, but I had mitigated it and completely forgotten). It turns out that it was taking a long time for my HBA to initialize and TrueNAS was like "screw you, you're taking too long!" and would skip it. The devs fixed that like a year or so ago, though.

For reference sake, I'm using an LSI 9201-16i
 

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
Yep, I was able to boot from several Linux distros (Ubuntu 20, 22, Deb 11) just fine over the weekend. Each used GRUB. I don't think it's hardware at this point.
 

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,041
I don't think it's hardware at this point.
I upgraded to Bluefin 22.12.0 and I experience the same behaviour on my Dell R720xd, booting from a Samsung SSD attached to internal USB port. I'm stuck at GRUB for 20min or I can proceed if I press Enter at screen. @Ashkaan do you have a Jira ticket created? If you don't, I will create one with attached debug file and link it to Upgrade Discussion thread.

Screen Shot 2022-12-13 at 2.01.33 PM.png
 
Last edited:

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
Omg! I mean this in the nicest way possible, but I'm so glad that you're experiencing the same issue (and on totally different hardware)!

No, I don't have a ticket open. If you don't mind, please submit one for us.
 

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
Done! Thank you
 

dbb12345

Dabbler
Joined
Jan 14, 2022
Messages
45
Same issue here (wish I would of seen this post first). Been using same setup for last year on TNS with little to no issue. Updated to BlueFin and not hard stuck at Welcome to Grub!. tried waiting long periods of time but not 30 mins like some posted. I'll try and report back. Newer system and not hardware related IMO. I guess I should mention Bluefin booted on first boot, after an hour of apps not starting I rebooted and this started.
 

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,041
The 30 seconds default timeout is ignored:
Code:
# grep 'set timeout' /etc/grub.d/00_header
  set timeout=${GRUB_RECORDFAIL_TIMEOUT:-30}

When you boot, do you see the countdown? In my screenshot it shows at 5 seconds, down from 30 seconds, then the booting process continues. If you change the default selection, the countdown is cancelled:

Screen Shot 2022-12-14 at 9.43.17 AM.png

You can always press Enter during GRUB screen to accept the selected entry, until a fix is provided. I'm honestly glad this issue is fixed for me, all I did was performing a shutdown. I'm forced to do shutdowns, because the NetApp DS4246 attached to my R720xd server.
 
Last edited:

dbb12345

Dabbler
Joined
Jan 14, 2022
Messages
45
i wish i got your screen, i get a black screen and this. nothing happens after
 

Attachments

  • 20221214_004143.jpg
    20221214_004143.jpg
    184.2 KB · Views: 230

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,041
Post the output of this script. You will probably need to attach it as zip file.
Code:
$ sudo -i
# curl -JLO https://raw.githubusercontent.com/arvidjaar/bootinfoscript/master/bootinfoscript
# bash bootinfoscript

sdo is my SSD boot disk, see relevant info into your RESULTS.txt file.

Screen Shot 2022-12-14 at 12.54.07 PM.png


Code:
sdo1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info:

sdo2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:        /efi/boot/bootx64.efi /efi/debian/fbx64.efi
                       /efi/debian/grubx64.efi /efi/debian/mmx64.efi
                       /efi/debian/shimx64.efi /efi/debian/grub.cfg

sdo3: __________________________________________________________________________

    File system:       zfs_member
    Boot sector type:  -
    Boot sector info:

sdo4: __________________________________________________________________________

    File system:
    Boot sector type:  Unknown
    Boot sector info:

I'm curious if you see any errors near this line:
Code:
Boot sector info:  No errors found in the Boot Parameter Block.

My output for efibootmgr:
Code:
# efibootmgr
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0008,0001,0002,0003,0004,0000
Boot0000* EFI Fixed Disk Boot Device 1
Boot0001  EFI Network 1
Boot0002  EFI Network 2
Boot0003  EFI Network 3
Boot0004  EFI Network 4
Boot0005* debian
Boot0008  Windows Boot Manager

My grub related files:
Code:
# ls -lh /boot
total 102M
-rw-r--r-- 1 root root 4.5M Nov 18 12:00 System.map-5.15.79+truenas
-rw-r--r-- 1 root root 241K Nov 18 12:00 config-5.15.79+truenas
drwxr-xr-x 6 root root    8 Dec 14 09:45 grub
-rw-r--r-- 1 root root   15 Dec 13 13:54 initramfs_config.json
-rw-r--r-- 1 root root  93M Dec 13 13:56 initrd.img-5.15.79+truenas
-rw-r--r-- 1 root root 7.1M Nov 18 12:00 vmlinuz-5.15.79+truenas

# ls -lh /boot/grub
total 31K
drwxr-xr-x 2 root root    3 May  1  2022 fonts
-r--r--r-- 1 root root 8.1K Dec 14 09:45 grub.cfg
-rw-r--r-- 1 root root 1.0K May  1  2022 grubenv
drwxr-xr-x 2 root root  286 May  1  2022 i386-pc
drwxr-xr-x 2 root root   42 May  1  2022 locale
drwxr-xr-x 2 root root  277 May  1  2022 x86_64-efi

# ls -lh /sys/firmware/efi
total 0
-r--r--r--   1 root root 4.0K Dec 14 13:12 config_table
drwxr-xr-x   2 root root    0 Dec 14 09:43 efivars
-r--r--r--   1 root root 4.0K Dec 14 13:12 fw_platform_size
-r--r--r--   1 root root 4.0K Dec 14 13:12 fw_vendor
drwxr-xr-x   2 root root    0 Dec 14 13:12 mok-variables
-r--r--r--   1 root root 4.0K Dec 14 13:12 runtime
drwxr-xr-x   7 root root    0 Dec 14 13:12 runtime-map
-r--------   1 root root 4.0K Dec 14 13:12 systab
drwxr-xr-x 155 root root    0 Dec 14 13:12 vars
 
Last edited:

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
i wish i got your screen, i get a black screen and this. nothing happens after
I get your screen, but after 30m it will finally go. Have you tried waiting?
 

dbb12345

Dabbler
Joined
Jan 14, 2022
Messages
45
I did maybe 15 mins and several reboots to no avail. Gonna turn server back on when I get home and see if 30+ mins works
 

dbb12345

Dabbler
Joined
Jan 14, 2022
Messages
45
@Daisuke Thank you so much for all your input it is appreciated but till I get past this screen and am able to boot, I'm stuck :/ Gonna try 30+ mins and se if eventually it boots and just revert back. If it does not work I will be back ;)
 
Top