Dual boot error
I have 2 boots on a legion when I join using the boot manager. I get the screen of need authenticate and then when I restart and go again I have the grub asking the os tree 0 didn't work but the 1 yes how can I solve that


Solution
I was having a problem where GRUB showed two Bazzite entries:
Bazzite (ostree:0) → broken (booted into emergency mode)
Bazzite (ostree:1) → working
To fix it, I removed the corrupted OSTree deployment.
Here’s exactly what I did:
Bazzite (ostree:1)
so I could login normally
It showed:
a broken .0 deployment (pending)
a good .1 deployment (active)
This removed the broken version and automatically updated the bootloader.
Now only the good deployment .1 remained.
Bazzite (ostree:1)
The broken entry (ostree:0) is gone, and the system boots normally again.
If anyone runs into the same issue:
Just boot into the good deployment and run sudo ostree admin undeploy 0. It cleans everything up.
Bazzite (ostree:0) → broken (booted into emergency mode)
Bazzite (ostree:1) → working
To fix it, I removed the corrupted OSTree deployment.
Here’s exactly what I did:
- Booted into the working deployment
Bazzite (ostree:1)
so I could login normally
- Checked the current deployments
It showed:
a broken .0 deployment (pending)
a good .1 deployment (active)
- Deleted the corrupted deployment
This removed the broken version and automatically updated the bootloader.
- Verified the system
Now only the good deployment .1 remained.
- Rebooted
Bazzite (ostree:1)
The broken entry (ostree:0) is gone, and the system boots normally again.
If anyone runs into the same issue:
Just boot into the good deployment and run sudo ostree admin undeploy 0. It cleans everything up.