You are not logged in.
Pages: 1
Good morning to everyone, after three years of use my mainboard died (it actually caught fire because a fan cable melted on it, but that is another story) and I needed to build a new pc.
My arch install was on uefi on a 480 gb ssd with the uefi partition, main partition and swap. The new pc will not find a boot partition. It will boot from a USB though. I tried to chroot in the pc and reinstall grub, but this did not work...
What could I do?
Last edited by gkun (2023-08-05 22:15:34)
Offline
Did you move over the SSD from your old system to your new system? Or did you perform a brand-new install on a new disk?
Offline
Reinstalling the bootloader should add the nvram entry. What are you seeing in the firmware's boot menu?
Offline
Did you move over the SSD from your old system to your new system? Or did you perform a brand-new install on a new disk?
Just moved the ssd. Too many things i installed and set up, i don't want a new install
Offline
Reinstalling the bootloader should add the nvram entry. What are you seeing in the firmware's boot menu?
Oh the boot leader just gives me an "insert bootable media " error. I tried to install grub but had to use the no-nvram option cause it would not run with "efibootmgr failed to register the boot entry" error
Offline
Sounds like you're booting with the CSM (legacy mode, BIOS compatibility, etc). Turn that off.
Offline
gkun, if you were wondering whence your posts disappeared, I think you had meant to hit reply, not report.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
Sounds like you're booting with the CSM (legacy mode, BIOS compatibility, etc). Turn that off.
I will try
Offline
gkun, if you were wondering whence your posts disappeared, I think you had meant to hit reply, not report.
Oh ...yeah, that must have happened, i am using a phone and my sight is beginning to fade. I had thought it was a login problem
Last edited by gkun (2023-08-05 17:26:39)
Offline
Sounds like you're booting with the CSM (legacy mode, BIOS compatibility, etc). Turn that off.
I am back. I disabled cms support and the motherboard is back to "no bootable devices found" in the boot menu...
Which means my attempt to install grub over my existing install failed
Last edited by gkun (2023-08-05 19:01:24)
Offline
This is now the situation, I tried to install grub again:
root@archiso #mount /dev/sda3 mnt
root@archiso#mount /dev/sdal mnt/esp
root@archiso~# arch-chroot mnt [root@archiso /]# Is
bin dev etc lib lost+found mnt
home lib64 media proc run snap sys usr boot esp opt root sbin srv tmp
[root@archiso /]# cd esp
[root@archiso esp]# ls
EFI grub
[root@archiso esp]# efivar-tester
bash: efivar-tester: command not found
[root@archiso esp]# grub-install --target-x86_64-efi --efi-directory-/esp --boot
loader-id-arch_grub
Installing for x86_64-efi platform.
EFI variables are not supported on this systen. EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
[root@archiso esp]#
Before chroot I loaded the efivarfs module, apparently to no avail
Offline
Offline
Solved! I was using an iso on a legacy boot USB to chroot and that would not possibly work. Made a new USB from an iso and everything worked. I have my old install on my new pc.
Thanks!
Offline
Pages: 1