Date: Wed, 5 Nov 2008 14:50:05 +0100 From: "Popof Popof" <popof.fpn@gmail.com> To: "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: Re: Unable to mount / in read - write mode Message-ID: <9196e72b0811050550l57360e0fj7e66bf75ce3dda9f@mail.gmail.com> In-Reply-To: <44skq69vwf.fsf@lowell-desk.lan> References: <9196e72b0811041057m7d33e3fap9a15246def6eb3a2@mail.gmail.com> <584820.36562.qm@web56807.mail.re3.yahoo.com> <9196e72b0811041507l1714614fw7b4bc8c2b901c763@mail.gmail.com> <44skq69vwf.fsf@lowell-desk.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
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: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2006-01/msg00095.html 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@be-well.ilk.org> > "Popof Popof" <popof.fpn@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 > my > > 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@yahoo.com> > > > >> --- On Tue, 11/4/08, Popof Popof <popof.fpn@gmail.com> wrote: > >> > From: Popof Popof <popof.fpn@gmail.com> > >> > Subject: Unable to mount / in read - write mode > >> > To: "FreeBSD Questions" <freebsd-questions@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 > the > >> command line after booting from a CD or in single-user mode, if > single-user > >> mode works. > >> > >> - mdh > >> > >> > >> > >> > >> > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/<http://be-well.ilk.org/%7Elowell/> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9196e72b0811050550l57360e0fj7e66bf75ce3dda9f>