You are not logged in.
Pages: 1
Let me describe all the commands, so you can check I didn't skip anything important.
Before anything, with gparted (live), I've made sda8 for swap and sda10 as root fs "/". And I already had sda1 as ESP/EFI partition.
The problem is on the last line:
loadkeys us-acentos
wifi-menu
ping -c 3 www.google.com
mkswap /dev/sda8
swapon /dev/sda8
mount /dev/sda10 /mnt
mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot
pacstrap -i /mnt base base-devel
...wait
genfstab -U -p /mnt >> /mnt/etc/fstab
cat /mnt/etc/fstab
...seems ok, it has boot, swap and root fs mounted.
arch-chroot /mnt /bin/bash
... "ERROR: failed to setup resolv.conf" ? file wasn't in /etc, only fstab there. And I checked my connection was still active. So? Any Ideas?
Then I tried with these steps at the wiki but I got errors about /bin/bash not there, tried copying it from "/usr/bin" to "/mnt/bin" but it still didn't work. So I turned off the pc and forgot about arch linux :( ... But I'll retry in a few days, if you point any ideas!
thx in advance for reading up my post.
Offline
Just an idea, but have you tried
cp /etc/resolv.conf /mnt/etc/resolv.confThere seems to be a recent commit to support chroots without /etc/resolv.conf link
Last edited by linoge (2015-07-19 08:41:17)
Offline
You haven't mounted your root partition to /mnt.
Offline
You ran pacstrap with -i. I suspect you messed up something there. Run it without to have pacstrap automatically not mess up things for you.
You haven't mounted your root partition to /mnt.
What is sda10, then?
Offline
There seems to be a recent commit to support chroots without /etc/resolv.conf link
I might try that. OR running pacstrap without -i
Thx everyone for trying to help
Offline
Pages: 1