UB
Universal Blueβ€’7mo ago
Tray

How to fix os tree?

I cant boot into the first option, as it takes me to emergency mode just to tell me that I fix it by logging in and using some commands in the terminal to read the system logs or something. I can boot into the second option just fine, but the second option isn't the automatic boot one so I have to manually pick it every time I boot
16 Replies
wolfyreload
wolfyreloadβ€’7mo ago
Boot into the working deployment (Ostree:1) then run rpm-ostree cleanup -p to remove the broken deployment then you'll only have one bootable option until there is a new upgrade and then you'll auto boot into that one
Tray
TrayOPβ€’7mo ago
"Deployments unchanged."
wolfyreload
wolfyreloadβ€’7mo ago
Weird, according to the docs rpm-ostree cleanup -p should remove pending deployments, which should remove the broken deployment since you in ostree:1 at the moment.
Tray
TrayOPβ€’7mo ago
i did a system upgrade i believe while in ostree1 would that have affected anything? i thought that was gonna bump it to ostree0 or something being newer than the other one but yk it didnt
wolfyreload
wolfyreloadβ€’7mo ago
yeah if you do that it will probably remove the old deployment and make a new one, is ostree:0 working now after the update? what do you get if you type rpm-ostree status?
Tray
TrayOPβ€’7mo ago
you know what ur so right i forgot that im IN ostree0 now πŸ€¦β€β™‚οΈ i did that after creating this help post i restarted like 20 min ago
wolfyreload
wolfyreloadβ€’7mo ago
So ostree:0 is working now? and it autoboots into this one?
Tray
TrayOPβ€’7mo ago
thank you for the help anyways yea ostree 0 how do i remove the blank ones? the redundant ones that dont work
wolfyreload
wolfyreloadβ€’7mo ago
rpm-ostree cleanup -r will remove the rollback deployments so it will nuke ostree: 1 and ostree: 2 if you have that
Tray
TrayOPβ€’7mo ago
gotcha i have ostree 0 ostree 1 ostree 0 ostree 1
Tray
TrayOPβ€’7mo ago
i assume this means i only got this one now
No description
wolfyreload
wolfyreloadβ€’7mo ago
ujust configure-grub fix will remove the confusing double entry in grub
Tray
TrayOPβ€’7mo ago
ty
wolfyreload
wolfyreloadβ€’7mo ago
Yup that's what you want. just be careful playing with anything in fstab until your next update is available else you won't have a rollback point if something goes wrong
Tray
TrayOPβ€’7mo ago
idk what im capable of 😈
wolfyreload
wolfyreloadβ€’7mo ago
πŸ˜†
Want results from more Discord servers?
Add your server