yannmrn / boot-repair

BR packaging
36 stars 15 forks source link

refuses to proceed if any zfs pool exists / is active / imported... but that isn't my boot drive! #6

Open dreamcat4 opened 2 years ago

dreamcat4 commented 2 years ago

Hi there, Ran into some significant problems today with my ubuntu 22.04. Cannot boot anymore. So tried your tool (as it is indeed being recommended now online).

Problem is... I also have some zfs pools imported. They are nothing to do with this issue. My boot disk here is ext4 formatted GPT drive (uefi).

So it would have been a lot easier (and less stressful). For the tool to proceed analyzing or checking. But just ignoring the zfs pool other ones. And then it might be able to find the real issue. And repair it. (without touching or affecting those zfs disks, which is just for data only).

Please consider this feedback for future versions of your tool. Thank you!

BTW... still cannot boot. So maybe does your tool use other cli tool(s) underneath, it just a GUI wrapper? Can instead try just running instead in cli? And avoid this? Many thanks

dreamcat4 commented 2 years ago

ah ok... this error message is being thrown by boot-info tool. Which also has a cli. Maybe you can disregard this matter then.

driehuis commented 1 year ago

Actually, this looks like a bug in boot-repair. The BIS file that boot-info creates has this text in it (retyped, sorry):

Confirmation request before suggested repair:____ Warning: old zfsutils version (0.7.5-1ubuntu15). Boot-info might be incomplete or inaccurate. You may want to retry from a recent live disc. Are you sure you want to continue anyway?

This suggests that the proper course of action would not be to abort, but rather prompt for confirmation.

I hacked my way around it by removing the zfsutils check from gui-tab-main.sh