Stuck in GRUB menu.
I currently dual-boot Windows and Bazzite on my ROG Ally X. I recently partitioned my SSD to shrink my windows drive in hopes of giving Bazzite some more space. However, after doing so, I am stuck in the GRUB menu. How do I boot back into Bazzite?
Solution:Jump to solution
you can create a bootable fedora image, use that to mount your drive and then you can explore the contents. You will need a second storage device to copy things to
8 Replies
did you resize your partitions AFTER installing bazzite along side windows? was it working just fine before you did this (able to boot into both OS')? if yes to both questions, this may explain it, you might have inadvertently deleted something important in doing so. Resizing can be done, but you have to be mindful what your are shrinking, and what you are extending, and where. I advise you think about how much you want to provision for each OS, and stick with that for the lifetime of their respective installations
Ah I see. You are right on both ends. I did resize after installation and everything was working fine before. I guess I should have been careful. Is there any way to recover any data? I had some saves there that I want to back up
you may be able to if you boot into a linux USB stick, and dig around the drive to copy them off to a separate storage.
Some system files (i think under /sys or so) are duplicated because bazzite keeps 2 versions (present and past) or 3 (future, in the event of an upgrade). For your personal files, they would be in the /var partition.
You can try repairing grub by chrooting in and running the grub2 command to regenerate the config, but there are two problems: 1) i would not be able to help as im not familiar with the btrfs layout of bazzite, and in general im not sure if chrooting in fedora atomic images is a thing, you can try looking around or see if someone can comment
2) i believe i read somewhere online that upstream devs do not recommend users try regenerating grub config themselves, so it may not be supported. I cannot imagine this being any different from arch linux, but in order to even try you would have to figure out the answer to bullet point "1" first.
i think your best bet is to boot with a USB and dig around the drive and see what you can salvage
The regeneration command works
But the old grub config should still be there
In any case this is surgery territory
I see. So the best way forward is to boot from a linux usb from what I understand. I am a noob when it comes to these so I would appreciate some help.
How would I boot from a Linux USB? Do I need to just have a Linux image (iso ?) on the USB drive and then just boot from it?
Also, if I just wanna screw everything and completely wipe the bazzite partition of the drive (in hopes of completely factory resetting everything) is there a way to do it?
Solution
you can create a bootable fedora image, use that to mount your drive and then you can explore the contents. You will need a second storage device to copy things to
simply rerun the bazzite installer, when you select the storage selct the partition with the broken bazzite install, select to reclaim space
Thank you so much!