From owner-freebsd-questions Tue Feb 20 13:19:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id F3EC437B503 for ; Tue, 20 Feb 2001 13:19:24 -0800 (PST) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f1KLJIf03832; Wed, 21 Feb 2001 10:19:18 +1300 (NZDT) (envelope-from jonc) Date: Wed, 21 Feb 2001 10:19:18 +1300 From: Jonathan Chen To: Brad Watts Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Xwrapper Problem - Not able to log in due to corrupt /usr partiti on Message-ID: <20010221101918.A3337@itouchnz.itouch> References: <051686CF5E6CD211B8FC00A0C9D4CF4505C20DE9@exmail.corp.netcom.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <051686CF5E6CD211B8FC00A0C9D4CF4505C20DE9@exmail.corp.netcom.ca>; from bwatts@corp.attcanada.ca on Tue, Feb 20, 2001 at 04:13:04PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 20, 2001 at 04:13:04PM -0500, Brad Watts wrote: > Hi there, > > I have recently ufs mounted a new disk to my machine and ran dump, restore > in the following fashion: > > mount /dev/ad1s1a /mnt > dump 0af - /usr |(cd /mnt/usr;restore xf -) > > I edited /etc/fstab and changed the original /usr partition to point to my > newly imaged disk. After rebooting, I am unable to login through the > Xwrapper I installed. All users (even root) are listed in .Xauthority to > point to Window Maker. There is obviously something wrong with Window Maker > (the soft link to etc....) and as such I am unable to login. After entering > a correct user name and password at the Xwrapper prompt, the screen flickers > a bit and then goes back to a login prompt. My system is able to identify > invalid users / passwords. All I want to do is get a shell prompt so that I > can re-edit /etc/fstab and point the /usr partition to my original disk, > which was left untouched. What can I do?? Ahhh.... At the console Ctrl-Alt-F1 should get you to a getty which will let you login as root. Alternative reboot into single-user, and fix up your /etc/fstab file. -- Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message