this post was submitted on 08 Nov 2023
43 points (92.2% liked)

Linux

48082 readers
763 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 was playing a game, alt-tabbing froze my system so I waited a bit and then rebooted by using the button on the case, since I couldn't do differently.

It now throws an error when mounting a drive: error mounting /dev/sdb1 at /media/user/local disk 1: unknown error when mounting (udisks-error-quark, 0)

This drive doesn't have anything I was using on it, since it's a media storage drive. I booted up Windows on my second drive and it can see and access this one without problems. How to fix?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 year ago (1 children)

If otherwise you don't plan to use windows on that machine anymore (on bare metal, a virtual machine is not relevant here), it would be better to transfer your data to a Linux native file system. Unless you have a solid preference, ext4 is a good choice.

Basically you just need to copy your files over, but you may need to do it in chunks (and resize the 2 partitions in every round) if you can't hold the files if the NTFS file system safely while you reformat it.
Also, if you want to keep attributes like file creation time and last modification time, that'll require a bit more copy parameters, if you want this let me know and I'll fill you in on the details.
What distro do you use by the way?

[–] [email protected] 1 points 1 year ago (1 children)

I'll keep it in mind, but since I'm getting new, bigger drives I think I'll just wait for and format them directly in the better filesystem. I tried formatting an external HDD and I think I could only pick FAT or NTSC (I'll double check), hopefully on the internal drives it will be different!

I'm on Pop!

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

If you're using gnome disks, it hides the more Linuxy file systems behind an 'Other' option.

Personally, for removable drives I prefer to use

  • ext4 for HDDs
  • f2fs for SSDs
  • exfat for Windows compatibility

If it's grayed out or you're getting errors try searching up 'how to format as [file system] in [Pop OS/Ubuntu/Linux]', you might need some extra packages.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Yeah, most options were greyed out. I'll have to visit the wiki of my distro haha thanks for the tips though

edit: actually, just checked, EXT4 isn't greyed out, but it says "internal disk for use with Linux only" and since it's an external/portable HDD I didn't pick that option

[–] [email protected] 4 points 1 year ago

I'm pretty sure there's no difference between internal and external ext4 (at least how gnome disks handles it), so I think it's just trying to make sure users don't freak out when they format it as ext4 and think their data is all gone on Windows.

Also when it's grayed out you usually just have to install the fuse driver and file system tools, IIRC for exfat you install exfat-fuse and exfatprogs.