You are not logged in.

#1 2014-11-07 16:14:09

wagner-felix
Member
Registered: 2013-03-26
Posts: 11

New UEFI Motherboard but want to use Compatibility Mode for boot

Hello,

today I received my new motherboard and CPU, an ASRock Z97 Extreme4. It has UEFI but I want to use the Complatibility Mode for booting
which is enabled so I thought that I could leave the partitioning as is.

Here is my partitioning scheme:

/dev/sda
Number    Start        End            Size            FS    Flags
1             17.4kB     1049kB       1031kB                bios_grub
2             1049kB    16.1GB       16.1GB        xfs    raid
3             16.1GB    120GB        104GB                 raid

/dev/sdb
Number    Start        End            Size            FS    Flags
1             17.4kB     1049kB       1031kB                bios_grub
2             1049kB    16.1GB       16.1GB        xfs    raid
3             16.1GB    120GB        104GB                 raid

sd[a,b]2 ist / auf /dev/md126
sda[a,b]3 ist mein en
cryptetes home auf /dev/md125

Now if i use the live cd (not UEFI boot) I can mount /dev/md126 just fine. If I then chroot to the target system:

root@archiso ~ # arch-chroot /mnt /bin/bash[

and reinstall grub:

[root@archiso /]# grub-install --target=i386-pc --recheck --debug /dev/sda[
[root@archiso /]# grub-install --target=i386-pc --recheck --debug /dev/sdb[

and recreate the grub config

[root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg[

and recreate the image

[root@archiso /]# mkinicpio -p linux[

I thought I could boot the system again. Well tough luck, It does not boot, grub does not appear, instead I get:

Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key[

Do I have to use UEFI Boot? Or am I doing something wrong? Any help is appreciated!

PS: I did not reinstall the grub package nor any other package!

Offline

#2 2014-11-07 16:16:00

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,617
Website

Re: New UEFI Motherboard but want to use Compatibility Mode for boot

If you don't wanna use legacy mode, then yes, you need an EFI partition and to reinstall grub in efi  mode.  The wiki covers this.  Depending on the MB's BIOS, you may need to manually edit the boot menu therein.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2014-11-07 16:48:57

wagner-felix
Member
Registered: 2013-03-26
Posts: 11

Re: New UEFI Motherboard but want to use Compatibility Mode for boot

So lets say i have an additional ssd for windows, and say I reinstall windows with uefi boot, then I can use the directory created by the windows partition for the arch linux grub install?

Offline

#4 2014-11-07 21:24:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,617
Website

Re: New UEFI Motherboard but want to use Compatibility Mode for boot

If it is a FAT32 partition flagged as 'EFI System' (gdisk code EF00) then I don't see why not.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB