TrueNAS SCALE 23.10-RC.1 - GRUB issue

Rchtr

Cadet
Joined
Jan 13, 2021
Messages
8
Hello,
the upgrade to Cobia RC.1 from 22.12.3.3 just went fine, but after I shut down the system and starting it again, this error appears:

Code:
Error: unknown filesystem.
grub rescue>


How can I fix it?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Hello,
the upgrade to Cobia RC.1 from 22.12.3.3 just went fine, but after I shut down the system and starting it again, this error appears:

Code:
Error: unknown filesystem.
grub rescue>


How can I fix it?

Did the error stop the system booting? Please describe impacts..

Does it repeat on another reboot?
 

Rchtr

Cadet
Joined
Jan 13, 2021
Messages
8
Yes, the system does not boot anymore.
I have tried it many times and it always stops at this error.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Please "report a bug"... but you'll need to do a clean install. Suggest going back to 22.12.3.3 1st.

It seems like a "freak" event - unless there is someone else who experienced it also.
 

Rchtr

Cadet
Joined
Jan 13, 2021
Messages
8
I did a zpool upgrade, is it still possible to go back to the old version?
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Ahh, did you do the zpool upgrade on the boot pool? If so, that would render it non-bootable by GRUB, since it has new feature flags. Generally you never update the boot pool, we handle that in the software in the background if necessary.,
 

Rchtr

Cadet
Joined
Jan 13, 2021
Messages
8
In the past (the last three years) I always did an upgrade via the shell.

Code:
zpool upgrade -a


Maybe this time it has misconfigured the boot pool.

Is there an easy way to undo it?
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Oh my, please do not do that. Use the UI to do the zpool upgrade on the disk screen, or at minimum specify the pool name to upgrade. That is exactly what happened, the boot-pool got updated and its running newer ZFS which GRUB can't read.

To fix you will need to re-install and re-apply your config file.
 

Rchtr

Cadet
Joined
Jan 13, 2021
Messages
8
Thank you for your advice.
I did not know that u can upgrade it on the disk screen.
 

raproter

Cadet
Joined
Mar 10, 2020
Messages
4
@Kris Moore I also ran that command as it was mentioned in an alert after upgrading to Cobia. If it is not meant to be ran, maybe prevent that alert from showing? Kinda sending us into the woods.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
@Kris Moore I also ran that command as it was mentioned in an alert after upgrading to Cobia. If it is not meant to be ran, maybe prevent that alert from showing? Kinda sending us into the woods.

Please make a bug report (either manually or via UI)...its a reasonable request
 

hansaya

Cadet
Joined
Nov 14, 2023
Messages
1
I ran into the same the issue but luckily my truenas was running as a VM so I did a simple rollback
 

oasfour

Cadet
Joined
Nov 18, 2023
Messages
1
* Upgraded from Scale to Cobria.
* Reports screens were not functioning.
* Loud banner message ZFS pool upgrade
* Everything seemed to be running fine so I went ahead and upgraded the ZFS pool.
* grub cannot recognize files system
* At least it's saturday.
* My only real concern is... if I reinstall Cobria, will the new install be able to read my data pool?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
* Upgraded from Scale to Cobria.
* Reports screens were not functioning.
* Loud banner message ZFS pool upgrade
* Everything seemed to be running fine so I went ahead and upgraded the ZFS pool.
* grub cannot recognize files system
* At least it's saturday.
* My only real concern is... if I reinstall Cobria, will the new install be able to read my data pool?
Yes....
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Has anyone made a bug report?
Please document the NAS ticket here.
Without a report.. problems linger.
 

probain

Patron
Joined
Feb 25, 2023
Messages
211
Has anyone made a bug report?
Please document the NAS ticket here.
Without a report.. problems linger.
Not my Jira ticket. But, yes. Someone has submitted such a ticket
Jira: NAS-125081. Which further leads to there apparently being an PR for it already NAS-124771. Scheduled for 23.10.1.
Set compatibility property to 'grub2' on boot-pool. This inhibits feature
upgrades that could potentially break grub2 compatibility when zpool
upgrade is done on boot-pool to enable additional features.
 
Top