Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2009 20:20:29 +0000
From:      Jeronimo Calvo <jeronimocalvop@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Problem mounting EXT2FS
Message-ID:  <beaf3aa50908241320k88fad1au2bd41fb311591bb1@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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!!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?beaf3aa50908241320k88fad1au2bd41fb311591bb1>