You are not logged in.
Pages: 1
Hello everyone!!!
Before we start, I started using Linux only a few days ago, so I sadly don't really know how to fix or troubleshoot stuff that well, so if I have to post some additional things, make sure to tell me!!!
So, I have this 1TB HDD that I want to use. But I cant. Whenever I try to mount it, this error pops up in Dolphin: **The requested operation has failed: Error mounting /dev/sdb1 at /run/media/res/46E82DD634F08774: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error**
Anyone know why this might be happening? Might've I screwed something up while setting up or installing Arch?
Offline
Was this drive originally created with Windows? If so, are you running Arch in a dual-boot with Windows?
Offline
Could you paste the output of 'lsblk -f'?
If it is an ntfs Filesystem make sure ntfs-3g is installed.
Last edited by Dreick (2024-08-14 01:40:53)
Offline
Was this drive originally created with Windows? If so, are you running Arch in a dual-boot with Windows?
I switched from Windows to Arch, yes. It was originally a Drive in windows, and no I am not dual-booting. I am only using Arch, as far as I know, I've deleted every single trace of Windows.
Last edited by laetusvulgus (2024-08-14 01:59:36)
Offline
Could you paste the output of 'lsblk -f'?
If it is an ntfs Filesystem make sure ntfs-3g is installed.
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 vfat FAT32 9DE0-2D4B 441.3M 14% /boot
└─sda2 ext4 1.0 365fc09b-661c-4f56-8223-14096316f8b6 14.6G 81% /
sdb
└─sdb1 ntfs 46E82DD634F08774
zram0 [SWAP]
And my ntfs-3g is up-to-date.
Offline
ajgringo619 wrote:Was this drive originally created with Windows? If so, are you running Arch in a dual-boot with Windows?
I switched from Windows to Arch, yes. It was originally a Drive in windows, and no I am not dual-booting. I am only using Arch, as far as I know, I've deleted every single trace of Windows.
Did your Windows install have FastBoot enabled?
Offline
Thanks for the output. Can you try
ntfs-3g /dev/sdb1 /mnt
?
If the output comes out with something like 'unsafe state...', whatever, try:
ntfsfix /dev/sdb1
then try to mount again.
If this doesn't help, try
mount -t ntfs-3g /dev/sdb1 /mnt -o remove_hiberfile
If the error should be something else, please paste it here.
Last edited by Dreick (2024-08-14 02:16:42)
Offline
laetusvulgus wrote:ajgringo619 wrote:Was this drive originally created with Windows? If so, are you running Arch in a dual-boot with Windows?
I switched from Windows to Arch, yes. It was originally a Drive in windows, and no I am not dual-booting. I am only using Arch, as far as I know, I've deleted every single trace of Windows.
Did your Windows install have FastBoot enabled?
Yes, pretty sure I left it on.
Offline
Thanks for the output. Can you try
ntfs-3g /dev/sdb1 /mnt
?If the output comes out with something like 'unsafe state...', whatever, try:
ntfsfix /dev/sdb1
then try to mount again.
If this doesn't help, try
mount -t ntfs-3g /dev/sdb1 /mnt -o remove_hiberfile
If the error should be something else, please paste it here.
Oh my god, ''ntfs-3g /dev/sdb1 /mnt'' worked! Thank you so much! I've spent days, trying to fix this, I've gone through TENS of different forum posts on 4 different sites to no avail. And it was this simple? Thank you so much.
Offline
I'm not quite sure how to mark this as ''Solved'', so I'll leave it as it is..
Offline
Dreick wrote:Thanks for the output. Can you try
ntfs-3g /dev/sdb1 /mnt
?If the output comes out with something like 'unsafe state...', whatever, try:
ntfsfix /dev/sdb1
then try to mount again.
If this doesn't help, try
mount -t ntfs-3g /dev/sdb1 /mnt -o remove_hiberfile
If the error should be something else, please paste it here.
Oh my god, ''ntfs-3g /dev/sdb1 /mnt'' worked! Thank you so much! I've spent days, trying to fix this, I've gone through TENS of different forum posts on 4 different sites to no avail. And it was this simple? Thank you so much.
That is... kind of strange. Maybe Dolphin tries to mount with a wrong option then.
If this is not a USB-drive you should consider creating a permanent directory to mount it and add it to fstab.
If it is a portable drive, and you want to mount it using dolphin, you would need to investigate the problem further.
Offline
Dolphin will use udisks2, udisks2 will default to ntfs3 instead of ntfs-3g, ntfs3 is not as lenient wrt filesystems being marked dirty.
If you were actually using "-o remove_hiberfile", windows was likely hibernating (in doubt because of windows fast-start), it might be in an inconsistent state, if you still have windows installed, boot that, run chckdsk and properly shut it down (3rd link below)
If you don't have windows installed, running chkdsk on that drive from some other windows system is a good idea, otherwise ntfsfix might just about suffice.
Writing to an inconsistent filesystem implies risking data loss, so don't just ignore this if there's important data on the drive and you don't have any backups.
Offline
overall: don't use ntfs in linux
for a fixed drive: use a posix fs lije ext4, xfs, btrfs, zfs
for a removable drive to exchange data between different os: use exfat
Offline
Today I've got a similar problem with a Virtualbox VM windows. I've booted this VM running an clonezilla ISO to backup the widows system into an external ntfs formated hdd. Backup ok, no error or warning message.
After trying to mount in physical machine, I've got same error by dolphin mount but manually mount works fine
user@machine:~/temp$ sudo mount /dev/sde1 myhdd
btw, I'm gonna follow cryptearth suggestion: next backups change ntfs to other partition format
Last edited by gwarah (2025-04-19 16:46:20)
Offline
Thanks for the output. Can you try
ntfs-3g /dev/sdb1 /mnt
?If the output comes out with something like 'unsafe state...', whatever, try:
ntfsfix /dev/sdb1
then try to mount again.
If this doesn't help, try
mount -t ntfs-3g /dev/sdb1 /mnt -o remove_hiberfile
If the error should be something else, please paste it here.
I faced this exact same problem, and it got resolved by ntfs-3g /dev/sdb1 /mnt .
Thank you very much Dreick!
Last edited by iambatman (2025-07-26 03:22:54)
Offline
PSA: if you've to remove a hiberfile to mount NTFS that means you're force-opening a probably dirty filesystem that's still in used by a (hibernating) windows process.
=> 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
Opening a filesystem from two OS at the same time will eventually cause data loss. If you do this w/ bitlocker active, that'd be "all data lost".
On top of that the hibernating windows will leave HW in an undefined state, meaning you cannot properly use it from linux.
Offline
Pages: 1