/srv/irclogs.ubuntu.com/2025/01/02/#lubuntu.txt

OscarWineI 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
OscarWineError 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 error09:20
OscarWineHow can I fix this error ? For the record, ntfs-3g is installed and Windows 10 Fast Boot is disabled.09:20
eyeohOscarWine: is it encrypted?09:23
OscarWineNo09:23
eyeohand what command are you trying?09:23
OscarWineI 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
eyeohmounting to that path seems a tad unusual09:24
OscarWineThen I use File Manager to try to open the partitions09:25
eyeohhave you tried mounting from the command line?09:26
OscarWineThere 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 NTFS09:26
eyeohe.g. https://linuxconfig.org/how-to-mount-partition-with-ntfs-file-system-and-read-write-access09:26
OscarWineNot yet; I wil check the link09:26
eyeohI found that page via https://duckduckgo.com/?t=ffab&q=linux+mount+ntfs&ia=web09:26
eyeohusing file manage can work, if it does work - but I rarely trust the GUI when it comes to this kind of troubleshooting.09:27
eyeohcommand line is a lot more clear as far as the process goes09:27
eyeohthere's no "look here, click there" kind of thing09:28
eyeohthe mount point doesn't really matter; you can use simply /mnt itself too09:28
eyeohyou don't necessarily need to create any directories beneath /mnt, but doing so might be nice for the future09:28
eyeohit's more to organise things and allow you to mount multiple things at the same time under /mnt09:29
eyeohI don't think ntfs-3g is required if you just want to read; but having it installed should do no harm either09:29
eyeohbe very sure that you don't have bitlocker enabled in windows. if it is, additional steps are required09:29
OscarWineMy 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
eyeohhmm "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
eyeohone step at a time09:31
eyeohjust focus on seeing if you can mount and read09:31
OscarWineSure, that's what I will do for the moment.09:31
eyeoharguably it might be better to use ext4 and let windows read that; but it really depends on which OS you use more09:32
eyeoheven btrfs, perhaps; but I'm not sure how stable that is in windows09:32
OscarWineIt's a PC from a family member, so I won't be able to say which OS the person will use more.09:33
OscarWineI 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 Manager09:45
eyeohcan you see them in your terminal?09:51
eyeohdo you know how to use the terminal?09:51
OscarWineYes, I know how to use the terminal and I can see them there10:03
eyeohI don't know what it is about file managers, but when they don't work, they're just a pain to deal with10:04
OscarWineThere are 10 partitions in total10:04
eyeohmaybe some of it is permission-related10:04
eyeohmaybe another thing is the speed of showing all the files10:04
OscarWinePartitions 5 and 6 are the NTFS partitions 10:04
OscarWinesda5 is the 100 GB partition and sda6 is the 755 GB partition10:05
eyeohexfat is possibly a better cross-platform filesystem than ntfs; possibly10:06
OscarWineI found this link describing the same problem: https://askubuntu.com/questions/1512710/wrong-fs-type-bad-option-bad-superblock-just-installed-lubuntu-24-0410:06
eyeohmaybe test a live USB of debian stable (cinnamon) as well, and see how that works10:06
OscarWineI tried this command: sudo ntfsfix -d /dev/sda510:07
eyeohI see "Problem mounting NTFS external drives is a known bug in 24.04. Solution : blacklist the ntfs3 driver from running"10:07
eyeohjust ubuntu issues...10:07
OscarWineAnd I got this message: Refusing to operate on read-write mounted device /dev/sda5.10:07
eyeohthe 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 policy10:08
OscarWineBut does this bug applies only to NTFS external drives? Because Both partitions are on the internal disk10:08
eyeohI don't know; maybe?10:08
eyeohit's something you have to just test10:08
eyeohand if a live USB of Debian 12.8 "just works", that'll be useful information10:09
eyeohI don't actually use any *buntus at the moment10:09
OscarWinePerhaps 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
eyeohI'm just here to see the weird issues that pop up, including one I've figured out a workaround with before10:10
eyeohsuggested by which user?10:10
eyeohoh in the bug report replies?10:11
eyeohseriously, just try a live USB of Debian 12.8 and see if you encounter the same issues10:11
eyeohit'll help narrow down what the problem is for you10:11
eyeohand save a lot of time10:11
OscarWineeaitfakir suggest to install them and TSJNachos117 said they don't have anything to do with ntfsfix10:11
eyeohyou could try that, but if I were you, I'd try what I suggested first10:11
eyeohor even 22.04 LTS10:12
OscarWineOk... I will create a USB live of Debian 12.8 to see what happens10:12
OscarWineI 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
eyeohwon't know without broader testing/troubleshooting as above10:14
OscarWineI 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
OscarWineWhile using the USB Live of Debian 12.8, would the File Manager be enough to see if I can mount these partitions? 10:19
eyeohnot sure; hopefully yes10:20
eyeohthe whole point of my troubleshooting process is to try something "ready-made" and see if anything different happens10:21
eyeohquite often, something different happens and a whole class of issues can be ruled out10:21
eyeohI have a good track record with this10:21
eyeohit looks like guessing and in some ways it is10:21
eyeohit's more a top-down approach than a bottom-up one10:22
eyeohonce another data point is established - whether successful, partially, or not, then the next step can be thought about10:22
eyeohbut the next step can't be skipped to until you try the first step first10:22
OscarWineFrom 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
eyeohyeah that should be similar enough10:24
eyeohDisks is gnome-disks10:24
eyeohmeanwhile, there's gparted which is separate to both of those10:24
eyeohideally, you shouldn't have to mess with any of that10:24
OscarWineThere are 5 partitions that have a padlock icon on the Mount of Point.10:25
OscarWineThe 2 NTFS partitions are among them10:26
OscarWinePerhaps that is the issue: These 2 NTFS partitions are somehow 'locked'.10:28
OscarWineeyeoh: 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 well13:51
eyeohOscarWine: 24.04 or another version?13:52
eyeohwhat was the difference that made it work?13:52
OscarWineeyeoh: Same as before, 24.0413:52
OscarWineI don't know... Maybe it was those commands lines that I used in Terminal13:52
eyeohand how about File Manager?13:53
OscarWineWorking as expected13:53
OscarWineI don't think the USB Live fixed the issue13:53
eyeohhmm quite odd; but good to hear it works13:53
eyeohmaybe it was just a reboot...13:53
OscarWineSo I can only imagined it was one of thoses commands13:53
eyeohthat could have been it13:53
OscarWinePossibly13:53
OscarWinePCs are weird sometimes13:54
OscarWineDo 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
OscarWinePerhaps there are some unnecessary process that could be removed from the start up13:56
eyeohyou could maybe try using openbox as your window manager (without uninstalling lxqt)13:56
eyeohI run i3wm on Debian Stable; with gnome installed but not used (apart from programs like gnome-terminal and stuff)13:56
eyeohopenbox can be quite usable and has a good set of keyboard shortcuts available13:57
OscarWineI will add this to the To Do list13:58
eyeohopenbox might already be installed14:03
eyeohif so, just log out and select it from the corner after you enter your username14:03
eyeohif it's not installed, you can install it without removing anything else14:04
eyeohit doesn't occupy much space14:04
OscarWineI will just restart to see if I still can access the partitions... BRB14:04
eyeohgood idea14:04

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!