Other Trouble mounting internal SATA drive FreeBSD 12.1

using FreeBSD 12.1

I have the trouble to mount any internal NTFS Sata Drives,if i do use fstab on boot up i get error mountroot

if i wish to manually mount an NTFS internal Sata drive how can i go about it if Its say NTFS not supported on system?


i was able to mount a Thumb Drive msdosfs though

Thank You
 
using FreeBSD 12.1

I have the trouble to mount any internal NTFS Sata Drives,if i do use fstab on boot up i get error mountroot

if i wish to manually mount an NTFS internal Sata drive how can i go about it if Its say NTFS not supported on system?


i was able to mount a Thumb Drive msdosfs though

Thank You

i have that installed but the url You sent me to does not to help me much
i get error this device /dev/ada2 does not seem to have a valid Ntfs
and it say maybe wrong device is used or the whole disk instead of partition

i had typed in ntfs-3g /dev/ada2 /mnt -o ro
for my drive ada2 i not sure for what this 3g means
 
Possible. What do you get from: gpart show?

Well being i am on a
Possible. What do you get from: gpart show?

=> 40 976773088 ada0 GPT (466G)
40 1024 1 freebsd-boot (512K)
1064 968883192 2 freebsd-ufs (462G)
968884256 7888872 3 freebsd-swap (3.8G)


34 3907029101 ada2 GPT (1.8T)
34 2014 - free - (1.0M)
2048 262144 2 freebsd-ufs (128M)
264192 3906764800 1 ms-basic-data (1.8T)
3907028992 143 - free - (72K)
 
Try to mount ada2p1.


34 3907029101 ada2 GPT (1.8T)
34 2014 - free - (1.0M)
2048 262144 2 freebsd-ufs (128M)
264192 3906764800 1 ms-basic-data (1.8T)
3907028992 143 - free - (72K)

mount: ada2p1: unknown special file or file system
 
Without gpart show ada2 I am guessing.
p1 is probably FreeBSD UFS
p2 is probably ms-basic-data
So try this:
ntfs-3g /dev/ada2p2 /mnt -o ro
 
Have you typed: ntfs-3g /dev/ada2p1 /mnt?
Strange that gpart prints the partition 2 and then the 1.
Can you get the result of gpart show -p ada2?
 
Have you typed: ntfs-3g /dev/ada2p1 /mnt?
Strange that gpart prints the partition 2 and then the 1.
Can you get the result of gpart show -p ada2?

i just ran into another problem and am stuck in loop
i had installed the dsbmd and i had added to rc.conf
# sysrc dsbmd_enable=YES
# service dsbmd start

i also added vfs.usermount=1 to /etc/sysctl.conf by using edit and not the echo
To make this change permanent
and on boot in multi user it loops and will not stop
single user fails as well i am going into safe mode and see if i can undo some of the commands either in rc.conf or the sysctl.conf

I may have to reinstall all all over again and hopefully get better luck this time


# echo "vfs.usermount=1" >> /etc/sysctl.conf
 
You're doing too much things. Nothing in what you describe can stuck the system, even in multiuser mode. Have you changed some configuration files in /boot?
 
Have you typed: ntfs-3g /dev/ada2p1 /mnt?
Strange that gpart prints the partition 2 and then the 1.
Can you get the result of gpart show -p ada2?

Please forgive me for giving You such a hard time as i really thing for me is good to just reinstall this again as i have seen some strange problems other then the ada2 and 0 You mentioned

when i have finished if You still wish for help me i would be grateful

Thank You so much
 
Possible. What do you get from: gpart show?

Hello
If You would like to help me i have finally gotten the BSD installed again
i am up to this part here with trying the command

ntfs-3g /dev/ada1p1 /mnt?
and it says ntfs-df command not found

Update it says operation not permited by device
for the command: "mount -t ntfs-3g /dev/ada1p1 /mnt"

((it says uid option needs a decimal value))

i had installed fuse and sysutils as You said
since i did not do a restart i tried to manually load fuse kldload fuse
Thank You
 
This is how I mount ntfs:
Code:
pkg install fusefs-ntfs-2017
kldload fuse
ntfs-3g /dev/ada1p1 /mnt

To check which file system I have:
Code:
su
fstyp -u /dev/ada1p1

According to the man page of ntfs-3g, the command ntfs-3g /dev... is equivalent to mount -t ntfs-3g /dev..
 
Hello
If You would like to help me i have finally gotten the BSD installed again
i am up to this part here with trying the command

ntfs-3g /dev/ada1p1 /mnt?
and it says ntfs-df command not found

Update it says operation not permited by device
for the command: "mount -t ntfs-3g /dev/ada1p1 /mnt"

((it says uid option needs a decimal value))

i had installed fuse and sysutils as You said
since i did not do a restart i tried to manually load fuse kldload fuse
Thank You

Hi
sorry about that i needed sleep and just woke up and here are my results, i know it was saying 2 before but i don't know why so this is a new install
code gpart show ada1

=> 34 3907029101 ada1 GPT (1.8T)
34 2014 - free - (1.0M)
2048 262144 ada1p2 freebsd-ufs (128M)
264192 3906764800 ada1p1 ms-basic-data (1.8T)
3907028992 143 - free - (72K)
 
This is how I mount ntfs:
Code:
pkg install fusefs-ntfs-2017
kldload fuse
ntfs-3g /dev/ada1p1 /mnt

To check which file system I have:
Code:
su
fstyp -u /dev/ada1p1

According to the man page of ntfs-3g, the command ntfs-3g /dev... is equivalent to mount -t ntfs-3g /dev..

Hi

code fstyp -u /dev/ada1p1

ntfs
 
This is how I mount ntfs:
Code:
pkg install fusefs-ntfs-2017
kldload fuse
ntfs-3g /dev/ada1p1 /mnt

To check which file system I have:
Code:
su
fstyp -u /dev/ada1p1

According to the man page of ntfs-3g, the command ntfs-3g /dev... is equivalent to mount -t ntfs-3g /dev..


Mine has an error of

# ntfs-3g /dev/ada1p2 /mnt
NTFS signature is missing.
Failed to mount '/dev/ada1p2': Invalid argument
The device '/dev/ada1p2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
 
It would help if we can have the output of gpart show -p ada2.

(My drive other then the FreeBSD drive is ada1)

i get
code: # gpart show -p ada1
=> 34 3907029101 ada1 GPT (1.8T)
34 2014 - free - (1.0M)
2048 262144 ada1p2 freebsd-ufs (128M)
264192 3906764800 ada1p1 ms-basic-data (1.8T)
3907028992 143 - free - (72K)

if i trey to mount it i get

code:# ntfs-3g /dev/ada1p2 /mnt

NTFS signature is missing.
Failed to mount '/dev/ada1p2': Invalid argument
The device '/dev/ada1p2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
 
Try: ntfs-3g /dev/ada1p1 /mnt, not ada1p2.

Try: ntfs-3g /dev/ada1p1 /mnt, not ada1p2.


code # ntfs-3g /dev/ada1p1 /mnt

ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 4096 usa_ofs: 0 usa_count: 0: Invalid argument
Index buffer (VCN 0x0) of directory inode 0x5 has a size (24) differing from the directory specified size (4096).
Failed to open $Secure: No such file or directory
Failed to mount '/dev/ada1p1': No such file or directory
 
code # ntfs-3g /dev/ada1p1 /mnt

ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 4096 usa_ofs: 0 usa_count: 0: Invalid argument
Index buffer (VCN 0x0) of directory inode 0x5 has a size (24) differing from the directory specified size (4096).
Failed to open $Secure: No such file or directory
Failed to mount '/dev/ada1p1': No such file or directory

code:gpart show -p

=> 40 976773088 ada0 GPT (466G)
40 1024 ada0p1 freebsd-boot (512K)
1064 968883192 ada0p2 freebsd-ufs (462G)
968884256 7888872 ada0p3 freebsd-swap (3.8G)

=> 34 3907029101 ada1 GPT (1.8T)
34 2014 - free - (1.0M)
2048 262144 ada1p2 freebsd-ufs (128M)
264192 3906764800 ada1p1 ms-basic-data (1.8T)
3907028992 143 - free - (72K)

=> 34 3907029101 diskid/DISK-63RLN68KS GPT (1.8T)
34 2014 - free - (1.0M)
2048 262144 diskid/DISK-63RLN68KSp2 freebsd-ufs (128M)
264192 3906764800 diskid/DISK-63RLN68KSp1 ms-basic-data (1.8T)
3907028992 143 - free - (72K)
 
I think you need to run "chdsk" from within Windows. That's what googling your error message told me.

With open source software, all you could do is to probe:
ntfs-3g.probe --readonly /dev/ada1p1
 
I think you need to run "chdsk" from within Windows. That's what googling your error message told me.

With open source software, all you could do is to probe:
ntfs-3g.probe --readonly /dev/ada1p1

Hi
I am not using a VM so i am not able to do that in windows
i can run an fsck here but how do i check a specific drive with fsck here
 
Back
Top