OscarWine | I just installed Lubuntu 24.04.1 LTS (Noble Numbat). When I try to mount a Windows 10 partition (I have 2), I get the following error: | 09:20 |
---|---|---|
OscarWine | Error mounting /dev/sda6 at /media/{User Name}/Windows 10: wrong fs type, bad option, bad superblock on /dev/sda6, missing codepage or helper program, or other error | 09:20 |
OscarWine | How can I fix this error ? For the record, ntfs-3g is installed and Windows 10 Fast Boot is disabled. | 09:20 |
eyeoh | OscarWine: is it encrypted? | 09:23 |
OscarWine | No | 09:23 |
eyeoh | and what command are you trying? | 09:23 |
OscarWine | I used 'sudo apt install ntfs-3g' to check if ntfs-3g was installed. The latest version is installed (note: This is a fresh new install made a few hours ago). | 09:24 |
eyeoh | mounting to that path seems a tad unusual | 09:24 |
OscarWine | Then I use File Manager to try to open the partitions | 09:25 |
eyeoh | have you tried mounting from the command line? | 09:26 |
OscarWine | There are two Windows oriented partitions: A 100 GB partition to be used for Windows 10 (updates, maybe a few softwares) and a larger 755 GB to store stuff. Both are NTFS | 09:26 |
eyeoh | e.g. https://linuxconfig.org/how-to-mount-partition-with-ntfs-file-system-and-read-write-access | 09:26 |
OscarWine | Not yet; I wil check the link | 09:26 |
eyeoh | I found that page via https://duckduckgo.com/?t=ffab&q=linux+mount+ntfs&ia=web | 09:26 |
eyeoh | using file manage can work, if it does work - but I rarely trust the GUI when it comes to this kind of troubleshooting. | 09:27 |
eyeoh | command line is a lot more clear as far as the process goes | 09:27 |
eyeoh | there's no "look here, click there" kind of thing | 09:28 |
eyeoh | the mount point doesn't really matter; you can use simply /mnt itself too | 09:28 |
eyeoh | you don't necessarily need to create any directories beneath /mnt, but doing so might be nice for the future | 09:28 |
eyeoh | it's more to organise things and allow you to mount multiple things at the same time under /mnt | 09:29 |
eyeoh | I don't think ntfs-3g is required if you just want to read; but having it installed should do no harm either | 09:29 |
eyeoh | be very sure that you don't have bitlocker enabled in windows. if it is, additional steps are required | 09:29 |
OscarWine | My final goal is to share the User Folders (Documents, Images, Models, Music, Downloads and Videos) accessible from both Windows 10 and Lubuntu using the larger 755 GB NTFS partition. I did this several years ago on Mint. | 09:30 |
eyeoh | hmm "You do not need to follow this section if you are running a Linux operating system with a kernel newer than 5.15. In that case, your system will have the NTFS3 driver, which is implemented in newer versions of the kernel." https://pimylifeup.com/linux-ntfs/ | 09:31 |
eyeoh | one step at a time | 09:31 |
eyeoh | just focus on seeing if you can mount and read | 09:31 |
OscarWine | Sure, that's what I will do for the moment. | 09:31 |
eyeoh | arguably it might be better to use ext4 and let windows read that; but it really depends on which OS you use more | 09:32 |
eyeoh | even btrfs, perhaps; but I'm not sure how stable that is in windows | 09:32 |
OscarWine | It's a PC from a family member, so I won't be able to say which OS the person will use more. | 09:33 |
OscarWine | I used the commands 'sudo mount -t ntfs /dev/sda5 /mnt/ntfs ' and 'sudo mount -t ntfs /dev/sda6 /mnt/ntfs' to mount these 2 partitions, but now I don't see them anymore in the File Manager | 09:45 |
eyeoh | can you see them in your terminal? | 09:51 |
eyeoh | do you know how to use the terminal? | 09:51 |
OscarWine | Yes, I know how to use the terminal and I can see them there | 10:03 |
eyeoh | I don't know what it is about file managers, but when they don't work, they're just a pain to deal with | 10:04 |
OscarWine | There are 10 partitions in total | 10:04 |
eyeoh | maybe some of it is permission-related | 10:04 |
eyeoh | maybe another thing is the speed of showing all the files | 10:04 |
OscarWine | Partitions 5 and 6 are the NTFS partitions | 10:04 |
OscarWine | sda5 is the 100 GB partition and sda6 is the 755 GB partition | 10:05 |
eyeoh | exfat is possibly a better cross-platform filesystem than ntfs; possibly | 10:06 |
OscarWine | I found this link describing the same problem: https://askubuntu.com/questions/1512710/wrong-fs-type-bad-option-bad-superblock-just-installed-lubuntu-24-04 | 10:06 |
eyeoh | maybe test a live USB of debian stable (cinnamon) as well, and see how that works | 10:06 |
OscarWine | I tried this command: sudo ntfsfix -d /dev/sda5 | 10:07 |
eyeoh | I see "Problem mounting NTFS external drives is a known bug in 24.04. Solution : blacklist the ntfs3 driver from running" | 10:07 |
eyeoh | just ubuntu issues... | 10:07 |
OscarWine | And I got this message: Refusing to operate on read-write mounted device /dev/sda5. | 10:07 |
eyeoh | the difference between Debian Stable and the latest *buntu LTS is that Debian Stable will always be more stable due to the extra testing thanks to testing as well as the freeze policy | 10:08 |
OscarWine | But does this bug applies only to NTFS external drives? Because Both partitions are on the internal disk | 10:08 |
eyeoh | I don't know; maybe? | 10:08 |
eyeoh | it's something you have to just test | 10:08 |
eyeoh | and if a live USB of Debian 12.8 "just works", that'll be useful information | 10:09 |
eyeoh | I don't actually use any *buntus at the moment | 10:09 |
OscarWine | Perhaps I should use the commands 'sudo apt install nfs-common' and 'sudo apt install cifs-utils', as suggest by an user. But another user said 'Why are you asking users to install nfs-common or cifs-common? It seems to me that those two packages have nothing to do with ntfsfix.' | 10:10 |
eyeoh | I'm just here to see the weird issues that pop up, including one I've figured out a workaround with before | 10:10 |
eyeoh | suggested by which user? | 10:10 |
eyeoh | oh in the bug report replies? | 10:11 |
eyeoh | seriously, just try a live USB of Debian 12.8 and see if you encounter the same issues | 10:11 |
eyeoh | it'll help narrow down what the problem is for you | 10:11 |
eyeoh | and save a lot of time | 10:11 |
OscarWine | eaitfakir suggest to install them and TSJNachos117 said they don't have anything to do with ntfsfix | 10:11 |
eyeoh | you could try that, but if I were you, I'd try what I suggested first | 10:11 |
eyeoh | or even 22.04 LTS | 10:12 |
OscarWine | Ok... I will create a USB live of Debian 12.8 to see what happens | 10:12 |
OscarWine | I was really expecting this was just an issue with the Windows 10 Fast Boot... But that doesn't seems to be the case. =/ | 10:14 |
eyeoh | won't know without broader testing/troubleshooting as above | 10:14 |
OscarWine | I did installed the 'nfs-common' and 'cifs-utils' to see what would happen... But when I tried 'sudo ntfsfix -d /dev/sda5', I got the same message: 'Refusing to operate on read-write mounted device /dev/sda5.' | 10:18 |
OscarWine | While using the USB Live of Debian 12.8, would the File Manager be enough to see if I can mount these partitions? | 10:19 |
eyeoh | not sure; hopefully yes | 10:20 |
eyeoh | the whole point of my troubleshooting process is to try something "ready-made" and see if anything different happens | 10:21 |
eyeoh | quite often, something different happens and a whole class of issues can be ruled out | 10:21 |
eyeoh | I have a good track record with this | 10:21 |
eyeoh | it looks like guessing and in some ways it is | 10:21 |
eyeoh | it's more a top-down approach than a bottom-up one | 10:22 |
eyeoh | once another data point is established - whether successful, partially, or not, then the next step can be thought about | 10:22 |
eyeoh | but the next step can't be skipped to until you try the first step first | 10:22 |
OscarWine | From the askubuntu link that I posted above, someone suggested to use the 'Disks' app, which seems to not be availble on Lubuntu, so I decided to check the 'KDE Partition Manager' | 10:24 |
eyeoh | yeah that should be similar enough | 10:24 |
eyeoh | Disks is gnome-disks | 10:24 |
eyeoh | meanwhile, there's gparted which is separate to both of those | 10:24 |
eyeoh | ideally, you shouldn't have to mess with any of that | 10:24 |
OscarWine | There are 5 partitions that have a padlock icon on the Mount of Point. | 10:25 |
OscarWine | The 2 NTFS partitions are among them | 10:26 |
OscarWine | Perhaps that is the issue: These 2 NTFS partitions are somehow 'locked'. | 10:28 |
OscarWine | eyeoh: I used USB Live of Lubuntu... And I was able to access the partitions. And now I can access them from the installed Lubuntu as well | 13:51 |
eyeoh | OscarWine: 24.04 or another version? | 13:52 |
eyeoh | what was the difference that made it work? | 13:52 |
OscarWine | eyeoh: Same as before, 24.04 | 13:52 |
OscarWine | I don't know... Maybe it was those commands lines that I used in Terminal | 13:52 |
eyeoh | and how about File Manager? | 13:53 |
OscarWine | Working as expected | 13:53 |
OscarWine | I don't think the USB Live fixed the issue | 13:53 |
eyeoh | hmm quite odd; but good to hear it works | 13:53 |
eyeoh | maybe it was just a reboot... | 13:53 |
OscarWine | So I can only imagined it was one of thoses commands | 13:53 |
eyeoh | that could have been it | 13:53 |
OscarWine | Possibly | 13:53 |
OscarWine | PCs are weird sometimes | 13:54 |
OscarWine | Do you know if it's possible to make Lubuntu even lighter on start up? I read someone saying he managed to make Lubuntu use around 190 MB ram on start up. | 13:55 |
OscarWine | Perhaps there are some unnecessary process that could be removed from the start up | 13:56 |
eyeoh | you could maybe try using openbox as your window manager (without uninstalling lxqt) | 13:56 |
eyeoh | I run i3wm on Debian Stable; with gnome installed but not used (apart from programs like gnome-terminal and stuff) | 13:56 |
eyeoh | openbox can be quite usable and has a good set of keyboard shortcuts available | 13:57 |
OscarWine | I will add this to the To Do list | 13:58 |
eyeoh | openbox might already be installed | 14:03 |
eyeoh | if so, just log out and select it from the corner after you enter your username | 14:03 |
eyeoh | if it's not installed, you can install it without removing anything else | 14:04 |
eyeoh | it doesn't occupy much space | 14:04 |
OscarWine | I will just restart to see if I still can access the partitions... BRB | 14:04 |
eyeoh | good idea | 14:04 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!