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

Linux

47373 readers
795 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
[–] [email protected] 12 points 10 months ago (2 children)

Do you have hibernation and fast boot disabled?

[–] [email protected] 2 points 10 months ago* (last edited 10 months 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"

[–] [email protected] 1 points 10 months ago

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

[–] [email protected] 10 points 10 months 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

[–] [email protected] 8 points 10 months ago (1 children)

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

[–] [email protected] 5 points 10 months ago* (last edited 10 months 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.

[–] [email protected] 5 points 10 months ago* (last edited 10 months 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)

[–] [email protected] 1 points 10 months ago* (last edited 10 months 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 😒.

[–] [email protected] 3 points 10 months 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

[–] [email protected] 2 points 10 months ago

Yep, first a test run 👍.

[–] [email protected] 2 points 10 months ago* (last edited 10 months 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/

[–] [email protected] 2 points 10 months ago (1 children)

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

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

[–] [email protected] 1 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago

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

[–] [email protected] 1 points 10 months ago* (last edited 10 months 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

[–] [email protected] 0 points 10 months ago

Try specifying filesystem as ntfs3 in fstab