You are not logged in.

#1 2015-11-18 17:13:10

ewchiefret
Member
Registered: 2015-11-18
Posts: 6

[SOLVED]Problem Installing Arch in UEFI

I am having difficulty buildingt an ARCH System. It won't boot after installing from the ARCH iso. It doesn't recognize the boot media.

I followed the Beginer's Guide and I don't think I missed anything. I used parted to create the following partition tables:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111.8G  0 disk
├─sda1   8:1    0   512M  0 part /mnt/boot
├─sda2   8:2    0 110.5G  0 part /mnt
└─sda3   8:3    0   809M  0 part [SWAP]
sdb      8:16   0 931.5G  0 disk
└─sdb1   8:17   0 931.5G  0 part /mnt/home

Both are gpt tables (mklabel gpt). Sda1 was created as follows:

    mkpart ESP fat32 1MiB 513MiB
        set 1 boot on

sda2 and sdb1 were created with mkpart ext4

sda3 was created as follows:

    mkpart linux-swap

I formatted and mounted as follows:

    Formatting:

        mkfs.fat _F32 /dev/sda1

        mkfs.ext4 /dev/sda2

        mkswap /dev/sda3

        mkfs.ext4 /dev/sdb1

    Mounting:

        mount /dev/sda2 /mnt

        mkdir -p /mnt/boot
        mount /dev/sda1 /mnt/boot

        mkdir -p /mnt/home
        mount /dev/sdb1 /mnt/home

I installed the base packages (all of them)

I then configured fstab

Then I did a arch-chroot /mnt /bin/bash command

I set the locale, and time

I installed bootctl. Should I have installed a different loader here?

It says next to create a boot entry in /boot/loader/entries/arch.conf, replacing /dev/sda2 with the root partion. I did not do this since sda2 is the root partition. I assumed the file already existed with the correct entry. Does it exist or do I have to create it say by using nano? And do I have to modify /boot/loader/loader.conf as shown? I'm thinking this is where I may have gone wrong by not creating arch.conf.

Finally I set the hostname, enabled the dhcpcd service. Enp3s0 is my router. I assume I use it's name? Then I set the passwd and exited the chroot environment and rebooted.

Some advice would be appreciated at this moment. There were other glitches before getting this far that I was able to fix but I'm stumped on this at this point.

Last edited by ewchiefret (2015-11-19 11:27:27)

Offline

#2 2015-11-18 17:34:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,349

Re: [SOLVED]Problem Installing Arch in UEFI

You did not mention the part about setting bootable flag on  /dev/sda1


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2015-11-18 19:08:15

ewchiefret
Member
Registered: 2015-11-18
Posts: 6

Re: [SOLVED]Problem Installing Arch in UEFI

I edited my question. I did set the boot flag.

Offline

#4 2015-11-18 19:55:25

Fuxino
Member
From: Slovakia
Registered: 2014-09-26
Posts: 198

Re: [SOLVED]Problem Installing Arch in UEFI

ewchiefret wrote:

I installed bootctl. Should I have installed a different loader here?

That's up to you. Bootctl (systemd-boot) is fine.

It says next to create a boot entry in /boot/loader/entries/arch.conf, replacing /dev/sda2 with the root partion. I did not do this since sda2 is the root partition. I assumed the file already existed with the correct entry. Does it exist or do I have to create it say by using nano?

As it says in the Beginner's Guide, you have to create the boot entry. It specifies "replacing /dev/sda2" so that one does not blindly copy the example.


Arch + XMonad

Dotfiles: https://github.com/Fuxino/dotfiles

Offline

#5 2015-11-18 20:44:18

ewchiefret
Member
Registered: 2015-11-18
Posts: 6

Re: [SOLVED]Problem Installing Arch in UEFI

Thanks mate. I'm doing this all on one computer, so when I try again I will create arch.conf as it says. I'm learning this on the fly more or less so I will have to look up arch.conf to see what it does. I built from scratch a long time ago with the eraly days of CLI Red Hat. Forgot most of what I learned, to complacent with GUI's smile)))))). I have Wiley's Bible 10th edition if I get in trouble. Im running Netrunner Rolling latest right now, but I am bored not being under the hood.

Offline

#6 2015-11-18 21:01:15

Fuxino
Member
From: Slovakia
Registered: 2014-09-26
Posts: 198

Re: [SOLVED]Problem Installing Arch in UEFI

ewchiefret wrote:

Thanks mate. I'm doing this all on one computer, so when I try again I will create arch.conf as it says.

You're welcome. smile But you don't need to try again from scratch, I think you can just boot from the installation media, create the arch.conf entry and reboot. smile


Arch + XMonad

Dotfiles: https://github.com/Fuxino/dotfiles

Offline

#7 2015-11-18 21:12:34

ewchiefret
Member
Registered: 2015-11-18
Posts: 6

Re: [SOLVED]Problem Installing Arch in UEFI

I wish smile))))) I have to start from scratch because I'm running Netrunner on the same computer I want to install Arch on and I don't have it set for dual boot.

Offline

#8 2015-11-19 09:01:25

ewchiefret
Member
Registered: 2015-11-18
Posts: 6

Re: [SOLVED]Problem Installing Arch in UEFI

PROBLEM SOLVED. I have an installed system.

Offline

#9 2015-11-19 09:53:42

Fuxino
Member
From: Slovakia
Registered: 2014-09-26
Posts: 198

Re: [SOLVED]Problem Installing Arch in UEFI

ewchiefret wrote:

PROBLEM SOLVED. I have an installed system.

Remember to mark the thread as [Solved] smile


Arch + XMonad

Dotfiles: https://github.com/Fuxino/dotfiles

Offline

#10 2015-11-19 11:19:42

ewchiefret
Member
Registered: 2015-11-18
Posts: 6

Re: [SOLVED]Problem Installing Arch in UEFI

How do I mark it?

Offline

#11 2015-11-19 11:25:55

Fuxino
Member
From: Slovakia
Registered: 2014-09-26
Posts: 198

Re: [SOLVED]Problem Installing Arch in UEFI

Just edit the first post and put [Solved] in the title.


Arch + XMonad

Dotfiles: https://github.com/Fuxino/dotfiles

Offline

#12 2015-11-30 01:56:23

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 303
Website

Re: [SOLVED]Problem Installing Arch in UEFI

So how did you solve it?

Offline

#13 2015-11-30 17:57:58

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: [SOLVED]Problem Installing Arch in UEFI

Presumably by following the advice in reply #4

Offline

Board footer

Powered by FluxBB