Re: (solved) Re: Problem mounting EXT2FS
On Tue, Aug 25, 2009 at 12:17 AM, Jeronimo Calvojeronimocal...@googlemail.com wrote: Thanks a lot fellas!! problem resolved!!! Did you try to unmount the filesystem? I applied the patch against 7.2-RELEASE-p3 and I can't unmount it: Device busy. Anyone else with this problem? Cheers On 24/08/2009, Gonzalo Nemmi gne...@gmail.com wrote: On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# 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) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# Here's the problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Here's how to solve it: http://forums.freebsd.org/showthread.php?t=912highlight=ext2fs 2009/8/24 Polytropon free...@edvax.de Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... 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... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 -- Blessings Gonzalo Nemmi ___ 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
Re: Problem mounting EXT2FS
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 besides, I think it's ext2fs, not extfs2... Typo? greetz, Mark signature.asc Description: OpenPGP digital signature
Re: Problem mounting EXT2FS
Actually, im just compile it and restart it... seems to be working fine now... By the way... who do i do that?? is that necessary? cheers! 2009/8/25 Mark Stapper st...@mapper.nl 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 Did you recompile world as well? You might also want to install sysutils/e2fsprogs. I have not done this myself yet though... Hope it helps. Mark ___ 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
Re: Problem mounting EXT2FS
hi Mark! Im using FreeBSD 7.2-RELEASE... but im not sure about the userland, is currently fresh installed, just compiled the KERNEL to add ext2fs support and installed the patch for the 256-inode... nothing else... But I will take your advise and upgrade my kernel to STABLE (as I think it will be funny as well, ur not the one geek here I suposse hahahaha) I will need to get some more knowledge about userland... :D Will check up ur links fella! btw, if u find anything else new-bie related... send me as well!! Cheers! 2009/8/25 Mark Stapper st...@mapper.nl Jeronimo Calvo wrote: Actually, im just compile it and restart it... seems to be working fine now... By the way... who do i do that?? is that necessary? cheers! well, if you have the RELEASE source, and the RELEASE userland there is no problem. However if you have the STABLE source and the RELEASE userland there could be incompatible behaviour. Upgrading your kernel to the STABLE release is generally a good idea. For more info check: http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html and http://www.freebsd.org/doc/en/books/handbook/synching.html and http://www.freebsd.org/doc/en/books/handbook/makeworld.html Be sure to make backups, as the way to recover is very different from Linux. Have fun! (Yes, I consider compiling your own kernel and userland to be fun) Greetz, Mark ___ 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
Re: Problem mounting EXT2FS
Jeronimo Calvo wrote: hi Mark! Im using FreeBSD 7.2-RELEASE... but im not sure about the userland, is currently fresh installed, just compiled the KERNEL to add ext2fs support and installed the patch for the 256-inode... nothing else... But I will take your advise and upgrade my kernel to STABLE (as I think it will be funny as well, ur not the one geek here I suposse hahahaha) Don't forget to reapply the ext2 patch... ;-) I will need to get some more knowledge about userland... :D the userland is just the collection of base applications or base distribution. Will check up ur links fella! btw, if u find anything else new-bie related... send me as well!! Just read all the chapters listed here: http://www.freebsd.org/doc/en/books/handbook/ ;-) signature.asc Description: OpenPGP digital signature
Re: Problem mounting EXT2FS
I have as well this in the other hand: heheheh, THE BIBLE! [image: 51dtdR9r6RL._SL500_AA240_.jpg] 2009/8/25 Mark Stapper st...@mapper.nl Jeronimo Calvo wrote: hi Mark! Im using FreeBSD 7.2-RELEASE... but im not sure about the userland, is currently fresh installed, just compiled the KERNEL to add ext2fs support and installed the patch for the 256-inode... nothing else... But I will take your advise and upgrade my kernel to STABLE (as I think it will be funny as well, ur not the one geek here I suposse hahahaha) Don't forget to reapply the ext2 patch... ;-) I will need to get some more knowledge about userland... :D the userland is just the collection of base applications or base distribution. Will check up ur links fella! btw, if u find anything else new-bie related... send me as well!! Just read all the chapters listed here: http://www.freebsd.org/doc/en/books/handbook/ ;-) ___ 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
Re: Problem mounting EXT2FS
On Tue, 25 Aug 2009 13:33:59 +0200, Mark Stapper st...@mapper.nl wrote: Don't forget to reapply the ext2 patch... ;-) And of course keep in mind that kernel and world (userland) have to be of the same version, e. g. if you upgrade your sources to 7-STABLE, recompile kernel and world and install them. You'll find a handy procedure for that in the handbook. the userland is just the collection of base applications or base distribution. It can be called only the OS, too. :-) Just read all the chapters listed here: http://www.freebsd.org/doc/en/books/handbook/ ;-) At leasst, keep it near yourself. Most ordinary problems can be solved or even avoided by sticking to what the handbook says. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
Re: Problem mounting EXT2FS
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
Re: Problem mounting EXT2FS
Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... 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... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
Re: Problem mounting EXT2FS
True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# 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) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# 2009/8/24 Polytropon free...@edvax.de Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... 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... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
(solved) Re: Problem mounting EXT2FS
Thanks a lot fellas!! problem resolved!!! On 24/08/2009, Gonzalo Nemmi gne...@gmail.com wrote: On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# 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) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# Here's the problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Here's how to solve it: http://forums.freebsd.org/showthread.php?t=912highlight=ext2fs 2009/8/24 Polytropon free...@edvax.de Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... 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... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 -- Blessings Gonzalo Nemmi ___ 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
Re: Problem mounting EXT2FS
On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# 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) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# Here's the problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Here's how to solve it: http://forums.freebsd.org/showthread.php?t=912highlight=ext2fs 2009/8/24 Polytropon free...@edvax.de Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... 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... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 -- Blessings Gonzalo Nemmi ___ 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