You are not logged in.

#1 2012-02-07 03:11:09

geoffm
Member
Registered: 2012-01-15
Posts: 30

installing grub 2. lose network after chroot

I've been trying to install grub2 following  https://wiki.archlinux.org/index.php/GRUB2 .
right after chroot the wiki says to run pacman-db-upgrade then pacman Syy. Runing the later returns error messages, failed retrieving file...
if I do exit, I can run that command and it works fine. Seems like going into chroot makes me lose the network. Is there a way to recover it? I'm really stuck here...

Last edited by geoffm (2012-02-07 03:34:11)

Offline

#2 2012-02-08 22:01:41

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: installing grub 2. lose network after chroot

Try to cross-check the results of

ip addr 
ip route
cat /etc/resolv.conf

once before you enter chroot (i.e. after aif -p partial-configure-network) and once after you logged into the chroot.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#3 2012-02-09 01:58:37

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: installing grub 2. lose network after chroot

There is a typo in the wiki,
It is

cp /etc/resolv.conf /mnt/etc/resolv.conf

not

cp /etc/resolv.conf /tmp/install/resolv.conf

I was just getting the same error.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

Board footer

Powered by FluxBB