Hello, I'm running centos5 with the centosplus kernel v2.6.18-8.1.8.el5 and i'm trying to read a drive that has a ufs2 partition on it. It was originally in a FreeBSD machine and has some data i'd like to get at. Googling indicated this should work with the command:
mount -r -t ufs -o ufstype=ufs2 <device> <mountpoint>
device is /dev/hdb5 and mountpoint is /mnt. I'm getting an error unknown filesystem type ufs. I'm assuming i have to load a module of some kind. Any help appreciated. Thanks. Dave.
On 8/30/07, Dave dmehler26@woh.rr.com wrote:
Hello, I'm running centos5 with the centosplus kernel v2.6.18-8.1.8.el5 and i'm trying to read a drive that has a ufs2 partition on it. It was originally in a FreeBSD machine and has some data i'd like to get at. Googling indicated this should work with the command:
mount -r -t ufs -o ufstype=ufs2 <device> <mountpoint>
device is /dev/hdb5 and mountpoint is /mnt. I'm getting an error unknown filesystem type ufs. I'm assuming i have to load a module of some kind. Any help appreciated. Thanks. Dave.
ufs is not enabled in the centosplus kernel (or the standard kernel). It will be necessary to rebuild the kernel.
Akemi
On 8/30/07, Akemi Yagi amyagi@gmail.com wrote:
On 8/30/07, Dave dmehler26@woh.rr.com wrote:
Hello, I'm running centos5 with the centosplus kernel v2.6.18-8.1.8.el5 and i'm trying to read a drive that has a ufs2 partition on it. It was originally in a FreeBSD machine and has some data i'd like to get at. Googling indicated this should work with the command:
mount -r -t ufs -o ufstype=ufs2 <device> <mountpoint>
device is /dev/hdb5 and mountpoint is /mnt. I'm getting an error unknown filesystem type ufs. I'm assuming i have to load a module of some kind. Any help appreciated. Thanks. Dave.
ufs is not enabled in the centosplus kernel (or the standard kernel). It will be necessary to rebuild the kernel.
Or use Knoppix ?
Akemi
On 8/30/07, Akemi Yagi amyagi@gmail.com wrote:
On 8/30/07, Dave dmehler26@woh.rr.com wrote:
Hello, I'm running centos5 with the centosplus kernel v2.6.18-8.1.8.el5 and i'm trying to read a drive that has a ufs2 partition on it. It was originally in a FreeBSD machine and has some data i'd like to get at. Googling indicated this should work with the command:
mount -r -t ufs -o ufstype=ufs2 <device> <mountpoint>
device is /dev/hdb5 and mountpoint is /mnt. I'm getting an error unknown filesystem type ufs. I'm assuming i have to load a module of some kind. Any help appreciated. Thanks. Dave.
ufs is not enabled in the centosplus kernel (or the standard kernel). It will be necessary to rebuild the kernel.
Or use Knoppix ?
Akemi
On Thu, Aug 30, 2007 at 04:21:34AM -0700, Akemi Yagi wrote:
On 8/30/07, Dave dmehler26@woh.rr.com wrote:
Hello, I'm running centos5 with the centosplus kernel v2.6.18-8.1.8.el5 and i'm trying to read a drive that has a ufs2 partition on it. It was originally in a FreeBSD machine and has some data i'd like to get at. Googling indicated this should work with the command:
mount -r -t ufs -o ufstype=ufs2 <device> <mountpoint>
device is /dev/hdb5 and mountpoint is /mnt. I'm getting an error unknown filesystem type ufs. I'm assuming i have to load a module of some kind. Any help appreciated. Thanks. Dave.
ufs is not enabled in the centosplus kernel (or the standard kernel). It will be necessary to rebuild the kernel.
The kernel module should be enough: http://dev.centos.org/~tru/kernel-modules/centos-5/ufs.tgz (ufs sources from 2.6.18-8.1.8.el5)
You need to have installed the kernel-devel rpm from your running kernel. run the runme.sh script and install the module :)
Tru
Hello, Thanks for your reply. I downloaded the ufs module, and ran run.sh, i had kernel-devel installed. However when i again tried:
mount -t ufs -o ufs2 /dev/hdb5 /mnt
i am still getting unknown filesystem type ufs. Thanks. Dave.
----- Original Message ----- From: "Tru Huynh" tru@centos.org To: "CentOS mailing list" centos@centos.org Sent: Thursday, August 30, 2007 8:06 AM Subject: Re: [CentOS] reading ufs2 filesystems with centosplus kernel
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, Aug 30, 2007 at 09:08:34AM -0400, Dave wrote:
Hello,
Hi,
don't put me in CC: I am subscribed to the mailing list ;)
Thanks for your reply. I downloaded the ufs module, and ran run.sh, i had kernel-devel installed. However when i again tried:
mount -t ufs -o ufs2 /dev/hdb5 /mnt
have you actually installed the module? (as root: make -C /lib/modules/... modules_install)
You might also need a "depmod -a" after installing it.
Then "modinfo ufs" should reply: [tru@calamityjane ~/ufs-2.6.18-8.1.8.el5-from-2.6.18-8.1.8.el5]$ modinfo ufs filename: /lib/modules/2.6.18-8.1.8.el5/extra/ufs.ko license: GPL srcversion: 28C144D2C43C6B79635A5AA depends: vermagic: 2.6.18-8.1.8.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1
Cheers,
Tru
Tru Huynh wrote:
On Thu, Aug 30, 2007 at 09:08:34AM -0400, Dave wrote:
Hello,
Hi,
don't put me in CC: I am subscribed to the mailing list ;)
'Reply-All' has been the traditional way to interact with mail lists since their invention because otherwise you don't know if it will go back to the list. Many lists don't rewrite the 'reply-to' header and have elaborate (and sometimes correct) philosophical reasons for that and aren't likely to change.
Hello, Thanks for your reply. Yes, i did install the module with make -C ... The issue was resolved by that depmod -a. Any chance this module could be included in centosplus? Thanks a lot. Dave.
----- Original Message ----- From: "Tru Huynh" tru@centos.org To: "CentOS mailing list" centos@centos.org Sent: Thursday, August 30, 2007 9:56 AM Subject: Re: [CentOS] reading ufs2 filesystems with centosplus kernel
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 8/30/07, Dave dmehler26@woh.rr.com wrote:
Hello, Thanks for your reply. Yes, i did install the module with make -C ... The issue was resolved by that depmod -a. Any chance this module could be included in centosplus? Thanks a lot. Dave.
File a request at bugs.centos.org.
Dave spake the following on 8/30/2007 9:35 AM:
Hello, Thanks for your reply. Yes, i did install the module with make -C ... The issue was resolved by that depmod -a. Any chance this module could be included in centosplus? Thanks a lot. Dave.
I am not the authority on this but I doubt it as it doesn't have a real need except for a recovery system, and you could use one of the recovery Cd's available.