[gentoo-user] First Day with Gentoo
Gentlemen: I am working with the universal livecd. I untarred the stage3 tarball and had just gotten to section 6 where I chroot. After that, name resolution on the network ceased to work. I can ping by address. There is a valid /etc/resolv.conf. I rebooted from the cd, mounted the newly setup partition with its stage3 tarball as /mnt/gentoo. At that point, I can still ping by name. After the chroot, I only get an unknown host response from ping. Would someone be willing to give me a few clues what might be going on so I can understand? Charles -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] First Day with Gentoo
Hi Charles, These are from the xbox setup of Gentoo but it's pretty much identical: swapon /dev/hdax (Activate the swap partition) # mount /dev/hdax /mnt/gentoo(Mount the root partition) # mkdir /mnt/gentoo/boot (Create the boot mountpoint) # mount /dev/hdax /mnt/gentoo/boot (Mount the boot partition) # cd /mnt/gentoo (Go to the mountpoint) # links http://www.gentoo.org/main/en/mirrors.xml(or download the latest tarball...) # tar -xvjpf stageyour stage.tar.bz2(... and extract) (Select a mirror) # mirrorselect -i -o /mnt/gentoo/etc/make.conf (Copy over nameserver information) # cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf # mount -t proc none /mnt/gentoo/proc (Mount the proc filesystem) # chroot /mnt/gentoo /bin/bash (Chroot into the new environment) # env-update; source /etc/profile (Load the necessary variables) Any chance you missed the cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf step or possibly didn't have the right target address? I don't think it would effect it but any chance you missed the env-update;source step at the end? good luck, Mark On 5/11/05, cfk [EMAIL PROTECTED] wrote: Gentlemen: I am working with the universal livecd. I untarred the stage3 tarball and had just gotten to section 6 where I chroot. After that, name resolution on the network ceased to work. I can ping by address. There is a valid /etc/resolv.conf. I rebooted from the cd, mounted the newly setup partition with its stage3 tarball as /mnt/gentoo. At that point, I can still ping by name. After the chroot, I only get an unknown host response from ping. Would someone be willing to give me a few clues what might be going on so I can understand? Charles -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] First Day with Gentoo
On 5/11/05, cfk [EMAIL PROTECTED] wrote: Gentlemen: I am working with the universal livecd. I untarred the stage3 tarball and had just gotten to section 6 where I chroot. After that, name resolution on the network ceased to work. I can ping by address. There is a valid /etc/resolv.conf. I rebooted from the cd, mounted the newly setup partition with its stage3 tarball as /mnt/gentoo. At that point, I can still ping by name. After the chroot, I only get an unknown host response from ping. Would someone be willing to give me a few clues what might be going on so I can understand? Charles -- gentoo-user@gentoo.org mailing list Did you copy the /etc/resolv.conf file from the liveCD boot to the chroot directory structure. I believe the instruction is something like: cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf HTH, -Hani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] First Day with Gentoo
On 5/11/05, cfk [EMAIL PROTECTED] wrote: Dear Mark, Hani Andrew: Thank each one of you very much. I did miss the cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf step. Once I did that and then the chroot, an emerge ---sync is now working on many files. Get used to the 'many files' part. That's life with Gentoo! ;-) Glad it's working. - Mark -- gentoo-user@gentoo.org mailing list