From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DzH9K-0006NA-J5 for garchives@archives.gentoo.org; Sun, 31 Jul 2005 16:58:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6VGvlqq019264; Sun, 31 Jul 2005 16:57:47 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6VGpYRA030344 for ; Sun, 31 Jul 2005 16:51:34 GMT Received: by wproxy.gmail.com with SMTP id i6so941645wra for ; Sun, 31 Jul 2005 09:51:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RkUfCP83wouCHa5DanpwF3NAXYavn6WYAr2FpiRs0OMhbSDOk0ze/pzrwYg7YO1hmi6MTl1GE1jmM3I2Zi43QOCtJgUEmIeTJ0tS9Ba2ZFrCUib13iwEauA/UGswqJ4c6J3RA0uOhBu7Bo9/lOQWXVC26NUNOKSON3Xrb6YzAxc= Received: by 10.54.27.5 with SMTP id a5mr1673856wra; Sun, 31 Jul 2005 09:51:34 -0700 (PDT) Received: by 10.54.109.8 with HTTP; Sun, 31 Jul 2005 09:51:34 -0700 (PDT) Message-ID: <433292610507310951186d7eca@mail.gmail.com> Date: Mon, 1 Aug 2005 01:51:34 +0900 From: Andrew Randles To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problem with doing a system restore In-Reply-To: <42ECEBC8.6060003@asmallpond.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <433292610507310619537138b7@mail.gmail.com> <42ECEBC8.6060003@asmallpond.org> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j6VGpYRA030344 X-Archives-Salt: 6ab1a7ec-bdab-4890-bf40-3a66a50c5991 X-Archives-Hash: 1afcb50b7664013577b27455255fccb5 Thanks your reply helped me a lot. That was exactly what I needed. It turns out there are important files in /dev/ that are not dynamically generated. Thanks again, Andrew On 8/1/05, Richard Fish wrote: > Andrew Randles wrote: > > >Hi everyone I was hoping someone would have suggestion for me. > > > >My hard drive was going bad so I bought a new one and put it in. > >Instead of doing a complete reinstall I used dar and a usb harddrive > >to do a backup of the system. I then used a gentoo live cd (2004.2 or > >3) and to get everything setup and copied over. That worked well and > >up until I had to chroot in and take care of the grub setup. > > > >I keep getting glibc errors with "symbol erron" when I try to run > >env-update, ls or emerge commands. > > > >When I run grub root (hd0,0) it says no such drive or device. My > >/dev/ folder in the chrooted environment is empty. > > > >The system is a 2.6 kernel with 2.6 headers. I wonder if maybe I need > >an updated cd. > > > >Does anyone else have anymore ideas. > > > > > > A couple of more steps may be necessary before the chroot. Assuming > that your root is mounted on /mnt/root: > > cd /mnt/root > mount --bind /dev dev > mount --bind /proc proc > mount --bind /sys sys > chroot ./ ./bin/bash > mount -a # only if /boot is a separate filesystem > grub-install /dev/hda > umount -a # only if /boot is a separate filesystem > exit > umount dev > umount proc > umount sys > cd .. > umount root > > HTH, > > -Richard > > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list