You are not logged in.
Hi guys.
I installed Arch few weeks ago.suddenly I decided to install windows 8.1 dual boot with arch.after installed windows , arch didn't appear on boot menu.so I try to fix it.
I install again grub but I stuck in this level.
on running
# grub-install /dev/sda
i get the output :
/usr/sbin/grub-bios-setup: warning : this GPT partition label contains no BIOS boot Partition; embedding wont be possible
/usr/sbin/grub-bios-setup: warning : Embedding id not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-bios-setup: error : will not proceed with blocklists
what should i do now??
This is my windows partitions.
http://www.pasteall.org/pic/79360
Last edited by tazik (2014-11-05 18:07:43)
Offline
Specifiy the target attribute and the efi directory attribute as well ...refer the grub article in archwiki...
https://wiki.archlinux.org/index.php/GR … ion_method
Also make sure you've booted up in efi mode through bios and not as legacy bios..(although i really don't think it matters. Just write the grub-install command properly)
Last edited by nskool (2014-11-05 18:35:08)
I'm ready to learn anything good that you're ready to teach me:)
Offline
Not an Installation issue, moving to NC...
Offline
Specifiy the target attribute and the efi directory attribute as well ...refer the grub article in archwiki...
https://wiki.archlinux.org/index.php/GR … ion_method
Also make sure you've booted up in efi mode through bios and not as legacy bios..(although i really don't think it matters. Just write the grub-install command properly)
dude , I just use this :
mount /dev/sda5/ /mnt #sda5 is root
mount /dev/sda2 /mnt/boot/efi #sda2 is EFI partition
# grub-install --target=x86_64-efi --efi-directory=$esp --bootloader-id=arch_grub --recheck --debug
Its enough ?
Offline
Not an Installation issue, moving to NC...
What does mean?
Offline
nskool wrote:Specifiy the target attribute and the efi directory attribute as well ...refer the grub article in archwiki...
https://wiki.archlinux.org/index.php/GR … ion_method
Also make sure you've booted up in efi mode through bios and not as legacy bios..(although i really don't think it matters. Just write the grub-install command properly)dude , I just use this :
mount /dev/sda5/ /mnt #sda5 is root
mount /dev/sda2 /mnt/boot/efi #sda2 is EFI partition
# grub-install --target=x86_64-efi --efi-directory=$esp --bootloader-id=arch_grub --recheck --debugIts enough ?
Yeah that should be enough... I don't understand? Have you tried it or not?
$esp is your efi mount point.... In this case $esp = /boot/efi
(assuming you've chrooted into /mnt)
I'm ready to learn anything good that you're ready to teach me:)
Offline
jasonwryan wrote:Not an Installation issue, moving to NC...
What does mean?
It's a comment by a moderator/admin... That this thread has been moved to NC.. Newbie Corner, as this is not an installation issue.
I'm ready to learn anything good that you're ready to teach me:)
Offline
tazik wrote:nskool wrote:Specifiy the target attribute and the efi directory attribute as well ...refer the grub article in archwiki...
https://wiki.archlinux.org/index.php/GR … ion_method
Also make sure you've booted up in efi mode through bios and not as legacy bios..(although i really don't think it matters. Just write the grub-install command properly)dude , I just use this :
mount /dev/sda5/ /mnt #sda5 is root
mount /dev/sda2 /mnt/boot/efi #sda2 is EFI partition
# grub-install --target=x86_64-efi --efi-directory=$esp --bootloader-id=arch_grub --recheck --debugIts enough ?
Yeah that should be enough... I don't understand? Have you tried it or not?
$esp is your efi mount point.... In this case $esp = /boot/efi
(assuming you've chrooted into /mnt)
Dude i pass away of this but stuck here:
Efi variables not supported on this machine.
I leaved chroot and run this command :
Efivar-tester
Efi variables not supported on this machine.
Then
Modprobe efivars
modprobe:FATAL:module efivars not fond
What can I do?
Offline
I don't know what should be done. Probably you've not properly booted into efi or something like that. Your Windows screenshot does show that you have an efi partition. Anyone can help here?
I'm ready to learn anything good that you're ready to teach me:)
Offline
Anybody can't help me?what can i do?
Offline
Then
Modprobe efivars modprobe:FATAL:module efivars not fondWhat can I do?
A little Google will take you a long way: https://unix.stackexchange.com/question … his-system
Also, there are [ code ] tags for code.
In addition, there's no need to endlessly bump. We will get back to you if we have anything.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
tazik wrote:Then
Modprobe efivars modprobe:FATAL:module efivars not fondWhat can I do?
A little Google will take you a long way: https://unix.stackexchange.com/question … his-system
Also, there are [ code ] tags for code.
In addition, there's no need to endlessly bump. We will get back to you if we have anything.
buddy .I saw that link before and I know efivars kernel module was not loaded.
As I wrote above ,at firs I exited from chroot then I executed:
modprobe efivarsbut I got answer this error :
modprobe:FATAL:module efivars not fond
why?How can I load efivars kernel module?
Offline
Either you have not booted the install media in EFI (I'd bet on that) or your target drive is using MBR. If it's the latter just make it us GPT using gdisk. If it's the former simply reboot properly.
Offline
I'm not a Archlinux expert but... have you boot in EFI mode with your CD / USB?
Unless you do that you cannot install grub or any bootloader using EFI.
And, once you do that you need to create the partitions acordly (you need to have an special partition with ef00 filesystem, mkfs.fat -F32 /dev/sda1 (for example)).
Please, let us know how it goes. The best guide is the beguinners guide ![]()
Regards,
TheArcher
Offline
I'm not a Archlinux expert but... have you boot in EFI mode with your CD / USB?
Unless you do that you cannot install grub or any bootloader using EFI.
And, once you do that you need to create the partitions acordly (you need to have an special partition with ef00 filesystem, mkfs.fat -F32 /dev/sda1 (for example)).
Please, let us know how it goes. The best guide is the beguinners guide
Regards,
TheArcher
Yes ,I have booted in EFI mode with my USB.
look my windows partition:
http://www.pasteall.org/pic/79360
this is my Fdisk command and efivar-tester:
http://www.pasteall.org/pic/79454
there are 3 partition for my Windows :
1 - recovery partition = 300 mb
2- efi system = 100 mb
3 - C drive = 99 gb
Your Opinion is I create another Partition?If I do then you don't think that my windows doesn't start again?
I want repair my boot grub in this way:
at first I boot my system in EFI USB mode.
2 = mount /dev/sda5 /mnt # sda5 is arch root
3 = mkdir -p /mnt/boot /efi
4 = mount /dev/sda2 /mnt/boot/efi # sda2 is my EFI Windows partition
5 = genfstab -p /mnt >> /mnt/etc/fstab
6= arch-chroot /mnt
7 = mkinitcpio -p linux
8 = pacman -Syu grub efibootmgr
9 = grub-mkconfig -o /boot/grub/grub.cfg
10 = esp=/boot/efi
11 = grub-install --target=x86_64-efi --efi-directory=$esp --bootloader-id=arch_grub --recheck --debugall Steps are correct?
then why i stuck here ?
Last edited by tazik (2014-11-07 12:06:20)
Offline
Either you have not booted the install media in EFI (I'd bet on that) or your target drive is using MBR. If it's the latter just make it us GPT using gdisk. If it's the former simply reboot properly.
how can i see my target drive is using MBR?I installed windows 8.1
http://www.pasteall.org/pic/79360
according this picture I use efi partition.isn't it?
this is my Fdisk command and efivar-tester:
http://www.pasteall.org/pic/79454
Last edited by tazik (2014-11-07 12:06:31)
Offline
I'm quite sure you didn't boot using the UEFI mode, it's a little bit tricky sometimes but normally, when you press F11 (in my case) to choose boot you have two options for the device, one that said UEFI and the other that does not say anything...
If you boot with the UEFI one, the efivar command should show you a lot of variables output.
Regards,
TheArcher
Offline
Check if you're booted in Efi mode by running "efivars -l". Stop using fdisk for efi installation. Fdisk is ment for MBR. Use gdisk which just implements EFI/GPT features in fdisk. gdisk will print whatever the drives use.
Offline
Check if you're booted in Efi mode by running "efivars -l". Stop using fdisk for efi installation. Fdisk is ment for MBR. Use gdisk which just implements EFI/GPT features in fdisk. gdisk will print whatever the drives use.
And use the Wiki guide: https://wiki.archlinux.org/index.php/be … oning_tool ![]()
Regards,
TheArcher
Offline
I'm quite sure you didn't boot using the UEFI mode, it's a little bit tricky sometimes but normally, when you press F11 (in my case) to choose boot you have two options for the device, one that said UEFI and the other that does not say anything...
If you boot with the UEFI one, the efivar command should show you a lot of variables output.
Regards,
TheArcher
I'm sure . Look
http://www.pasteall.org/pic/79456
http://www.pasteall.org/pic/79457
and then fdisk & efivat-tester & modprob efivars :
http://www.pasteall.org/pic/79458
Offline
Cool, then follow the guide that recommends you to use cgdisk instead of fdisk ![]()
Using cgdisk to create GPT partitions
Launch cgdisk with:
# cgdisk /dev/sda
Regards,
TheArcher
Offline
Cool, then follow the guide that recommends you to use cgdisk instead of fdisk
Using cgdisk to create GPT partitions
Launch cgdisk with:
# cgdisk /dev/sda
Regards,
TheArcher
dude Which partition should I change?
Offline
As I said, I'm not expert to be honest.
In my computer, that does not have Windows at all, I have:
/dev/sda1 -> 1000M with ef00 (boot)
/dev/sda2 -> 50G with 8300 (root)
/dev/sda3 -> 375G with 8300 (home)
/dev/sda4 -> 20G with 8200 (swap)
All created with cgdisk (needs to be cgdisk to create the GPT partitions)
So, after doing the installation I installed gummiboot replacing $esp with /boot and choosing Linux Boot System on my Bios
I just followed the beginners guide on the ArchWiki ![]()
I hope it helps ![]()
Regards,
TheArcher
Last edited by thearcherblog (2014-11-07 13:18:18)
Offline
<snip>
All created with cfdisk (needs to be cfdisk to create the GPT partitions)
<snip>
It's actually cgdisk, and doesn't have to be cgdisk. Cgdisk is just a gdisk with a curses interface. Iused gdisk and it worked perfectly.
Offline
Cool then (sorry for the "f", too close on my keyboard XD)
Just mark the thread as solved editing your first post ![]()
Regards,
TheArcher
Offline