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
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"Deployments unchanged."
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.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
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
?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
So ostree:0 is working now? and it autoboots into this one?
thank you for the help anyways
yea
ostree 0
how do i remove the blank ones?
the redundant ones that dont work
rpm-ostree cleanup -r
will remove the rollback deployments so it will nuke ostree: 1 and ostree: 2 if you have thatgotcha
i have
ostree 0
ostree 1
ostree 0
ostree 1
i assume this means i only got this one now
ujust configure-grub fix
will remove the confusing double entry in grubty
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
idk what im capable of
π
π