You are not logged in.

#1 2023-08-27 02:02:07

thenightterrorx
Member
Registered: 2023-08-27
Posts: 8

[SOLVED] Initramfs not found after pacman -Syu. No fixes work

I tried https://bbs.archlinux.org/viewtopic.php?id=277800 as well as reinstalling kernel package via chroot (exact same error if you need to know specifics). The file exists when I look for it in chroot, but it doesn't show while booting. I am using btrfs if that is important.

Last edited by thenightterrorx (2023-08-27 23:31:48)

Offline

#2 2023-08-27 02:40:34

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

need more info....
-is this a uefi or legacy installation ?
-if uefi then how have you mounted your efi partition ? (/boot , /efi or /boot/efi) ?

Last edited by jonno2002 (2023-08-27 02:41:38)

Offline

#3 2023-08-27 02:55:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

"exact same error" but you never told us the error in the first place?

Offline

#4 2023-08-27 11:51:54

thenightterrorx
Member
Registered: 2023-08-27
Posts: 8

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

The error is "error: file `/boot/intramfs-linux.img` not found." exactly the same as in that topic linked.

Also it is bios, or legacy.

The only other thing I did before the reboot where it broke was install https://aur.archlinux.org/packages/xpenguins, but I doubt that is relevant. Also I used arch install script to install originally.

Offline

#5 2023-08-27 16:12:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

What bootloader? What's your btrfs layout? Subvols? Compression?

Offline

#6 2023-08-27 16:15:49

thenightterrorx
Member
Registered: 2023-08-27
Posts: 8

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

The bootloader is grub, and it is using subvols. Sorry I don't know much about this I am a noob to arch linux.

Offline

#7 2023-08-27 16:17:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

How did you install the system?

Offline

#8 2023-08-27 16:18:31

thenightterrorx
Member
Registered: 2023-08-27
Posts: 8

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

archinstall script

Offline

#9 2023-08-27 16:19:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

As I have no idea what that script does, nor have any desire to learn, I'll leave this to someone else now.

Offline

#10 2023-08-27 16:34:04

thenightterrorx
Member
Registered: 2023-08-27
Posts: 8

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

Sorry, I am big dum dum. Looking back, I had mounted /dev/sda1 to /boot/efi instead of just /boot in the chroot. It works now. I hope I didn't cost you too much of your time.

Offline

#11 2023-08-27 18:00:32

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

#12 2023-08-27 21:52:24

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

thenightterrorx wrote:

Also it is bios, or legacy.

thenightterrorx wrote:

I had mounted /dev/sda1 to /boot/efi instead of just /boot in the chroot

thats exactly where i was heading but you said it was legacy/bios so why do you have an efi partition ?

Offline

#13 2023-08-27 23:29:47

thenightterrorx
Member
Registered: 2023-08-27
Posts: 8

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

Exactly, I wasn't thinking straight and blindly followed one of the solutions without thinking. I created the /boot/efi directory with mkdir lol.

Last edited by thenightterrorx (2023-08-27 23:32:18)

Offline

#14 2023-08-28 00:25:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Initramfs not found after pacman -Syu. No fixes work

If the error was that it couldn't find /boot/intramfs-linux.img, then no /boot partition was being used so your solution makes no sense.

Offline

Board footer

Powered by FluxBB