You are not logged in.
Pages: 1
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
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
I edited my question. I did set the boot flag.
Offline
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.
Offline
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 )))))). 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
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. 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.
Offline
I wish ))))) 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
PROBLEM SOLVED. I have an installed system.
Offline
PROBLEM SOLVED. I have an installed system.
Remember to mark the thread as [Solved]
Offline
How do I mark it?
Offline
Just edit the first post and put [Solved] in the title.
Offline
So how did you solve it?
Offline
Presumably by following the advice in reply #4
Offline
Pages: 1