#[SOLVED] Can't get arch to show up in BIOS after install on new HP Omnibook Ultra Ryzen AI 9 HX 375
255 messages · Page 1 of 1 (latest)
what happens when you boot?
Reinstall gruv
Grub
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
don't do that
--efi-directory is dependent on where esp is mounted
also they said nothing about having grub as their bootloader
@solemn sentinel context please
mountpoints, bootloader, which uefi (msi?), etc
are you actually uefi? or bios
verify if unsure
Idk i had this error before all i did was boot i to my archiso again then run grub-install
q
I had a similar problem recently when setting up a dual boot, I was using grub and the windows option wouldn't show up. I used os-prober and it fixed things for me
that is unrelated to this issue
10gb /boot (ik its excessive), 32gb swap, 200gb /, 530gb /home, bootloader is just systemd-boot and uefi is dell for omnibook ultra
Sorry for getting back so late
https://wiki.archlinux.org/title/Systemd-boot#Configuration
https://wiki.archlinux.org/title/Systemd-boot#Adding_loaders
@solemn sentinel you need to add kernel entries yourself
read the links
do you mean it doesnt show in uefi?
Yes
I did
and then arch-chroot mountpointhere
Wait im doing this with the Arch install script
And I've finished running said script
I tried doing arch-chroot /boot since thats where I had it
no
I did arch-chroot /dev/nvme0n1p5
follow my instructions
@solemn sentinel
dont exit yet
pacman -S efibootmgr
efibootmgr
execute these 2 commands
and send a picture
Wait could I just use rEFInd for this
efibootstub
I already did bootctl install
Is there anything else I could do?
It didn't work
i need to see
This is what it was
@solemn sentinel instead of a bootloader you can boot directly from uefi
That's what I tried but it literally doesn't show
?
no
i am talking about something else
read this
It only gives me the option between windows boot manager and the usb
@solemn sentinel
uefi was made to remove the need for an intermediary (bootloader)
Ok
https://wiki.archlinux.org/title/EFI_boot_stub#efibootmgr specifically this
Alr i think I get it
But will I be able to go between windows and arch from this
Cause im dual booting
Or would be dual booting
Oh id literally have to go to uefi every time
it doesn't matter
and no
only when you want to come back to linux
for linux you can change the boot order with efibootmgr
@solemn sentinel ignore that
it only matters if your firmware implementation is shit
My device is a Dell laptop though. Still doesn't matter?
And would it be difficult to just use a unified kernel image
incredibly easy
Again never tried I've never had this much of a hassle installing arch
@solemn sentinel to use uki, uncomment the uki options, and comment the image options
Ok wait im gonna try this. Ill be back
Alright I'll try to do this thing first
try efibootstub first
👍
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "Arch Linux" --loader /vmlinuz-linux --unicode "root=UUID=$(lsblk -dno UUID /dev/nvme0n1p2) rw initrd=\initramfs-linux.img"
it would look like this, except change the partitions
p2 is root, --part 1 is the partition number for the esp partition
and then send a picture of the output pls
The only thing I was confused on if I should've replaced the y with what I had or just the 6
that is wrong
Ok
Got it
efibootmgr --create --disk /dev/nvme0n1 --part 6 --label "Arch Linux" --loader /vmlinuz-linux --unicode "cryptdevice=UUID=$(lsblk -dno UUID /dev/nvme0n1p7):root root=/dev/mapper/root rw initrd=\initramfs-linux.img"
@solemn sentinel
needs to be typed exactly as is
and then do not press enter, show me the command you ahve typed in the end so i can verify
Alr got it
brb
press enter
after doing that i want to check ur hooks
grep -i hooks /etc/mkinitcpio.conf
can you not post a rotated picture
@solemn sentinel unplug usb and reboot
you're good now
Idk why it uploaded like that sorry
It showed up in bios but just boots me to windows
It has priority and is the first one
Ill show a picture
When i save and try to boot it just goes to windows
And the USB is unplugged it just shows there
@solemn sentinel we are going to do uki like wiki suggests
go into /etc/mkinitcpio.d/linux.preset
comment everything with image in it by adding # at the beginning, additionally uncomment anything with "uki" in it by removing the # at the beginning, change the /efi to /boot NOT THE /EFI
only the /efi
make the file:
mkdir -p /etc/cmdline.d
touch /etc/cmdline.d/root.conf
fill the contents:
echo "cryptdevice=UUID=$(lsblk -dno UUID /dev/nvme0n1p7):root root=/dev/mapper/root rw" > /etc/cmdline.d/root.conf
make the directory:
mkdir -p /boot/EFI/Linux
remove the old entry:
efibootmgr -b 1 -B
rebuild initramfs:
mkinitcpio -P
create the new entry:
efibootmgr --create --disk /dev/nvme0n1 --part 6 --label "Arch Linux" --loader '\EFI\Linux\arch-linux.efi' --unicode
and then reboot
This all good?
I didn't save any of that btw so its how it was originally
Just to make sure im in it correctly
remove references to archsio, like the whole archiso_config line, and for the 'archiso' line in presets= change that to 'default'
and follow the rest of the guide
because of the subshell usage
it will autofill your fs uuid
just execute that command please
Ok
And last question for that efibootmgr. Is the partition just the /boot partition
Just for future reference
Like in that last command
$(LSBKL
So i fucked it up
show me /etc/cmdline.d/root.conf
It says it doesn't exist
in chroot
Im still in this rootfs
From my flash drive?
yes
then do this
I cant go back into arch-chroot /mmt
picture please
It says failed to setup chroot /mnt now that I restarted
need a picture
lsblk -f
I could only remount the /boot
I created a directory in /mnt and its just /boot and mounted it there
Everything else wont work cause its an "unknown filesystem type"
reboot the iso
you need to open your luks partition before being able to mount it
cryptsetup open /dev/nvme0n1p7 root
mount /dev/mapper/root /mnt
What about swap
no
stop
Ok
umount -R /mnt
cryptsetup open /dev/nvme0n1p7 root
mount /dev/mapper/root /mnt
mount /dev/nvme0n1p5 /mnt/boot
arch-chroot /mnt
echo "cryptdevice=UUID=$(lsblk -dno UUID /dev/nvme0n1p7):root root=/dev/mapper/root rw" > /etc/cmdline.d/root.conf
exit
reboot
run these commands as exactly typed, double check a million times
Ok I've rebooted it
Hopefully this works
Same error
Typed exactly how you had it
Maybe its the laptop idk
cryptsetup open /dev/nvme0n1p7 root
mount /dev/mapper/root /mnt
mount /dev/nvme0n1p5 /mnt/boot
arch-chroot /mnt
cat /etc/cmdline.d/root.conf
run these in iso
and send output of the last command
... solved
#17640 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://media.discordapp.net/attachments/1377138685538992252/1394893287667667035/image.png?ex=6878771b&is=6877259b&hm=e490049052812fd977384de338fa0f0c0634c50ed75a6f5a00bc7c7a847ff278&=&format=webp&quality=lossless&width=628&height=122
Thank you
Sorry for taking up so much time
do this
[SOLVED]Can't get arch to show up in BIOS after install on new HP Omnibook Ultra Ryzen AI 9 HX 375