You are not logged in.
Pages: 1
I'm trying to install Arch Linux for the second time. Apparently Universe doesn't want me to do it easily not even once...
So I've done everything that the wiki says, and when it comes to installing grub, I install grub, os-prober and efibootmgr
then I do:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub_uefi --recheck --debug
This step finishes without errors.
Then I try to detect the OSs and create a grub.cfg file that contains them with no success....
grub-mkconfig -o /boot/grub/grub.cfg
I haven't saved the output of the command but something between the lines is this...
It tries to run something that has to do with lvm (I think it said it's a module) and it can't find that module? Or something like that <---< I have no clue what that is, but by reading on the internet it's something that I've never messed with so... it's unlikely to have it
Then I get errors/warnings about sda3 partition which is the Microsoft Windows 8.1 Reserved partition... and something about not naming right my ufs partition? Or something like that
If I uninstall os-prober then the script runs without warnings but it still doesn't find the OS not even arch linux, cfg file contains zero entries.
When I boot from grub_uefi boot entry, I get the grub minimal console (Which I don't know how to operate or what to do with it)
And last but not least... A fix to that "grub bug" was to disable submenus (Read that In this forum). I did it, I disabled submenus and ran grub-mkconfig again but nothing changed.
I know the info is very vague but I hope that someone with knowledge can figure out what those errors are and why it can't find the oses....
Ty in advance
Offline
Please also post the output of:
# gdisk -l /dev/sda
Jin, Jîyan, Azadî
Offline
@TheSaint Yes, I chrooted into the installation...
@ Head_on_a_Stick, I'm not home right now but if you tell me what you want to see from that command, Maybe I can tell you by memory, I've run fdisk -l (Which I suspect shows a similar output) too many times so I've memorized my partitions.
I did solve the problem by using gummiboot instead of grub, but I'd still like to know why grub couldn't find the OSes... I'm VERY sure that I did all the steps of the installation right, I've memorized the steps AND I made sure to read them again before doing the installation.
Offline
@ Head_on_a_Stick, I'm not home right now but if you tell me what you want to see from that command
I wanted to see all the extant partitions with the partition type.
Jin, Jîyan, Azadî
Offline
I wanted to see all the extant partitions with the partition type.
/dev/sda1 windows recovery environment
/dev/sda2 efi system
/dev/sda3 Microsoft reserved
/dev/sda4 Microsoft basic data
...sda5 windows recovery environment
sda6 linux swap
Sda7 linux filesystem /
Sda8 linux filesystem - home
Sda9 Microsoft basic data..
Wrote the above on my phone and I lost patience...
Offline
Yeah don't worry about it -- if gummiboot works then the partition types were correct anyway: it must have been something else.
Jin, Jîyan, Azadî
Offline
but I'd still like to know why grub couldn't find the OSes
Then you may need to know the 3 point to reach your installation.
grub partition addressing (set root= and insmod part_type statements)
kernel command line
fstab mount point
If they're using UUID, check them up for coherence.
do it good first, it will be faster than do it twice the saint
Offline
I have thé exact same problem. If i want to use gummiboot rather than grub, do i need to do something with grub first (ie. Uninstall)?
Offline
No, they can coexist but it need to start by UEFI, I think.
do it good first, it will be faster than do it twice the saint
Offline
Hey guys, i had some trouble fixing this for myself. Current OS's Arch/Windows 8.1 with grub on SDA mbr. So i did following, under root, using nano, edited file /etc/grub.d/40_custom
menuentry "Windows 8.1" {
echo "Loading Windows 8.1 on /dev/sda2..."
insmod part_msdos
insmod ntfs
insmod search_fs_uuid
insmod ntldr
search --fs-uuid --no-floppy --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 2EFAC834FAC7F65D
ntldr /bootmgr
}
Then, configured grub again with
grub-mkconfig -o /boot/grub/grub.cfg
And it works, i'm not sure if there's easier way than this but keep in mind that "2EFAC834FAC7F65D" is partition uuid.
Ask for help if needed, cheers
Offline
Pages: 1