From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:07:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F36F9106568C for ; Mon, 24 Aug 2009 21:07:52 +0000 (UTC) (envelope-from archon@silvertree.org) Received: from arthur.silvertree.org (arthur.silvertree.org [173.11.101.153]) by mx1.freebsd.org (Postfix) with SMTP id 56FB98FC17 for ; Mon, 24 Aug 2009 21:07:52 +0000 (UTC) Received: (qmail 82651 invoked from network); 24 Aug 2009 14:07:50 -0700 Received: from webn1.ofoto.com (HELO ?192.168.62.44?) (66.128.224.196) by arthur.silvertree.org with SMTP; 24 Aug 2009 14:07:50 -0700 Message-Id: <680F4D9E-9C5B-4349-8E13-B34E6A358CC3@silvertree.org> From: Scott Schappell To: freebsd-questions@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 24 Aug 2009 14:07:50 -0700 References: X-Mailer: Apple Mail (2.936) Subject: Re: Problem mounting EXT2FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:07:53 -0000 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: [root@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 root@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: [root@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-unsubscribe@freebsd.org > "