#“Mkinitcpio failed for kernel 6.17.3-arch2-1, skipping”

317 messages · Page 1 of 1 (latest)

open sentinel
#

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 😭🙏

tranquil escarp
#

no idea,sorry

last ibex
#

grub generates its own config file

open sentinel
#

It didn’t wanna recognize arch, although it did detect windows by itself

last ibex
open sentinel
#

Yup. That didn’t work @last ibex

last ibex
open sentinel
#

@last ibex yeah I had to. I just pasted that script into /40_costum

last ibex
open sentinel
#

@last ibex I am not sure why. But it just refused to acknowledge arch existed in my system by itself(prober)

last ibex
#

how is it supposed to recognise it?

last ibex
open sentinel
#

Hmmm no kernel?

#

No still here trying to solve it

last ibex
#

Where exactly are you in the process right now?

open sentinel
#

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

last ibex
#

where are you rn?

#

are you chrooted into the system?

open sentinel
#

Oh yeah chroot inside arch install from usb

last ibex
#

see if it fails

open sentinel
#

Tried that already

#

Exact same as Pac-Man -S linux

last ibex
#

Also, is this a manual install?

open sentinel
#

No omarchy was done via iso

last ibex
open sentinel
#

I wanted to duel boot with grub into arch and windows. Since bootctl didn’t allow it

last ibex
open sentinel
#

Wasn’t onarchy bootloader bootctl?

last ibex
#

it's limine

open sentinel
#

Oh. Does that support duel boot?

last ibex
#

Yes..?

open sentinel
#

Oh. Maybe i should just try to get it back then

last ibex
#

bootctl isn't even a bootloader

open sentinel
#

lol that what gpt told me

#

Got any tips to get it back the smoothest way?

#

Or fix this kernel issue.

last ibex
open sentinel
#

I just wanna get back to my arch atp

last ibex
#

exit

#

then do pacstrap -K /mnt linux linux-headers

open sentinel
#

Do you think it’s better to fix kernel or reinstall limine? Is it good for duel booting with windows

last ibex
#

you just need to remove grub

open sentinel
#

Okay alright. Let’s do it

#

@last ibex jesus

last ibex
#

ping archlinux.org

#

see if it your internet is working

open sentinel
#

Oh yeah give me a sec ill fix that

#

Ah now got failed to install packages to new root

#

@last ibex

last ibex
last ibex
#

not header

#

pacstrap -K /mnt linux linux-headers

open sentinel
#

Sorry about that.

#

But now I got this

last ibex
#

lsblk

#

show the output

open sentinel
#

Yeah doesn’t Omarchy consume all the disk?

last ibex
#

I need to see the mount points

#

either you have mounted the wrong parition, your installation was incomplete because of low space

open sentinel
last ibex
#

...

#

You haven't mounted the paritions

#

cryptsetup open /dev/nvme0n1p2 root

open sentinel
#

Ah yeah the pc rebooted must have lost it

#

It’s mount -o and the dev…

last ibex
#

mount -o subvol=@ /dev/mapper/root /mnt

open sentinel
#

Yeah I have done it once give me a moment

#

I’ll mount all of them

last ibex
#

ok

#

show me the lsblk output after you're done mounting

open sentinel
#

Ok

#

There we go @last ibex

last ibex
open sentinel
#

Done

last ibex
#

Run this now

#

pacstrap -K /mnt linux linux-headers

open sentinel
#

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?

open sentinel
#

Aight I what’s the worst that can happen 😂

#

It’s running it now. What does the code do btw?

last ibex
open sentinel
#

Ok

last ibex
open sentinel
#

🤞🤞

#

@last ibex

last ibex
open sentinel
#

What do you mean? @last ibex

last ibex
#

run this

open sentinel
#

Ok

#

You think the graphics card was the issue?

last ibex
last ibex
#

pacstrap -K /mnt linux linux-headers nvidia nvidia-utils

#

@open sentinel

#

run this one instead

open sentinel
#

It’s running :/

open sentinel
#

No the one before

#

It’s taking it’s sweet time with loading it hmmm

last ibex
open sentinel
#

Oh I see some green txts 🙂

#

In Jesus name work

#

Fuck 😭

#

@last ibex

last ibex
last ibex
last ibex
#

I thought maybe you had a lts kernel

open sentinel
#

It’s just the extra nvidia line in between?

last ibex
#

It'll work

last ibex
open sentinel
#

Ok

#

3rd times the charm 🙏

#

Do all of these attempts that fail get deleted automatically or are the bloating the drive?

last ibex
open sentinel
#

I see alit “WARNNING: missing firmware” errors. Is that normal?

#

They are not red though

open sentinel
#

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?

last ibex
#

the kernel params for loading relevant nvidia modules were failing

open sentinel
#

Ah

#

I am blind.

#

So what’s next?

#

Mkinitcpio is nvidia kernel?

last ibex
#

it makes the initramfs

last ibex
#

your /boot is full, so it can't make the limine.cfg

open sentinel
#

Ok

#

Just rm /boot ?

last ibex
#

ls \boot, and show me the output

open sentinel
#

@last ibex here

last ibex
#

rm -r grub initramg..

#

also remove the lts kernel

#

you are using a lts kernel

#

rm vm-linuz-lts

#

show the output after this

open sentinel
#

Ok

#

I see vmlinuz-linux and vmlinuz-linux-its

Remove them both?

last ibex
#

You can also delete limine.conf.old and limine.conf.tmp

last ibex
#

vmlinuz-linux is your kernel

open sentinel
#

Ok

last ibex
#

It's lts not its

open sentinel
#

Ok

#

Ah small l gotcha

last ibex
#

after you're done, run lsblk -f, and show the output

open sentinel
#

Done @last ibex

last ibex
open sentinel
#

With it without nvidia parts

#

Ok

last ibex
#

Without

open sentinel
#

Ok

#

No errors. Some green stuff. Think it went well

#

So i am back to the old omarchy boot now?

last ibex
#

Do sudo limine-update

open sentinel
#

Arch-Chroot /mnt

#

That’s what you mean?

#

Am gona assume yes

last ibex
#

Yes

open sentinel
#

👍

#

Done

last ibex
#

Ok you can reboot now

#

In theory your system should work now

open sentinel
#

What about windows

last ibex
#

You wanted to dual boot with windows right?

open sentinel
#

Yes

last ibex
#

Both omarchy and windows are in the same efi partition right?

open sentinel
#

Windows doesn’t use efi

#

It’s «legacy» according to ChatGPT

last ibex
#

It uses UEFI

#

Do

open sentinel
#

Oh

last ibex
#

ls /boot/EFI

#

Paste the output

tough warren
open sentinel
open sentinel
last ibex
#

Nice

#

Now add this to limine.conf

#

It is inside /boot

open sentinel
#

No modifications required?

last ibex
#

nano /boot/limine.conf

last ibex
open sentinel
#

Yup on it

last ibex
#

do show me the file before exiting

open sentinel
#

Ok

#

Like this:? @last ibex

last ibex
last ibex
open sentinel
#

Yup noticed that also

#

But good otherwise?

last ibex
#

the entire section

open sentinel
#

Ok

last ibex
#

from //linux-lts till kernal cmdline

open sentinel
#

Ok

#

@last ibex

last ibex
#

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

open sentinel
#

Like this:?

#

Alright

last ibex
#

make sure it's at the left most position

#

touching the start of the line

open sentinel
#

Ah

last ibex
#

Like Omarchy

open sentinel
#

Gotcha

last ibex
#

Yours is like this rn

  /windows
      protoc..
#
/windows
    protocl...
last ibex
#

Idk if that matters, but let's just be careful

open sentinel
#

Having issues with its children , is that a problem or no?

#

Can’t make them go one tab back

last ibex
#

save and exit

open sentinel
#

Ok

last ibex
#

run sudo limine-scan

open sentinel
#

Looks like its working

#

Okay, I’ll reboot

last ibex
#

lemme know if it works

open sentinel
#

🤞

last ibex
#

windows can be configured later

open sentinel
#

But arch works 🥳

last ibex
open sentinel
#

Big relief

#

So it was indication issue

#

With windows?

last ibex
#

Ig identation matters

open sentinel
#

Where was the file stored again?

last ibex
open sentinel
#

Think this correct

#

I’ll try again

last ibex
#

add the windows section below snapshots

#

snapshots go under omarchy

#

place it above /EFI fallback

open sentinel
#

Ah okay

last ibex
open sentinel
#

Ok

#

How do you past on nvlinuz

#

Nvim

last ibex
open sentinel
#

From Yank

last ibex
open sentinel
#

👍

last ibex
#

just paste it at the very bottom

#

you can press u to undo

open sentinel
#

But the indentation refuses to get any smaller

last ibex
open sentinel
#

Ok 👍

#

Let it rip

#

Oh shit 😱

last ibex
#

open boot menu

#

select limine

open sentinel
#

Yeah your right

last ibex
#

you can change the boot order from the BIOS

#

remove grub completely after you're done

open sentinel
#

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

last ibex
open sentinel
#

Your right. Well, thank you so much for the help. I feel like I should be paying you 😂 you saved my ass.

last ibex