Unable to mount / in read - write mode
popof.fpn at gmail.com
Wed Nov 5 05:50:08 PST 2008
I can't install FreeBSD 7 from scratch because this is a laptop and the CD
drive is dead.
Also as this is a laptop I don't have any floopy drive.
I have found this thread talking about the same problem:
But the /rescue/mount command didn't help me.
Does fstab file for a FreeBSD 6.0 and 7.0 are different ? I think yes
because before upgrading there were no problem to boot.
I also tried to use the mount command in order to get my drive in write mode
but it's failed.
Is there something to do in order to mount it correctly just one time in
order to modify my fstab file ?
2008/11/5 Lowell Gilbert <freebsd-questions-local at be-well.ilk.org>
> "Popof Popof" <popof.fpn at gmail.com> writes:
> > The kernel used is a GENERIC one from 6.0.
> > / is mounted but in read-only mode and I can use it in single user mode.
> > The mount command has been created on October 26 2008 and I hadn't start
> > laptop since one year so I'm sure that this comes from my update.
> Yes, you do seem to have made a mess of your system, all right.
> If you hadn't used the machine lately anyway, you might find it easier
> to start from "scratch" (wipe out the installation and start over).
> But hopefully not.
> > Using mount command manually failed:
> >> #mount -w /dev/ad0s2a /
> >> mount option <update> is unknown
> >> mount: /dev/ad0s2a
> > My fstab file contains
> > /dev/ad0s2a / ufs rw 1 1
> > but ad0s2a is in ro mode as show mount output
> > /dev/ados2a on / (ufs, local, read-only)
> At least the device names seem to be the same.
> This might be something silly and minor. You can boot from CD (or
> floppy, flash drive, etc.) to edit the file, and try to edit the
> file. Remember that you need a newline at the end of the fstab file,
> and strange characters can confuse it.
> > 2008/11/4 mdh <mdh_lists at yahoo.com>
> >> --- On Tue, 11/4/08, Popof Popof <popof.fpn at gmail.com> wrote:
> >> > From: Popof Popof <popof.fpn at gmail.com>
> >> > Subject: Unable to mount / in read - write mode
> >> > To: "FreeBSD Questions" <freebsd-questions at freebsd.org>
> >> > Date: Tuesday, November 4, 2008, 1:57 PM
> >> > Hi,
> >> > I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
> >> > I don't know where but I made a mistake and I am always
> >> > booting on the 6.0
> >> > kernel.
> >> > The problem is that I have an error during boot process:
> >> >
> >> > mount option <rw> is unknown
> >> > > mount: /dev/ad0s2a : Invalid argument
> >> > > Mounting root filesystem rw failed, startup aborted
> >> > > Boot interrupted
> >> >
> >> >
> >> > Its seems that tools have correctly upgraded (man mount let
> >> > me see that I
> >> > use the FreeBSD 7 version of mount) but not the kernel.
> >> >
> >> > Does someone has an idea to allow me to use my filesystem
> >> > in read write mode
> >> > ?
> >> This seems to be a problem with the mount command. Why do you feel the
> >> kernel may be at fault? If the kernel can get to mount, then it has
> >> obviously already mounted / (though possibly in read-only mode, which is
> >> something you should let us know...)
> >> There is also not necessarily a corrolation between a man page and the
> >> actual binary. Check the binary's modification time and such for better
> >> detail here. Beyond that, try running the mount command manually from
> >> command line after booting from a CD or in single-user mode, if
> >> mode works.
> >> - mdh
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
> Lowell Gilbert, embedded/networking software engineer, Boston area
More information about the freebsd-questions