Date: Thu, 12 Jun 2008 21:53:44 -0400 From: Steve Bertrand <steve@ibctech.ca> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-questions@freebsd.org, Glenn Gillis <glenn@elaw.org> Subject: Re: Tried to symlink /etc to another disk, now stuck Message-ID: <4851D328.8060107@ibctech.ca> In-Reply-To: <20080613012029.GA16341@dan.emsphone.com> References: <84a992f30806121702r39f132a8y11f8e410221e132c@mail.gmail.com> <20080613012029.GA16341@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote: >> To make a long story shorter, is there any hope for getting a >> privileged user account on this machine to move /etc back to where it >> should be? > > It may be easiest to boot a live CD (FreeSBIE, or a FreeBSD-7 install > disc 1 should work), mount both of your hard drives from it, and put > /etc back where it belongs that way. This is a very good point, but in this case, if its only /etc that has been relocated, the system is at mountroot> because fstab can't be found. If the disk type is known, it is as simple as typing the appropriate location of the root fs at that prompt and the system will come up. Under single user, the OP would have full access to everything to revert the changes (perhaps other disk areas with binaries may have to be mounted manually as well)... I'm off to try it. I've got a system here with a da device. I'll fsck up /etc/fstab, reboot, and report back with the appropriate mountroot> prompt entry... Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4851D328.8060107>