#cant install bootloader
311 messages · Page 1 of 1 (latest)
did you bootctl install?
yeah
that explains it
it didnt install
bootctl install --esp-path=/esp
please read logs
and also
please mount your boot partition to /boot or /efi, other mountpoints may? mess something up but im unsure
no such file or directory
sent the output of the mount command
show me lsblk
1G it must be, but then also, their OS isn't mounted
no it is, they are chrooted
oh they chrooted, okay lol
yeah so what step of the install are you on
didn't notice that sorry XD
WRONG PERSON
show me /etc/fstab
cat /etc/fstab
yeah this isnt going to boot
exit chroot
and show lsblk again after exiting chroot
i thought it reset
okay i assume that the 4G is SWAP correct?
yeppers
its not a bootloader problem you messed up other thing too
huh
mount /dev/sda3 /mnt
fuckk
no such file or directory
mount /dev/sda1 /mnt/boot
did i???
yeah the file is empty
genfstab -U /mnt >> /mnt/etc/fstab
this is empty
oml i thought i didnt need the arrows
show lsblk
holy shit im mentally ill
after mounting
yeah no, these pass the output to the /mnt/etc/fstab file
ok done
show lsblk and fstab
cat /etc/fstab
show me lsblk now
btw im not even doing this is on a actually pc this is a vm
because i felt bad abt using archinstall script
great now do this in order
rm /mnt/etc/fstabgenfstab -U /mnt >> /mnt/etc/fstab
cat /mnt/etc/fstab
i noticed
well you are learning
show me output of this
then, what kernel did you use? did you install the ucode for your cpu?
now we need to fix more things
which caused me not being mounted properlly which caused efi and system-md to not be installed
i obv got the ucode
im not dumb
its systemd
chroot in and do pacman -S linux amd/intel-ucode
they where alr installed
this should put the linux kernel, the ucode to the /boot dir and regenerate initramfs
yeah but did you let it reinstall?
obv
show ls /boot
great now bootctl install
put this in
timeout 4
console-mode max
editor no```
ok use the wiki and show me both configs after you are done
alr thats done and dusted
show these files
cat /boot/loader/entries/arch.conf
cat /boot/loader/loader.conf
other one is the exact same
as what you gave me
@coral meadow im gonna bootctl install
that ok?
ehh honestly
i might redo the install another day
i fucked it up alot, this is just a vm so il do redo it again learnign from this whole fuck fest
thanks though
yeah its wrong
i knew you would do that
im not trying to make tou feel dumb btw
ik its your first time
@plush pumice
are you here?
please dont delete it
you just need to correct the mistake
its a simple fix
you dont do bootctl install after editing the conf
😢
yeah tbf i coulda just continued it tomorow
yeah that was my point
since redoing the download woulda been faster
you are supposed to swap the xxxxxxxxx for the uuid of the root partition
no?
you just switch the xxxxx to the real partition uuid
and it would boot
that root=UUID=xxxx is telling the kernel where to find the root
you get the uuid by lsblk -f, its a long stream of characters
yeah you couldve just waited for my answer
guessed that
true true
but that would destroy the point
i did this because i felt too reliant on others for help on these kinda things
plus now i have shitloads to read to understand what this stuff even means
so its a win in my book
thanks though
GUESS WHATTT
yeah did u get it to boot?
no because i need to mount sda3 to fucking boot
i think
its saying not booted in container
why is sda3 mounted to both /mnt and / ? It should just be /
yeah I need unmount it
forgot how to though
are you in the iso?
cat /mnt/etc/fstab please
okay that's good
what bootloader are you using?
I'm confused, haven't you installed the OS?
okay, but on the vm, what isn't working?
bootloader install
what's the boot order for the vm?
okay if the iso is the first then that's what's going to load up each time, right?
so set the bootloader partition to be the first?
well im pretty sure the bootloader isnt even installed
what bootloader did you use?
im trying to get systemd-boot
since i despise grub
chroot and then do the commands
im in chroot lad
this was done from the iso, not from the chroot
😭
you weren't when you did those commands
not to be cheeky but
running in a chroot, enabling --graceful
im hoping that means in chroot right
right?
ahh fair, it looks like you're not from the red text prefix at the top
or is that you chrooting in?
it wont let me umount /mnt from the root partiton
doesnt exist
okay...think I know the issue, your vm is doing oldschool bios I think, not uefi
so you need to set up a vm that simulates uefi
yeah iv been trying to do that part
Installing the UEFI boot manager
To install systemd-boot, first make sure that the system is booted into UEFI mode and UEFI variables are accessible. This can be verified by running efivar --list or, if efivar is not installed, by running ls /sys/firmware/efi/efivars (if the directory exists, the system is booted into UEFI mode.)
what vm software are you using?
I usually use kvm, lets have a google
https://www.techbloat.com/how-to-turn-on-virtualbox-efi.html
try from step 3 onwards
Hello! It seems you've sent an empty message. How can I assist you today?
for reference I searched "virtualbox force uefi"
because, when we're stuck, it's superior to search instead of first ask questions 😛
I'm going for a walk, will try to check in afterwards if I can
started using arch-chroot -S /mnt
but when i put in bootctl --path-/boot install (because it couldnt find the boot partition)
it said it wasent on gpt partition table even though i made sure it was beforehand
i exited chroot and used gdisk
and got this
my goodness you suck at taking screenshots lol
had you mounted the efi partition to /boot?
(or from the iso, /mnt/boot)
it might be switching from bios to uefi has message things up somehow, you could always start again entirely, shold take no more than 10-15 mins now you know what you're doing
so, very quickly:
bios (basic input output system) was how to access a motherboards settings but got replaced several decades ago with UEFI( Unified Extensible Firmware Interface), these are not packages to be installed using your package manager, they lay below the operating system.
So, it's not a matter of installing bios or uefi, it's a question of what your board uses. Laptop less than 15 years old? It almost certainly uses UEFI. I would be shocked if it didn't.
ok so what software are you using for virtualization
if virtualbox then you have to tweak settings for it to boot
yeah they were on bios on virtual box, switches to uefi, but that seems to have somehow broken their partition table, so, my suggestion is they start again using uefi the entire way through, which shouldn't take long
bruh
well at least they got some practice lmao
I don't know the ins and outs of virtual box, but, yeah, okay, if that's kicking up a stink I can sort of understand why