#“Mkinitcpio failed for kernel 6.17.3-arch2-1, skipping”
317 messages · Page 1 of 1 (latest)
I am trying to add arch into grubs boot menu. I have semi-accidentally uninstalled bootctl. I have arch manually added to grubs /40_custom file. It shows up in the menu on reboot but it doesn’t do anything and simply loops back to grub when I click on it
@tranquil escarp could you help 😭🙏
no idea,sorry
Why are you doing this manually?
grub generates its own config file
It didn’t wanna recognize arch, although it did detect windows by itself
grub-mkconfig -o /boot/grub/grub.cfg
Yup. That didn’t work @last ibex
Is this a manual install?
@last ibex yeah I had to. I just pasted that script into /40_costum
There's no kernel
@last ibex I am not sure why. But it just refused to acknowledge arch existed in my system by itself(prober)
how is it supposed to recognise it?
It can exist without grub
Did you solve this?
Solve this first, before messing with grub
Where exactly are you in the process right now?
Yeah that’s what am trying to do…but not sure how to go about it
I haven’t made any progress since making this post
Tbh I was using ChatGPT to get this far and ran into token limit…so kind of not sure what to do next
I mean
where are you rn?
are you chrooted into the system?
Oh yeah chroot inside arch install from usb
ok, try running mkinitcpio -P
see if it fails
Also, is this a manual install?
No omarchy was done via iso
so what happened exactly?
I wanted to duel boot with grub into arch and windows. Since bootctl didn’t allow it
omarchy already has limine bootloader
Wasn’t onarchy bootloader bootctl?
Oh. Does that support duel boot?
Yes..?
Oh. Maybe i should just try to get it back then
bootctl isn't even a bootloader
lol that what gpt told me
Got any tips to get it back the smoothest way?
Or fix this kernel issue.
first exit the chroot
I just wanna get back to my arch atp
Do you think it’s better to fix kernel or reinstall limine? Is it good for duel booting with windows
limine should already be there
you just need to remove grub
internet
ping archlinux.org
see if it your internet is working
Oh yeah give me a sec ill fix that
Ah now got failed to install packages to new root
@last ibex
wait
Don't add the -f flag
I need to see the mount points
either you have mounted the wrong parition, your installation was incomplete because of low space
You do know how to mount btrfs subvolumes?
mount -o subvol=@ /dev/mapper/root /mnt
great, now mount the boot parition
mount /dev/sda1 /mnt/boot
Done
I was talking with ChatGPT in the background and it told me that limine isn’t ideal for windows/arch duel booting
That it was better to just remove it and clean install grub?
just leave chatgpt
Aight I what’s the worst that can happen 😂
It’s running it now. What does the code do btw?
Install the kernel, and set up the system
Ok
It should solve this issue
Are you using a lts kernel?
What do you mean? @last ibex
pacstrap -K /mnt linux linux-headers nvidia-lts
run this
wait
don't run this yet
pacstrap -K /mnt linux linux-headers nvidia nvidia-utils
@open sentinel
run this one instead
It’s running :/
This one?
because it's gonna work now
not lts smh
.
I told you to run this one
I thought maybe you had a lts kernel
just run this
It’s just the extra nvidia line in between?
It'll work
nvidia nvidia-utils
Ok
3rd times the charm 🙏
Do all of these attempts that fail get deleted automatically or are the bloating the drive?
transaction doesn't happen if there's an error in the pipe
I see alit “WARNNING: missing firmware” errors. Is that normal?
They are not red though
Damn think it worked
Holy
But some red next Limine, not sure about that
But no major error now 😮💨
So it was the gpu. Wtf , would have never guessed that
What made you even think of that?
because the errors involving nvidia
the kernel params for loading relevant nvidia modules were failing
You need to delete the grub stuff from the /boot
your /boot is full, so it can't make the limine.cfg
delete grub, and all the initramfs files
rm -r grub initramg..
also remove the lts kernel
you are using a lts kernel
rm vm-linuz-lts
show the output after this
You can also delete limine.conf.old and limine.conf.tmp
just the lts one
vmlinuz-linux is your kernel
Ok
It's lts not its
after you're done, run lsblk -f, and show the output
Ok exit from chroot and run that command again
Without
Ok
No errors. Some green stuff. Think it went well
So i am back to the old omarchy boot now?
Arch-chroot into the system
Do sudo limine-update
Yes
What about windows
You wanted to dual boot with windows right?
Yes
Both omarchy and windows are in the same efi partition right?
Oh
I’ve got a similar problem installing from usb drive created with Caligula. I’ve disabled TPM and safe boot and it’s my only drive https://discord.com/channels/1390012484194275541/1429543778263367780
Here:
I have been at this for 6hes now 😭 my sunday is ruined
No modifications required?
nano /boot/limine.conf
You need to add that section
Yup on it
do show me the file before exiting
wait
Uppercase W
Ok
from //linux-lts till kernal cmdline
fix the identation
make sure /Windows is at the same level as /Omarchy
It's good otherwise
save, and exit
then do sudo limine-update, and hope for the best
I mean
make sure it's at the left most position
touching the start of the line
Ah
Like Omarchy
Gotcha
make it like this
Idk if that matters, but let's just be careful
Having issues with its children , is that a problem or no?
Can’t make them go one tab back
It's fine
save and exit
Ok
run sudo limine-scan
just check if omarchy works
windows can be configured later
But arch works 🥳
That's a good sign
Where was the file stored again?
/boot
I see the issue
add the windows section below snapshots
snapshots go under omarchy
place it above /EFI fallback
Ah okay
on second thought, add it below the /EFI fallback section
ctrl shift v
From Yank
p
below the EFI section
just paste it at the very bottom
you can press u to undo
looks good
Yeah your right
It worked! 🤩🎉🥳
Damn I will never talk to ChatGPT again about config or arch again
I have been spending 3 days chasing my tail when it was as simple as that
remember all of these are just statistical models. They only regurgitate the majority. If you run into an obsecure issue, that's not found in the forums, you're gonna be in trouble with these models
Your right. Well, thank you so much for the help. I feel like I should be paying you 😂 you saved my ass.
Nah, people help here voluntarily