[arch-general] Having trouble understanding UEFI booting
I've been trying to install archlinux on my Lenovo B50-70 laptop and got stuck installing grub boot loader inconjunction with UEFI. Either I'm miss understanding the wiki pages on the subject and/or the wiki pages could do with a bit more clarity. I'm dual booting arch and windows 8.1, previously I had ubuntu 14.04 but when I upgraded to 15.04 it got too messed up so I decided to bite the bullet and go with arch. The disk is currently split into 11 partitions part size code name 1 1 gb 2700 Basic data partion windows or lenovo 2 260mb EF00 EFI system partition 3 1 gb ED01 Basic data partion windows or lenovo 4 128mb 0C01 Microsoft reserved 5 71gb 0700 Basic data partion windows system 6 25gb 0700 Basic data partion windows or lenovo 7 14gb 2700 Basic data partion windows or lenovo 8 153gb 0700 shared NTFS data partition 9 78gb 8304 Linux / 'root' partition 10 9 gb 8200 swap 11 108gb 8302 /home when installing I have only used partitions 9, 10 & 11. partitions 1 - 8 were on the disc from the windows pre-install and shrunk to make way for linux. A recent operation is affecting my concentration and comprehension so be kind please. mick
I don't think I have the knowledge to solve your problem, but what is the problem you are having? So far you have just described your partition scheme and that you are stuck somewhere. Which wiki page are you referring to? On Wed, Aug 26, 2015 at 10:17 PM, mick <bareman@tpg.com.au> wrote:
I've been trying to install archlinux on my Lenovo B50-70 laptop and got stuck installing grub boot loader inconjunction with UEFI.
Either I'm miss understanding the wiki pages on the subject and/or the wiki pages could do with a bit more clarity.
I'm dual booting arch and windows 8.1, previously I had ubuntu 14.04 but when I upgraded to 15.04 it got too messed up so I decided to bite the bullet and go with arch.
The disk is currently split into 11 partitions part size code name 1 1 gb 2700 Basic data partion windows or lenovo 2 260mb EF00 EFI system partition 3 1 gb ED01 Basic data partion windows or lenovo 4 128mb 0C01 Microsoft reserved 5 71gb 0700 Basic data partion windows system 6 25gb 0700 Basic data partion windows or lenovo 7 14gb 2700 Basic data partion windows or lenovo 8 153gb 0700 shared NTFS data partition 9 78gb 8304 Linux / 'root' partition 10 9 gb 8200 swap 11 108gb 8302 /home
when installing I have only used partitions 9, 10 & 11. partitions 1 - 8 were on the disc from the windows pre-install and shrunk to make way for linux.
A recent operation is affecting my concentration and comprehension so be kind please.
mick
On Wed, 26 Aug 2015 23:50:19 -0400 Ian <ian.ninjabadger@gmail.com> wrote:
I don't think I have the knowledge to solve your problem, but what is the problem you are having? So far you have just described your partition scheme and that you are stuck somewhere.
Which wiki page are you referring to?
Sorry, was up til 3am try to work it out. wiki pages: Installation guide and beginners guide and chasing down the links for bootloaders > grub > ... the final symptom is a failure by grub-install to write x86_64.efi or very similar name. from what I've looked at this morning I suspect it may relate to not having mounted the EFI system partition but I've confused myself so much I'm not sure and thought it better to reach out rather than blunder about and do more damage.
On Wed, Aug 26, 2015 at 10:17 PM, mick <bareman@tpg.com.au> wrote:
I've been trying to install archlinux on my Lenovo B50-70 laptop and got stuck installing grub boot loader inconjunction with UEFI.
Either I'm miss understanding the wiki pages on the subject and/or the wiki pages could do with a bit more clarity.
I'm dual booting arch and windows 8.1, previously I had ubuntu 14.04 but when I upgraded to 15.04 it got too messed up so I decided to bite the bullet and go with arch.
The disk is currently split into 11 partitions part size code name 1 1 gb 2700 Basic data partion windows or lenovo 2 260mb EF00 EFI system partition 3 1 gb ED01 Basic data partion windows or lenovo 4 128mb 0C01 Microsoft reserved 5 71gb 0700 Basic data partion windows system 6 25gb 0700 Basic data partion windows or lenovo 7 14gb 2700 Basic data partion windows or lenovo 8 153gb 0700 shared NTFS data partition 9 78gb 8304 Linux / 'root' partition 10 9 gb 8200 swap 11 108gb 8302 /home
when installing I have only used partitions 9, 10 & 11. partitions 1 - 8 were on the disc from the windows pre-install and shrunk to make way for linux.
A recent operation is affecting my concentration and comprehension so be kind please.
mick
I never bothered with grub on EFI, especially now that a UEFI boot loader comes bundled into systemd. So why bother installing another one, especially considering that managing grub is way more complex since it handles all the cruft necessary to boot on BIOS that is no longer necessary on EFI? "bootctl install" will get sd-boot installed and you will only need to check /boot/loader/entries to make sure it detected all Linuxes properly. Windows is auto-detected and does not even need an entry. Best Regards, Tobias Am 27.08.2015 06:19 schrieb "mick" <bareman@tpg.com.au>:
On Wed, 26 Aug 2015 23:50:19 -0400 Ian <ian.ninjabadger@gmail.com> wrote:
I don't think I have the knowledge to solve your problem, but what is the problem you are having? So far you have just described your partition scheme and that you are stuck somewhere.
Which wiki page are you referring to?
Sorry, was up til 3am try to work it out.
wiki pages:
Installation guide and beginners guide and chasing down the links for bootloaders > grub > ...
the final symptom is a failure by grub-install to write x86_64.efi or very similar name.
from what I've looked at this morning I suspect it may relate to not having mounted the EFI system partition but I've confused myself so much I'm not sure and thought it better to reach out rather than blunder about and do more damage.
On Wed, Aug 26, 2015 at 10:17 PM, mick <bareman@tpg.com.au> wrote:
I've been trying to install archlinux on my Lenovo B50-70 laptop and
stuck installing grub boot loader inconjunction with UEFI.
Either I'm miss understanding the wiki pages on the subject and/or the wiki pages could do with a bit more clarity.
I'm dual booting arch and windows 8.1, previously I had ubuntu 14.04 but when I upgraded to 15.04 it got too messed up so I decided to bite the bullet and go with arch.
The disk is currently split into 11 partitions part size code name 1 1 gb 2700 Basic data partion windows or lenovo 2 260mb EF00 EFI system partition 3 1 gb ED01 Basic data partion windows or lenovo 4 128mb 0C01 Microsoft reserved 5 71gb 0700 Basic data partion windows system 6 25gb 0700 Basic data partion windows or lenovo 7 14gb 2700 Basic data partion windows or lenovo 8 153gb 0700 shared NTFS data
9 78gb 8304 Linux / 'root'
got partition partition
10 9 gb 8200 swap 11 108gb 8302 /home
when installing I have only used partitions 9, 10 & 11. partitions 1 - 8 were on the disc from the windows pre-install and shrunk to make way for linux.
A recent operation is affecting my concentration and comprehension so be kind please.
mick
On Wed, Aug 26, 2015, at 10:17 PM, mick wrote:
The disk is currently split into 11 partitions part size code name [...] 2 260mb EF00 EFI system partition [...] when installing I have only used partitions 9, 10 & 11. partitions 1 - 8 were on the disc from the windows pre-install and shrunk to make way for linux.
If you didn't mount your ESP (EFI System Partition), then that's why your installation failed. You need to mount the partition of type EF00 (EFI System Partition) on /boot. By the looks of it, it's your second partition (if your drive is /dev/sda, then most likely /dev/sda2). Follow this after you have the partition mounted correctly: https://wiki.archlinux.org/index.php/Systemd-boot#EFI_boot Unless you really need GRUB, you should use bootctl.
On Fri, 28 Aug 2015 18:57:10 -0400 Christian Demsar <vixsomnis@vczf.io> wrote:
On Wed, Aug 26, 2015, at 10:17 PM, mick wrote:
The disk is currently split into 11 partitions part size code name [...] 2 260mb EF00 EFI system partition [...] when installing I have only used partitions 9, 10 & 11. partitions 1 - 8 were on the disc from the windows pre-install and shrunk to make way for linux.
If you didn't mount your ESP (EFI System Partition), then that's why your installation failed.
You need to mount the partition of type EF00 (EFI System Partition) on /boot. By the looks of it, it's your second partition (if your drive is /dev/sda, then most likely /dev/sda2).
Follow this after you have the partition mounted correctly: https://wiki.archlinux.org/index.php/Systemd-boot#EFI_boot
Unless you really need GRUB, you should use bootctl.
the original grub was a big advance for its time but has now it has thrown away its greatest advantage over lilo (open the grub.cfg, edit, save reboot - no compiling the config). NowI hate it. Many thanks to Tobias,Maxwell & Christian, I have now sorted it out. The key mistake was not mounting the ESP partition. For myself, I found the instructions were not as clear as they could be. Perhaps someone who knows better than I could look at them with a critical eye. mick
On 29-08-2015 02:24, mick wrote:
the original grub was a big advance for its time but has now it has thrown away its greatest advantage over lilo (open the grub.cfg, edit, save reboot - no compiling the config). NowI hate it.
You are not required to use grub-mkconfig, you can still edit grub.cfg by hand as so far nothing runs grub-mkconfig automatically. -- Mauro Santos
participants (5)
-
Christian Demsar
-
Ian
-
Mauro Santos
-
mick
-
Tobias Hunger