Bazzite recovery process after forced shutdown

No description
110 Replies
皇家海星
皇家海星2mo ago
there we go
Kasher_CS
Kasher_CS2mo ago
Plug in your other usb
Lumaeris
Lumaeris2mo ago
yeah, and then mount /dev/sdc1 /mnt, cd to /mnt
Robotta
RobottaOP2mo ago
Wait
皇家海星
皇家海星2mo ago
ok I assume we are trying to get the gparted iso onto her other (fedora) usb drive?
Kasher_CS
Kasher_CS2mo ago
No if its not ventoy
Robotta
RobottaOP2mo ago
It is ventoy
CheckYourFax
CheckYourFax2mo ago
wait
Robotta
RobottaOP2mo ago
They both are
CheckYourFax
CheckYourFax2mo ago
do you have the log_replay error? with btrfs
Lumaeris
Lumaeris2mo ago
hold on they're both ventoy as it was mentioned earlier
Kasher_CS
Kasher_CS2mo ago
So yeah do the mount
CheckYourFax
CheckYourFax2mo ago
i want my hands on a screwed up log_replay btrfs partition so i can bpftrace its mount for lore.kernel 😦
Robotta
RobottaOP2mo ago
Ok let's recap
CheckYourFax
CheckYourFax2mo ago
kernel devs want this
Robotta
RobottaOP2mo ago
Cuz im getting confused
CheckYourFax
CheckYourFax2mo ago
just boot gparted live
Lumaeris
Lumaeris2mo ago
she can't rn
CheckYourFax
CheckYourFax2mo ago
do a btrfs check /dev/<partitoin> then btrfs rescue zero-log /dev/<partition>
Kasher_CS
Kasher_CS2mo ago
Plug in second usb
CheckYourFax
CheckYourFax2mo ago
thats all
Robotta
RobottaOP2mo ago
I'm currently on the tty2 bazzite uso
Kasher_CS
Kasher_CS2mo ago
Do mount /dev/sdc1 /mnt
Robotta
RobottaOP2mo ago
Second usb just plugged
dvelshnef
dvelshnef2mo ago
the thing making this more complicated is no backup computer, its just the not booting bazzite computer and the non live iso on a ventoy usb + a not working fedora 36 live usb as the tools to work with here
Lumaeris
Lumaeris2mo ago
that's so complicated, at least she have another usb
Robotta
RobottaOP2mo ago
Yeah if i new there was a live iso this would have been resolved way earlier
皇家海星
皇家海星2mo ago
*a non-working fedora 36 live usb that is also on ventoy,
Robotta
RobottaOP2mo ago
Rn im in the bazzite non live iso tty2
CheckYourFax
CheckYourFax2mo ago
then the solution is to find the process keeping the block device busy and killing it lsof /dev/sda3
Robotta
RobottaOP2mo ago
Input/output error
Lumaeris
Lumaeris2mo ago
🫠
Robotta
RobottaOP2mo ago
Keep in mind I'm still in the tty2
Kasher_CS
Kasher_CS2mo ago
You ran my command?
CheckYourFax
CheckYourFax2mo ago
try fuser /dev/sda3
Robotta
RobottaOP2mo ago
From which usb The one I'm currently on?
Kasher_CS
Kasher_CS2mo ago
Yes
Lumaeris
Lumaeris2mo ago
the one you're in
Robotta
RobottaOP2mo ago
Ok Done
Kasher_CS
Kasher_CS2mo ago
Good
Lumaeris
Lumaeris2mo ago
cd to /mnt
Kasher_CS
Kasher_CS2mo ago
cd /mnt
Lumaeris
Lumaeris2mo ago
and then wget that iso
Robotta
RobottaOP2mo ago
Yes Ok what was the link
Kasher_CS
Kasher_CS2mo ago
Wait ls
Lumaeris
Lumaeris2mo ago
Robotta
RobottaOP2mo ago
It shows my files yes Its correct
Lumaeris
Lumaeris2mo ago
your isos?
Kasher_CS
Kasher_CS2mo ago
The fedora iso is on there too?
Robotta
RobottaOP2mo ago
Yea
Kasher_CS
Kasher_CS2mo ago
Good wget then
Robotta
RobottaOP2mo ago
No description
Lumaeris
Lumaeris2mo ago
yup, seems fine wget https://downloads.sourceforge.net/gparted/gparted-live-1.7.0-8-amd64.iso
Robotta
RobottaOP2mo ago
Segmentation fault
Lumaeris
Lumaeris2mo ago
the what
Kasher_CS
Kasher_CS2mo ago
Is it because you unplugged and replugged your usb or something Well try curl instead
Lumaeris
Lumaeris2mo ago
curl will not output the file automatically hold on curl -O https://downloads.sourceforge.net/gparted/gparted-live-1.7.0-8-amd64.iso (o, not zero)
Robotta
RobottaOP2mo ago
Input/Output error
Lumaeris
Lumaeris2mo ago
damn
皇家海星
皇家海星2mo ago
I assume we are trying to download the iso to the non-live bazzite usb drive, reboot and select the gparted iso in ventoy?
Robotta
RobottaOP2mo ago
No description
Kasher_CS
Kasher_CS2mo ago
Does ping work
Lumaeris
Lumaeris2mo ago
wait
Robotta
RobottaOP2mo ago
Yes
Lumaeris
Lumaeris2mo ago
does curl or wget even work?
Robotta
RobottaOP2mo ago
Yes
Lumaeris
Lumaeris2mo ago
yup
CheckYourFax
CheckYourFax2mo ago
bro the bazzite iso is so bugged in tty wtf is it still even mounted? since you had a segfault mount check this
Lumaeris
Lumaeris2mo ago
can we even sort it out?
CheckYourFax
CheckYourFax2mo ago
we can i think the usb just unmounted itself from a connection error what does mount output
Kasher_CS
Kasher_CS2mo ago
Yeah since it mounted itself I would try a reboot Since it doesn't appear here
Robotta
RobottaOP2mo ago
Okay Back on the iso yes?
CheckYourFax
CheckYourFax2mo ago
i think another approach might be better here
Robotta
RobottaOP2mo ago
I just want my disk back 😔
Lumaeris
Lumaeris2mo ago
we're trying :dispair:
CheckYourFax
CheckYourFax2mo ago
we'll get there boot the bazzite iso we'll try to instead make the device not busy so you can just run the btrfs command
Robotta
RobottaOP2mo ago
Okay
皇家海星
皇家海星2mo ago
"the device" in this case means your main borked installation of bazzite btrfs partition of bazzite on the internal drive
CheckYourFax
CheckYourFax2mo ago
the btrfs partition known issue a good idea is to after you are in tty2 to show output of mount shows everything that is mounted
Robotta
RobottaOP2mo ago
Ok I'm back What should i do first Mount?
Lumaeris
Lumaeris2mo ago
just mount
CheckYourFax
CheckYourFax2mo ago
the output of mount
皇家海星
皇家海星2mo ago
mount and photo the output
CheckYourFax
CheckYourFax2mo ago
it will just show a list of mounts and its targets
Robotta
RobottaOP2mo ago
No description
CheckYourFax
CheckYourFax2mo ago
try umount -f /dev/sda3 then try to btrfs check /dev/sda3
Robotta
RobottaOP2mo ago
No description
CheckYourFax
CheckYourFax2mo ago
ayyyyy now do btrfs rescue zero-log /dev/sda3
Robotta
RobottaOP2mo ago
No description
Robotta
RobottaOP2mo ago
What does this mean
Kasher_CS
Kasher_CS2mo ago
Reboot into bazzite
Robotta
RobottaOP2mo ago
Gonna get a blue screen on Linux
Robotta
RobottaOP2mo ago
Wow, instead of a blue screen i got a boot screen
No description
Lumaeris
Lumaeris2mo ago
yesss now download gparted live iso just in case
Robotta
RobottaOP2mo ago
Damn. So it was simpler than I thought I was thinking of downloading the iso live
Kasher_CS
Kasher_CS2mo ago
Yeah I guess the bazzite iso also worked for it Download both lmao No harm in doing so
Robotta
RobottaOP2mo ago
I'll make some space Thanks everyone
Kasher_CS
Kasher_CS2mo ago
You will have a lot of space after deleting bazzite non live iso
皇家海星
皇家海星2mo ago
.side quest
Kasher_CS
Kasher_CS2mo ago
Its not screwed up anymore
皇家海星
皇家海星2mo ago
ah
dvelshnef
dvelshnef2mo ago
probably also a good idea to update so it doesnt break again. Kyle mentioned this should be fixed in latest
Lumaeris
Lumaeris2mo ago
it's always better to update your system even if you think there's no issues
CheckYourFax
CheckYourFax2mo ago
no the issue is still ongoing in lkml afaik
dvelshnef
dvelshnef2mo ago
oh darn, I was going off this: https://discord.com/channels/1072614816579063828/1087140957096517672/1397626486566948945 if its not fixed and this is a 6.15 regression, is there consideration to reverting to 6.14? its eol, but idk what issue it could possibly have that is worse then failing to boot after hard shutdown
CheckYourFax
CheckYourFax2mo ago
its eol and it doesn't have the big amd tsa mitigation ltierally can't also antheas would have to backport everything
dvelshnef
dvelshnef2mo ago
oof fair enough
CheckYourFax
CheckYourFax2mo ago
we have custom kernel
dvelshnef
dvelshnef2mo ago
ik you do, but afaik the previous releases are all still tagged. ah I see crowdstrike flagged the new spectre variant as critical too 😦 I had seen amd's evaluation that they were low/med severity. Between a rock and a hard place I suppose
CheckYourFax
CheckYourFax2mo ago
it mostly affects people who need to hard reset which sucks, watchdog should catch that and force a reboot but sometimes kernel is fine but you can't do anything and t hen your only way out is force reset

Did you find this page helpful?