[SOLVED] Can't access drive on linux/windows dual boot (lemmy.ml)
from Jorgelino@lemmy.ml to linux@lemmy.ml on 02 Nov 2023 19:36
https://lemmy.ml/post/7402649

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.

#linux

threaded - newest

wmassingham@lemmy.world on 02 Nov 2023 19:39 next collapse

www.catb.org/~esr/faqs/smart-questions.html#chron…

VelociCatTurd@lemmy.world on 02 Nov 2023 19:55 collapse

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

VelociCatTurd@lemmy.world on 02 Nov 2023 19:54 next collapse

Do you have hibernation and fast boot disabled?

wulf@lemmy.world on 02 Nov 2023 23:58 next collapse

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

Jorgelino@lemmy.ml on 03 Nov 2023 01:15 collapse

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”

0x4E4F@infosec.pub on 02 Nov 2023 21:16 next collapse

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

Jorgelino@lemmy.ml on 03 Nov 2023 01:46 collapse

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 on 03 Nov 2023 04:17 next collapse

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 on 03 Nov 2023 07:12 collapse

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 on 03 Nov 2023 13:16 collapse

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 on 03 Nov 2023 16:35 collapse

Yep, first a test run 👍.

0x4E4F@infosec.pub on 03 Nov 2023 07:15 collapse

Maybe and updated turned it back on 🤷.

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

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

Lojcs@lemm.ee on 02 Nov 2023 21:32 next collapse

Try specifying filesystem as ntfs3 in fstab

jlow@beehaw.org on 02 Nov 2023 21:52 next collapse

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

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

Jorgelino@lemmy.ml on 03 Nov 2023 01:16 collapse

Will try, thanks.

[deleted] on 03 Nov 2023 18:31 collapse

.

Jorgelino@lemmy.ml on 03 Nov 2023 20:27 collapse

Yes, shift+shutdown worked.

possiblylinux127@lemmy.zip on 03 Nov 2023 04:19 next collapse

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.

lemmy.ml/comment/5460003

Jorgelino@lemmy.ml on 03 Nov 2023 20:41 collapse

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.

lemmy.ml/comment/5460003