You are not logged in.
Pages: 1
I dont get the boot option for arch after the install and i have no errorcodes so i will list the install prosess
(also system is UEFI)
i use cfdisk to partition
These to mount the partitions:
mount /dev/sda3 /mnt
mkdir -p /mnt/boot/efi
mount /dev/sda1 /mnt/boot/efi
swapon /dev/sda2
and last but not least grub for the boot mgr
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
i suspect that it doesnt recognize boot partition but i dont know why as i am fairly new to Arch
Offline
If the system is UEFI, why didn't you follow the UEFI instructions on the GRUB wiki page?
Offline
https://wiki.archlinux.org/title/GRUB#UEFI_systems
the install command you used is not the one required on uefi systems
Offline
sorry someone told me to do it this way. I guess i was miss informed
Offline
grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB and grub-install /dev/sda
do the same???
just one is explicitly spesifiying the location that the other one can find
also looking through the log of things i have tried i found that i have done the same as on the wiki with the same result
Offline
someone told me
who?
rule of thumb:
first: consult the wiki https://wiki.archlinux.org/title/Installation_guide
second: consult the bbs
2.1: use the search function before starting a new topic
if you can't find a solution after searching the wiki snd the forums - create a new topic
things to avoid:
- random youtube videos
- random sources other than the wiki, the bbs or for external software its official documentation
Offline
grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB and grub-install /dev/sda
do the same???
Why do you think they do the same thing? Doesn't "grub-install" invoke a scrip that is expecting certain parameters to be provided in a certain order?
In the first case, you are specifying 3 parameters; in the second case, only one. (And the one that you are providing doesn't make any sense. You are specifying a drive, not a mount point.)
also looking through the log of things i have tried i found that i have done the same as on the wiki with the same result
Please share the exact commands you used and the resulting feedback or error messages.
Cheers,
"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb
Online
Please share the exact commands you used and the resulting feedback or error messages.
did i not in the last post?
Last edited by as27 (2024-11-29 19:06:35)
Offline
as27 wrote:someone told me
who?
rule of thumb:
first: consult the wiki https://wiki.archlinux.org/title/Installation_guide
second: consult the bbs
2.1: use the search function before starting a new topic
if you can't find a solution after searching the wiki snd the forums - create a new topicthings to avoid:
- random youtube videos
- random sources other than the wiki, the bbs or for external software its official documentation
*_* im taking an education in IT it was my teacher
i also want to add the link for the official grub install manual and i would think espesialy dakota would find this interesting
https://www.gnu.org/software/grub/manua … 02dinstall
Last edited by as27 (2024-11-29 19:13:48)
Offline
I sure hope you didn't give the actual commands. If you actually used "--efi-directory=esp", the problem should be really obvious. Go back and read the section of the wiki again, don't just copy/paste commands.
Your teacher was giving you BIOS instructions, not UEFI. And out of date BIOS instructions. Hopefully either you or they misunderstood.
Offline
I sure hope you didn't give the actual commands. If you actually used "--efi-directory=esp", the problem should be really obvious. Go back and read the section of the wiki again, don't just copy/paste commands.
Your teacher was giving you BIOS instructions, not UEFI. And out of date BIOS instructions. Hopefully either you or they misunderstood.
no i copy pasted from wiki for this forum post i replaced esp with efi as it is the mounting point was i correct in doing so?
also my teacher was unsure of how to do it what im mostly refering to when i say my teacher told me is the other guy saying "random sources other than the wiki"
Last edited by as27 (2024-11-29 19:38:21)
Offline
After reading the wiki some more it should be boot not efi or /boot/efi am i right?
Last edited by as27 (2024-11-29 20:16:42)
Offline
Mount the EFI system partition and in the remainder of this section, substitute esp with its mount point.
So did you mount the ESP to /boot/efi ?
Random remarks:
- The BBS isn't authorative nor curated. You stand a decent chance that someone will catch it, but you still may receive bad advice here.
- Your teacher should probably move their ass here, because we're not running their class so it'll likely be helpful for the teacher to stop teaching nonsense that will only make all students show up to get their stuff fixed and ask questions that teacher should™ (yes, I know) be able to answer.
Offline
cryptearth wrote:as27 wrote:someone told me
who?
*_* im taking an education in IT it was my teacher
either your teacher is living in the past and last when they installed grub uefi wasn't a thing yet - or they're not qualified
it may sound harsh but have a look over at coderanch - the same beginner questions keep asked over and over and over again - to me it seems most "it students" don't even learn how to properly search for informations but waste google for just findibg the next forum and instead of giving the slightest thought to "maybe someone else had a similar issue?" the very first post has this "I'm the first in the universe who got this problem"
my teacher was unsure
well - what does he teach you? programmin/software engineering? or real IT starting with basics like Z1 in the 40's?
Offline
After reading the wiki some more it should be boot not efi or /boot/efi am i right?
The wiki wrote:Mount the EFI system partition and in the remainder of this section, substitute esp with its mount point.
So did you mount the ESP to /boot/efi ?
Yes i did "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB" and got the error "Could not prepare Boot variable: Invalid argument grub-install: error: efibootmgr failed to register the boot entry: Input/output error." and stopped because i was tired
- Your teacher should probably move their ass here, because we're not running their class so it'll likely be helpful for the teacher to stop teaching nonsense that will only make all students show up to get their stuff fixed and ask questions that teacher should™ (yes, I know) be able to answer.
well - what does he teach you? programmin/software engineering? or real IT starting with basics like Z1 in the 40's?
He doesnt teach linux in reality he's a development teacher and teaches things like html css js, python, sql and some managment (unsure of the translation) and he is the only one with some recent news about linux. the other teachers that actually teach linux and unix are oldheads that are too stuck up with the "good old days" to actually know about any recent tech (which is sad as this affecting my education). with that said he barely knows what Arch is and is only telling me what he knows so i can try and fail
I should add that the reason im doing this is because i have a intrest in Arch and want to get more proficient at linux so i am doing this as a sort of "self study" so none of my teachers is teaching in Arch as fun as it would be
Last edited by as27 (2024-11-29 21:35:10)
Offline
i did "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB" and got the error "Could not prepare Boot variable: Invalid argument grub-install: error: efibootmgr failed to register the boot entry: Input/output error."
That could be due to efivarfs not being mounted correctly, follow this advice to fix that: https://wiki.archlinux.org/title/Unifie … t_efivarfs
If efivarfs is mounted correctly then perhaps try deleting any old, unused NVRAM boot entries with the efibootmgr command.
Adding the --removable flag for the grub-install command should allow GRUB to start if there are no specific NVRAM entries at all (https://wiki.archlinux.org/title/GRUB#D … _boot_path).
Note that the UEFI grub-install command presumes the ESP is mounted under /boot/efi/ so you don't need to specify that.
Para todos todo, para nosotros nada
Offline
Thank you so much
Offline
Pages: 1