r/archlinux • • 14h ago

SUPPORT | SOLVED Update broke something (fixed)

Managed to break something last night on my secondary/media center system. Ran an update, and after rebooting, my /boot partition was corrupted, and couldn't mount.

Booted to the install media as a rescue disk, reformatted the partition, re-ran grub-install re-installed the linux package from the pacman cache, and regenerated the grub config, and the system came up fine.

Just wanted to say, if you take the time to think things through, you CAN fix problems that seem impossible, without rebuilding the whole system.

10 Upvotes

10 comments sorted by

3

u/nikongod 13h ago

I've had that issue too, it was very sneaky. 

Good work fixing it. 

If you formatted your boot partitions, make sure to check fstab so you don't create new problems down the line. 

3

u/trifith 13h ago

Yep, regenerated that too.

5

u/dumbasPL 13h ago

I thought this was basic knowledge? That's like the main advantage of a DIY system, you know what's where, why, and how it's configured, so troubleshooting later is trivial.

3

u/trifith 13h ago

It certainly should be. And one of the reasons to do the Arch install the hard way. To learn these things.

4

u/treeco123 11h ago

Doing a manual Arch install doesn't automatically mean you understand every step that went into it, only that you can follow instructions. It's not that much of a DIY system. EFI and bootloader bullshittery is somewhat beyond basic knowledge, and it's kinda difficult to build up from scratch.

It's things a competent Arch user should know, but it takes time and a few rounds of having to rescue a broken system to build that knowledge up. And it kinda usually just doesn't break often enough for that to happen.

(At least this is how my experience has gone. It's taken me quite a few years to get a decent understanding of this stuff.)

3

u/ControlAgent13 13h ago

I went thru something similar a couple days ago. But it was because I updated the BIOS to the latest version and this resets the UEFI file. So I have to boot Cachy off a USB and re-register Limine into the boot order.

3

u/archover 10h ago edited 6h ago

Few things are impossible to fix. (One potential example: FS corruption)

For me, the major constraint is how much time is needed to fix things, vs a restore from backup.

You didn't mention the wiki, but it's important in this DIY distro. Both to help with commands, and learning.

As your Linux skill grows, the seeming impossible becomes routine.

Good day.

2

u/ANtiKz93 12h ago

What's interesting is I've had my ssd in 3 systems since it's initial setup 5yrs ago and only faced one boot issue due to grub that was as simple as a reinstall of it lol.

I think it was me going from efi to uefi perhaps 🤔

1

u/BlueGoliath 9h ago edited 8h ago

Great. How do you fix whatever regression the big brains behind the NTFS FUSE driver introduced?