Steve Bertrand wrote, On 6/12/2008 7:09 PM:
Steve Bertrand wrote:
Dan Nelson wrote:
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...
# cat /etc/fstab
# Device
I think I did just about the worst thing I could do to my
organization's FreeBSD-4.11 email server today:
I was trying to free up space on the root disk and attempted to copy
the /etc directory to another disk, /new/etc, then delete and symlink
the old location to the new:
$ sudo cp -Rp /etc
Glenn Gillis wrote:
Now, I cannot log in as a privileged user to copy or move /new/etc
back to /etc. (Because the password files were also in /etc.) I've
tried booting into Single User mode with boot -s at the boot prompt,
only to receive a mountroot prompt wanting to know where to find
the
In the last episode (Jun 12), Glenn Gillis said:
I think I did just about the worst thing I could do to my
organization's FreeBSD-4.11 email server today:
I was trying to free up space on the root disk and attempted to copy
the /etc directory to another disk, /new/etc, then delete and
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,
Steve Bertrand wrote:
Dan Nelson wrote:
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...
# cat /etc/fstab
# DeviceMountpoint FStype Options Dump
Pass#
To the OP...if you know what your disk type is, you CAN get it to
continue to mount root at the mountroot prompt.
Furthering that, you can also fsck and mount your other disk mountpoints
in order to gain access to your editing binaries.
I'm sorry to reply to my own posts, but I'd like to
Steve Bertrand wrote:
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.
I don't remember about FreeBSD 4, but last time I dealt with a broken
fstab on FreeBSD 6 I could just press tab to get a list of