this post was submitted on 02 Nov 2023
21 points (92.0% liked)

Linux

48186 readers
1226 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have two drives, an ssd with windows and ubuntu installed in dual boot, and an hdd with some personal files.

I used to be able to access my hdd from both OSs just fine, but now all of a sudden i can't mount my it on ubuntu.

I can open the hdd just fine while on windows but on ubuntu i get the following error:

Unable fo access location: Error mounting /dev/sda2 at /media/MyName/MyDrive: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error

Real helpful error message i gotta say, "It could be either of these 5 things, or something else, idk", lol.

Anyway, what can i do about this? I'd like to be able to access my hdd from ubuntu again.

all 19 comments
sorted by: hot top controversial new old
[–] VelociCatTurd@lemmy.world 12 points 1 year ago (2 children)

Do you have hibernation and fast boot disabled?

[–] Jorgelino@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Yes, that's the first thing i tried.

Edit: I guess i didn't, since shift+shutdown worked. Or at least i did, but windows said: "I'm going to ignore that"

[–] wulf@lemmy.world 1 points 1 year ago

This was my problem, it's enabled by default, so double check that

[–] possiblylinux127@lemmy.zip 10 points 1 year ago

For those wondering, the problem was that windows didn't fully unmount the drive. To fix this you need to fully shutdown windows with the command line or the shift key.

https://lemmy.ml/comment/5460003

[–] 0x4E4F@infosec.pub 8 points 1 year ago (1 children)

Try Shift + Shutdown in Windows, then boot in Linux, see if the problem is solved.

[–] Jorgelino@lemmy.ml 5 points 1 year ago* (last edited 1 year ago) (2 children)

That worked! Thanks.

But like, i'm pretty sure i turned off fast boot, not sure why windows was still doing this hybrid shutdown bs.

[–] possiblylinux127@lemmy.zip 5 points 1 year ago* (last edited 1 year ago) (1 children)

Because Windows. Maybe try using winbtrfs? Its alpha quality but it seems to work for some people. (You will need to format the drive as btrfs)

[–] 0x4E4F@infosec.pub 1 points 1 year ago* (last edited 1 year ago) (1 children)

You could actually install Windows on btrfs with that driver 🤨? Never tried it... but would be willing to try, since I'm sick and tired of Windows store corruption 😒.

[–] possiblylinux127@lemmy.zip 3 points 1 year ago (1 children)

I have a feeling it would be very unstable and prone to corruption. However you could try it in a VM just for funzies

[–] 0x4E4F@infosec.pub 2 points 1 year ago

Yep, first a test run 👍.

[–] 0x4E4F@infosec.pub 2 points 1 year ago* (last edited 1 year ago)

Maybe and updated turned it back on 🤷.

Look into this, I use it on all Windows installs.

https://www.sordum.org/9470/windows-update-blocker-v1-8/

[–] jlow@beehaw.org 2 points 1 year ago (1 children)

Obviously use at your own risk but maybe ntfsfix can help:

https://man.archlinux.org/man/ntfsfix.8.en

[–] Jorgelino@lemmy.ml 1 points 1 year ago (1 children)
[–] wmassingham@lemmy.world 1 points 1 year ago (1 children)
[–] VelociCatTurd@lemmy.world 1 points 1 year ago

Doesn’t this say to “reply to a first offender off-line” or did you not even read it.

[–] Jorgelino@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

Just to make it clear for anyone coming in now, the problem was solved! Thanks everyone for all the help.

It was really simple in the end, all i did was shift+shutdown on windows and it worked.

https://lemmy.ml/comment/5460003

[–] Lojcs@lemm.ee 0 points 1 year ago

Try specifying filesystem as ntfs3 in fstab