Judging by your uname output, the #0 should be #1 if it's reading a re-
compiled kernel. I would double check that you used the proper
KERNCONF for make buildkernel and make installkernel.
For example, I recompiled my kernel and note the output:
[r...@arthur /var/account]# uname -a
FreeBSD arthur.silvertree.org 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3
#1: Fri Aug 14 13:27:47 PDT 2009 r...@arthur.silvertree.org:/usr/
obj/usr/src/sys/ARTHUR i386
See the #1? That shows me that the kernel has been recompiled once.
The fact it says "MYKERNEL" for the kernel config, make sure that you
copied GENERIC to MYKERNEL in /usr/src/sys/i386/conf/
I used the handbook and actually put ARTHUR in /root/kernels and in /
usr/src/sys/i386/conf:
[r...@arthur ~/kernels]# ls -la /usr/src/sys/i386/conf/ARTHUR
lrwxr-xr-x 1 root wheel 20 Jul 29 07:57 /usr/src/sys/i386/conf/
ARTHUR -> /root/kernels/ARTHUR
I'd suggest that you didn't compile the right kernel config file.
Another suggestion I used was to add in /etc/make.conf:
KERNCONF=ARTHUR
So add "KERNCONF=MYKERNEL" then copy /usr/src/sys/i386/conf/GENERIC
to /usr/src/sys/i386/conf/MYKERNEL then edit MYKERNEL as needed and
with that line in /etc/make.conf:
cd /usr/src && make buildkernel && make installkernel && shutdown -r now
I may be off base, but I'd start with double checking the kernel
config file used for buildkernel and installkernel.
Scott
On Aug 24, 2009, at 13:20:29, Jeronimo Calvo wrote:
Hi folks, im migrating from Linux to BSD, and i found my first
problem...
First of all, i did save my /home from my old Linux distribution on
another
HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from
sysinstall.
I read about compiling the KERNEL in order to add Ext2fs support under
Freebsd, wich I did... Adding the line:
Quote:
options EXT2FS
looking like this:
Quote:
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options ADAPTIVE_GIANT # Giant mutex is adaptive.
options STOP_NMI # Stop CPUS using NMI instead of IPI
options AUDIT # Security event auditing
#options KDTRACE_FRAME # Ensure frames are compiled in
*options EXT2FS*
#options KDTRACE_HOOKS # Kernel DTrace hooks
After this i recompiled the kernel and installed...
Quote:
# uname -a
FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC
2009
iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64
Well... everything should be ready now to mount my ext2fs
partition... Using
the following command...
Quote:
# mount
/dev/ad8s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad8s1e on /tmp (ufs, local, soft-updates)
/dev/ad8s1f on /usr (ufs, local, soft-updates)
/dev/ad8s1d on /var (ufs, local, soft-updates)
/dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid)
# mount -t extfs2 /dev/ad6s1 /ext2
mount: /dev/ad6s1 : Operation not supported by device
I tried several times, with not luck, one of those times i was able
to mount
it, but not to access it, when i tried to cd /ext2 (folder when is
mounted)
system tells me that ext2 is not a folder...
any ideas???
Thanks in advance!!
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org
"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"