[09:20] 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] 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] How can I fix this error ? For the record, ntfs-3g is installed and Windows 10 Fast Boot is disabled. [09:23] OscarWine: is it encrypted? [09:23] No [09:23] and what command are you trying? [09:24] 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] mounting to that path seems a tad unusual [09:25] Then I use File Manager to try to open the partitions [09:26] have you tried mounting from the command line? [09:26] 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] e.g. https://linuxconfig.org/how-to-mount-partition-with-ntfs-file-system-and-read-write-access [09:26] Not yet; I wil check the link [09:26] I found that page via https://duckduckgo.com/?t=ffab&q=linux+mount+ntfs&ia=web [09:27] 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] command line is a lot more clear as far as the process goes [09:28] there's no "look here, click there" kind of thing [09:28] the mount point doesn't really matter; you can use simply /mnt itself too [09:28] you don't necessarily need to create any directories beneath /mnt, but doing so might be nice for the future [09:29] it's more to organise things and allow you to mount multiple things at the same time under /mnt [09:29] 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] be very sure that you don't have bitlocker enabled in windows. if it is, additional steps are required [09:30] 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:31] 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] one step at a time [09:31] just focus on seeing if you can mount and read [09:31] Sure, that's what I will do for the moment. [09:32] 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] even btrfs, perhaps; but I'm not sure how stable that is in windows [09:33] It's a PC from a family member, so I won't be able to say which OS the person will use more. [09:45] 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:51] can you see them in your terminal? [09:51] do you know how to use the terminal? [10:03] Yes, I know how to use the terminal and I can see them there [10:04] 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] There are 10 partitions in total [10:04] maybe some of it is permission-related [10:04] maybe another thing is the speed of showing all the files [10:04] Partitions 5 and 6 are the NTFS partitions [10:05] sda5 is the 100 GB partition and sda6 is the 755 GB partition [10:06] exfat is possibly a better cross-platform filesystem than ntfs; possibly [10:06] 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] maybe test a live USB of debian stable (cinnamon) as well, and see how that works [10:07] I tried this command: sudo ntfsfix -d /dev/sda5 [10:07] I see "Problem mounting NTFS external drives is a known bug in 24.04. Solution : blacklist the ntfs3 driver from running" [10:07] just ubuntu issues... [10:07] And I got this message: Refusing to operate on read-write mounted device /dev/sda5. [10:08] 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] But does this bug applies only to NTFS external drives? Because Both partitions are on the internal disk [10:08] I don't know; maybe? [10:08] it's something you have to just test [10:09] and if a live USB of Debian 12.8 "just works", that'll be useful information [10:09] I don't actually use any *buntus at the moment [10:10] 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] I'm just here to see the weird issues that pop up, including one I've figured out a workaround with before [10:10] suggested by which user? [10:11] oh in the bug report replies? [10:11] seriously, just try a live USB of Debian 12.8 and see if you encounter the same issues [10:11] it'll help narrow down what the problem is for you [10:11] and save a lot of time [10:11] eaitfakir suggest to install them and TSJNachos117 said they don't have anything to do with ntfsfix [10:11] you could try that, but if I were you, I'd try what I suggested first [10:12] or even 22.04 LTS [10:12] Ok... I will create a USB live of Debian 12.8 to see what happens [10:14] 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] won't know without broader testing/troubleshooting as above [10:18] 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:19] While using the USB Live of Debian 12.8, would the File Manager be enough to see if I can mount these partitions? [10:20] not sure; hopefully yes [10:21] the whole point of my troubleshooting process is to try something "ready-made" and see if anything different happens [10:21] quite often, something different happens and a whole class of issues can be ruled out [10:21] I have a good track record with this [10:21] it looks like guessing and in some ways it is [10:22] it's more a top-down approach than a bottom-up one [10:22] once another data point is established - whether successful, partially, or not, then the next step can be thought about [10:22] but the next step can't be skipped to until you try the first step first [10:24] 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] yeah that should be similar enough [10:24] Disks is gnome-disks [10:24] meanwhile, there's gparted which is separate to both of those [10:24] ideally, you shouldn't have to mess with any of that [10:25] There are 5 partitions that have a padlock icon on the Mount of Point. [10:26] The 2 NTFS partitions are among them [10:28] Perhaps that is the issue: These 2 NTFS partitions are somehow 'locked'. [13:51] 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:52] OscarWine: 24.04 or another version? [13:52] what was the difference that made it work? [13:52] eyeoh: Same as before, 24.04 [13:52] I don't know... Maybe it was those commands lines that I used in Terminal [13:53] and how about File Manager? [13:53] Working as expected [13:53] I don't think the USB Live fixed the issue [13:53] hmm quite odd; but good to hear it works [13:53] maybe it was just a reboot... [13:53] So I can only imagined it was one of thoses commands [13:53] that could have been it [13:53] Possibly [13:54] PCs are weird sometimes [13:55] 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:56] Perhaps there are some unnecessary process that could be removed from the start up [13:56] you could maybe try using openbox as your window manager (without uninstalling lxqt) [13:56] I run i3wm on Debian Stable; with gnome installed but not used (apart from programs like gnome-terminal and stuff) [13:57] openbox can be quite usable and has a good set of keyboard shortcuts available [13:58] I will add this to the To Do list [14:03] openbox might already be installed [14:03] if so, just log out and select it from the corner after you enter your username [14:04] if it's not installed, you can install it without removing anything else [14:04] it doesn't occupy much space [14:04] I will just restart to see if I still can access the partitions... BRB [14:04] good idea