mount FreeBSD hard drive in Linux

11 views
Skip to first unread message

fugee ohu

unread,
Oct 21, 2019, 7:19:06 PM10/21/19
to Linux Users Group
I connected a FreeBSD drive by IDE cable to my system board via Raid card with IDE header on it After booting ubuntu it appears as /dev/sdd with it's only partition sdd1 I mounted it like this:
$ sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdd1 /home/aaa/ufs_mount 
After mounting home which is a symbolic link to /usr/home appears as a broken link and from directory mnt  `ls usr` doesn't return anything but a prompt
I don't think it can be that /usr/home doesn't exist on the drive Can someone tell me if they think it's not there or just linux can't see it

Jeremiah Bess

unread,
Oct 21, 2019, 9:00:49 PM10/21/19
to LUG
I don't really understand what you are trying to do with symlinks. Is it like /home links to /usr/home? Is there a reason for such a non-standard home location (why not /home)?

In any case, does the ufs_mount directory exist in /usr/home/aaa? And since /usr/home is linked to /home, can you verify ufs_mount exists in /home/aaa?

As a test, you can also create a 'test' directory in /mnt/, then try to mount there. That would make sure the drive can be mounted at all. If that works, then something with the symlinks isn't right. In that case, can you please post the output of a 'ls -al' command for both the /usr/home/aaa and /?

Jeremiah Bess


--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxus...@googlegroups.com
To unsubscribe, send email to linuxusersgro...@googlegroups.com
For more options, visit our group at http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
---
You received this message because you are subscribed to the Google Groups "Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxusersgro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linuxusersgroup/018485e5-7fbb-41bb-b94e-2617ebc64791%40googlegroups.com.

fugee ohu

unread,
Oct 22, 2019, 5:32:32 AM10/22/19
to Linux Users Group


On Monday, October 21, 2019 at 9:00:49 PM UTC-4, Network Ninja wrote:
I don't really understand what you are trying to do with symlinks. Is it like /home links to /usr/home? Is there a reason for such a non-standard home location (why not /home)?

In any case, does the ufs_mount directory exist in /usr/home/aaa? And since /usr/home is linked to /home, can you verify ufs_mount exists in /home/aaa?

As a test, you can also create a 'test' directory in /mnt/, then try to mount there. That would make sure the drive can be mounted at all. If that works, then something with the symlinks isn't right. In that case, can you please post the output of a 'ls -al' command for both the /usr/home/aaa and /?

Jeremiah Bess


On Mon, Oct 21, 2019 at 5:19 PM fugee ohu <fuge...@gmail.com> wrote:
I connected a FreeBSD drive by IDE cable to my system board via Raid card with IDE header on it After booting ubuntu it appears as /dev/sdd with it's only partition sdd1 I mounted it like this:
$ sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdd1 /home/aaa/ufs_mount 
After mounting home which is a symbolic link to /usr/home appears as a broken link and from directory mnt  `ls usr` doesn't return anything but a prompt
I don't think it can be that /usr/home doesn't exist on the drive Can someone tell me if they think it's not there or just linux can't see it

--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxus...@googlegroups.com
To unsubscribe, send email to linuxus...@googlegroups.com

For more options, visit our group at http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
---
You received this message because you are subscribed to the Google Groups "Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxus...@googlegroups.com.

I'm thinking it's a perms issue because even on a fresh install /usr/home should be present What I have is a user directory without any home subdirectory I couldn't boot from this drive because my board doesn't have an ide connector
Reply all
Reply to author
Forward
0 new messages