You are not logged in.

#1 2023-01-21 08:31:54

jole
Member
Registered: 2020-06-10
Posts: 12

Installed new hardware, won't boot

I recently had a pc-failure resulting in me replacing the motherboard, cpu and ram on my main arch machine.

After doing so, I can't boot into my existing arch installation, the bios don't find my boot partition. It boots fine from usb, and I find my drives, sda, sdb and so on.

I suspect I need to edit something in my grub configuration, but I don't know what.

I have 4 partitions on my hdd, sda1 for EFI, sda2 for SWAP, sda3 for ROOT and sda4 for ROOT.

Can anyone please help?

Best regards
Jon Leithe

Offline

#2 2023-01-21 08:35:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Installed new hardware, won't boot

You likely need to reconfigure your boot loader to take account for the changed UUIDs of your drives.

But without any details of your setup, it is anyone's guess...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2023-01-21 08:36:42

jole
Member
Registered: 2020-06-10
Posts: 12

Re: Installed new hardware, won't boot

Could it be as easy as just generate a new grub.cfg file as I did during install?

# generate the grub configuration file
grub-mkconfig -o /boot/grub/grub.cfg

Offline

#4 2023-01-21 09:18:52

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

Re: Installed new hardware, won't boot

This is more likely as Anarchist said more to do with your bootloader. If you installed a new MB then you will have a new, clean NVRAM in it (supposing of course you're using EFI).
You can use efibootmgr to populate it with your loader or a UEFI shell.

Last edited by d_fajardo (2023-01-21 09:19:23)

Offline

#5 2023-01-21 10:57:32

jole
Member
Registered: 2020-06-10
Posts: 12

Re: Installed new hardware, won't boot

Thank you for the help. I ended up re-installing arch.
Best regards
Jon

Offline

Board footer

Powered by FluxBB