|
||||||||||
On 02/13/06 10:05 Jérémy Cluzel said the following: >> Trying to mount root from ufs:/dev/md0 >> mkdir: /var/run: Read-only file system >> mkdir: /var/log: Read-only file system freebsd 6.x mounts mfsroot filesystems readonly by default, as opposed to mounting them read-write on 4.x, hence a new kernel built without the patches i've made for 6.0 wont work. you can try rebuilding the WRAP kernel with the attached patch applied, and it should boot alright. an alternative (and better) solution would be when i complete the proper porting over of the bootup scripts to remount the filesystem read-write after booting up. -- Regards, /\_/\ "All dogs go to heaven." dinesh at alphaque dot com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+ | ||||||||||
--- sys/kern/vfs_mount.c.orig Sat Nov 12 23:22:07 2005 +++ sys/kern/vfs_mount.c Sat Nov 12 23:59:50 2005 @@ -1297,7 +1297,7 @@ strcpy(path, ROOTNAME); error = kernel_vmount( - MNT_RDONLY | MNT_ROOTFS, + MNT_ROOTFS, "fstype", vfsname, "fspath", "/", "from", path, |