On Mon, Jan 18, 2010 at 01:14:53PM +0100, Manuel Giraud wrote: > "Brad Tilley" <b...@16systems.com> writes: > > > Not sure I understand, but I have similar softraid crypto setups and > > there's no need to boot bsd.rd to edit /etc/fstab. When booting bsd or > > bsd.mp and you are dumped to sh to run bioctl, use ed to correct > > /etc/fstab there. > > Yes, but I cannot edit /etc/fstab from here since the root_device is > mounted read-only. > > In fact, I first do a "mount -uw /" and now I can edit fstab. But if the > root_device (as detected by kernel) is not what is said in fstab then > this won't work.
You can always "mount -t ffs / /dev/sd1a". It is possible to rename the existing /etc/rc and write a new one that use only /bin and /sbin to figure out what the root device is e.g by parsing dmesg, fsck it, mount it read-write, edit /etc/fstab using ed and then go on to execute the original /etc/rc... > > -- > Manuel Giraud -- / Raimo Niskanen, Erlang/OTP, Ericsson AB