this post was submitted on 25 Dec 2023
53 points (100.0% liked)

Linux

1259 readers
92 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
 

cross-posted from: https://lemmy.ml/post/9729797

I am needing to transfer a singular file of roughly 4.8GB from Linux Mint onto a thumb drive, so that I can transfer it to my Windows install on a separate partition on the same PC. However, it has repeatedly failed after 4.3GB, with an error message reading "Error splicing file: File too large".

How do I fix this issue, or get around it? I need that file moved.

EDIT: This issue has been resolved. It was caused by the thumb drive being formatted as MSdos, reformatting it to exfat seems to have done the trick. Just used right-click “format” on linux mint, no need for console or booting up windows.

top 7 comments
sorted by: hot top controversial new old
[–] temeela@lemmy.blahaj.zone 49 points 10 months ago (1 children)

Seems like your USB drive is formatted with a filesystem that doesn't support large files like FAT32, if you are able to, try formatting into exFAT in Linux with:

sudo mkfs.exfat -n LABEL /dev/YOURUSB

or in Windows by right clicking on the USB and clicking format.

[–] bluestarshield@lemmy.ml 5 points 10 months ago (2 children)

Alright, I've used your code, sudo mkfs.exfat -n LABEL /dev/sdb1

but the console returns this

exfatprogs version : 1.1.3
open failed : /dev/sdb1, Device or resource busy

exFAT format fail!

what's the problem here? I've cleared out all storage on the drive, and made sure that it isn't opened in the file explorer, and it shouldn't be reading/writing anything because it's empty.

thanks for the help btw

[–] itslilith@lemmy.blahaj.zone 28 points 10 months ago

You must unmount the drive before formatting. And also know that formatting wipes the drive, so if there is anything on there you want to keep, back it up beforehand

[–] Nyfure@kbin.social 10 points 10 months ago* (last edited 10 months ago)

It not only has to be not 'open' in the explorer, but properly unmounted. Tools like mkfs dont do that for you, its just not their job. (and might be unwanted or stop your from making mistakes like accidentally overwriting the wrong drive)

try umount /dev/USBDRIVE

If that still complaints about Device or ressource busy, then something is still using it.
Either try to close things that might be the culprit, reboot and try again or, if installed and you are compfortable, you can check which processes using lsof -D (you can get that location using mount | grep )

[–] FrostyPolicy@suppo.fi 9 points 10 months ago

Sounds like the drive is FAT32 formatted. Max file size then is 4GiB. Compress it with bzip2 or 7zip or try the @bartolomeo's solution.

[–] bartolomeo@suppo.fi 3 points 10 months ago* (last edited 10 months ago) (1 children)

Edit: nevermind, apparently I was wrong.

[–] bluestarshield@lemmy.ml 1 points 10 months ago

Sorry if it's a noob question, but isn't a live session something you do with a USB stick without installing? The file is currently on the Mint install I used to torrent it, along with my other daily-driver things.