Date: Wed, 21 Feb 2001 10:19:18 +1300 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: Brad Watts <bwatts@corp.attcanada.ca> 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> In-Reply-To: <051686CF5E6CD211B8FC00A0C9D4CF4505C20DE9@exmail.corp.netcom.ca>; from bwatts@corp.attcanada.ca on Tue, Feb 20, 2001 at 04:13:04PM -0500 References: <051686CF5E6CD211B8FC00A0C9D4CF4505C20DE9@exmail.corp.netcom.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz> ---------------------------------------------------------------------- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010221101918.A3337>