Re: Unable to mount / in read - write mode
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 [EMAIL PROTECTED] Popof Popof [EMAIL PROTECTED] 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 [EMAIL PROTECTED] --- On Tue, 11/4/08, Popof Popof [EMAIL PROTECTED] wrote: From: Popof Popof [EMAIL PROTECTED] 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 [EMAIL PROTECTED] -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Unable to mount / in read - write mode
On Behalf Of Popof Popof 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. Any chance you have a docking station for that laptop with a NIC that supports PXE? Could you do a network boot and install? Bob McConnell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to mount / in read - write mode
On Wednesday 05 November 2008 14:50:05 Popof Popof wrote: I can't install FreeBSD 7 from scratch because this is a laptop and the CD drive is dead. Is it possible you installed the base system (make installworld), without having installed the kernel (make installkernel)? If that's the case, without an external drive or backups, your options to get a working system again are very very slim. The only two things I can think of that would work, is an usb memory card with the 6.x mount command on it, that you'd run to remount / rw and take it from there. Or a bootable memory card with 7.x kernel. However, it would help a lot if you could give a bit more information: - how does the kernel identify your disk (drive letters and numbers)? - Can you capture anything like a verbose boot or dmesg? - Output of `mount -a -d -v' command - How you determined your upgrade went wrong and you run 6.x. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to mount / in read - write mode
Popof Popof [EMAIL PROTECTED] 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 [EMAIL PROTECTED] --- On Tue, 11/4/08, Popof Popof [EMAIL PROTECTED] wrote: From: Popof Popof [EMAIL PROTECTED] 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 [EMAIL PROTECTED] -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to mount / in read - write mode
My laptop has a bootable NIC but I would like to avoid a network installation. I think that I forget to make the installkernel step. I can say that I'm using kernel 6.0 thanks to the output at the start of boot process. I have another old box with a FreeBSD 6.0 kernel so I'll try tonight to get the mount command from it to an usb key and try to use it with my laptop. I'll also try to provide dmesg if I can use this usb key in write mode. 2008/11/5 Mel [EMAIL PROTECTED] On Wednesday 05 November 2008 14:50:05 Popof Popof wrote: I can't install FreeBSD 7 from scratch because this is a laptop and the CD drive is dead. Is it possible you installed the base system (make installworld), without having installed the kernel (make installkernel)? If that's the case, without an external drive or backups, your options to get a working system again are very very slim. The only two things I can think of that would work, is an usb memory card with the 6.x mount command on it, that you'd run to remount / rw and take it from there. Or a bootable memory card with 7.x kernel. However, it would help a lot if you could give a bit more information: - how does the kernel identify your disk (drive letters and numbers)? - Can you capture anything like a verbose boot or dmesg? - Output of `mount -a -d -v' command - How you determined your upgrade went wrong and you run 6.x. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to mount / in read - write mode
On Tue, Nov 4, 2008 at 8:57 PM, Popof Popof [EMAIL PROTECTED] wrote: I don't know where but I made a mistake and I am always booting on the 6.0 kernel. Are you using the GENERIC kernel or a custom one? -- Roey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to mount / in read - write mode
--- On Tue, 11/4/08, Popof Popof [EMAIL PROTECTED] wrote: From: Popof Popof [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Unable to mount / in read - write mode
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 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to mount / in read - write mode
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. 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) 2008/11/4 mdh [EMAIL PROTECTED] --- On Tue, 11/4/08, Popof Popof [EMAIL PROTECTED] wrote: From: Popof Popof [EMAIL PROTECTED] 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 [EMAIL PROTECTED]