Create and format exFAT partition from Linuxback-up database in Linux partition from windows partition!How to...
How much did all the space agencies spent on rockets launching and space exploration? What are the benefits for me and you?
BIP-23 criticism: Is bitcoin PoW actually sha256+merkleGeneration? Or have I misunderstood coinbase/append?
Polynomials with natural coefficients arising from exponentiation and sums
Can two waves interfere head on?
How to tell readers that I know my story is factually incorrect?
What does "play in traffic" mean?
Inside Out and Back to Front
Project Euler # 25 The 1000 digit Fibonacci index
Why would word of Princess Leia's capture generate sympathy for the Rebellion in the Senate?
How does mathematics work?
Conditional statement in a function for PS1 are not re-evalutated
How far off did Apollo 11 land?
A Real World Example for Divide and Conquer Method
Can a crisscrossed metallic skeleton resist earthquakes for buildings?
Do pedestrians imitate automotive traffic?
How can electronics on board JWST survive the low operating temperature while it's difficult to survive lunar nights?
Nilpotent elements of Lie algebra and unipotent groups
ESTA Travel not Authorized. Accepted twice before!
Time war story - soldier name lengthens as he travels further from the battle front
Rule of thumb to choose right mix of Rodinal developer?
What's the physical meaning of the statement that "photons don't have positions"?
Have any lunar probes used a cold shield?
Why should fork() have been designed to return a file descriptor?
Should I have one hand on the throttle during engine ignition?
Create and format exFAT partition from Linux
back-up database in Linux partition from windows partition!How to create a new partition on a hard disk?When is exFAT coming to Linux?How can I partition and format my disk to an accuracy of “LBA” by commands?How to format a partition inside of an img file?Disk format settings for linux bootableLinux distribution with out-of-the-box exFAT supportexFAT vs NTFS on LinuxHow to do a full exfat format in Linux (RaspberryPi)Mac OS cannot mount exFAT disk created on (Ubuntu) linux
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Is it possible to create and format an exFAT partition from Linux?
linux filesystems
add a comment |
Is it possible to create and format an exFAT partition from Linux?
linux filesystems
add a comment |
Is it possible to create and format an exFAT partition from Linux?
linux filesystems
Is it possible to create and format an exFAT partition from Linux?
linux filesystems
linux filesystems
edited Jan 14 '13 at 23:12
Gilles
565k134 gold badges1161 silver badges1670 bronze badges
565k134 gold badges1161 silver badges1670 bronze badges
asked Jan 14 '13 at 2:32
Sean ColsenSean Colsen
4001 gold badge4 silver badges8 bronze badges
4001 gold badge4 silver badges8 bronze badges
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Yes, there is a project implementing exfat and the related utilities at relan/exfat.
To format a partition, use mkexfatfs / mkfs.exfat like with most filesystems, e.g.:
mkfs.exfat /dev/sdX1
As for creating the partition in the first place, this is the same as for any other filesystem. Create a partition in your favourite partition manager. If you have a MBR partition type, set its type to NTFS (that is code 7).
Note, that some distributions only package the fuse module, so you may have to build it yourself.
9
On Ubuntu I just had to install a couple packages first:sudo apt-get install exfat-utils exfat-fuse. Source: askubuntu.com/a/374627/18665
– bmaupin
Aug 28 '15 at 18:21
2
To be clear, the code is 7 (hex), not 7h.
– thetoolman
Mar 17 '16 at 0:27
On modernfdiskthe type you want is11(Microsoft basic data). Disregard the google.code.com link in the answer and instead use @bmaupin's command on Debian/Ubuntu.
– Adam Katz
Dec 2 '17 at 20:07
be careful while doing this, it didnot warn me and completely deleted all the files I had in it. So first backup and then do it
– doniyor
Mar 30 '18 at 9:58
1
This worked fine for me. I already had the exfat and fuse installed. BUT... the post blow from Billious is misleading. IF you have just formatted a drive, you must supply more information tomkfs.exfat-- Like where to put the partition and how big, ya-da-ya-da. I'm just lazy. I usedgPartedto set-u my USB how I wanted. Leave the partition you want to make exFAT alone. Or format it to FAT32 to process the whole USB. Next ensure the target partition is unmounted. Proceed, e.g.:sudo mkfs.exfat -i DAT -n data /dev/sdc3. I letgParteddeal with alignments and such.
– will
Oct 8 '18 at 13:09
add a comment |
The mkfs.exfat solution above works if a partition already exists on a drive, like a purchased USB pen drive. Use this link if you're starting from a bare disk:
Formatting a Universal Drive
add a comment |
On the command line, the process is as follows:
Use the lsblk command to find out which drive your usb stick is. (for example /dev/sdx)
lsblk
Then start parted and tell it which drive you want to perform operations on:
sudo parted /dev/sdx
In parted interactive mode type:
mklabel msdos
Now reboot. And after the reboot do:
sudo parted /dev/sdx
And in parted interactive mode type:
mkpart primary ext4 0% 100%
When the partition is created, press q to exit parted.
Now that the flash drive contains a partition, create an exFAT filesystem on the newly created partition (replacing the ext4 filesystem that only works on Linux):
sudo mkfs.exfat /dev/sdx1
Copy-pasted from https://forum.manjaro.org/t/how-to-format-a-usb-stick-so-that-it-is-usable-on-manjaro-windows-and-macos/3972
Personally, I skipped the "reboot" step. Instead, I pulled out the USB stick (sdb went away) and after reinserting it came up as sdd. If it wasn't obvious, with sdx1 the "x" could be any letter of the alphabet (usually it's a, b, c, d...) but it depends on your particular setup.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f61209%2fcreate-and-format-exfat-partition-from-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, there is a project implementing exfat and the related utilities at relan/exfat.
To format a partition, use mkexfatfs / mkfs.exfat like with most filesystems, e.g.:
mkfs.exfat /dev/sdX1
As for creating the partition in the first place, this is the same as for any other filesystem. Create a partition in your favourite partition manager. If you have a MBR partition type, set its type to NTFS (that is code 7).
Note, that some distributions only package the fuse module, so you may have to build it yourself.
9
On Ubuntu I just had to install a couple packages first:sudo apt-get install exfat-utils exfat-fuse. Source: askubuntu.com/a/374627/18665
– bmaupin
Aug 28 '15 at 18:21
2
To be clear, the code is 7 (hex), not 7h.
– thetoolman
Mar 17 '16 at 0:27
On modernfdiskthe type you want is11(Microsoft basic data). Disregard the google.code.com link in the answer and instead use @bmaupin's command on Debian/Ubuntu.
– Adam Katz
Dec 2 '17 at 20:07
be careful while doing this, it didnot warn me and completely deleted all the files I had in it. So first backup and then do it
– doniyor
Mar 30 '18 at 9:58
1
This worked fine for me. I already had the exfat and fuse installed. BUT... the post blow from Billious is misleading. IF you have just formatted a drive, you must supply more information tomkfs.exfat-- Like where to put the partition and how big, ya-da-ya-da. I'm just lazy. I usedgPartedto set-u my USB how I wanted. Leave the partition you want to make exFAT alone. Or format it to FAT32 to process the whole USB. Next ensure the target partition is unmounted. Proceed, e.g.:sudo mkfs.exfat -i DAT -n data /dev/sdc3. I letgParteddeal with alignments and such.
– will
Oct 8 '18 at 13:09
add a comment |
Yes, there is a project implementing exfat and the related utilities at relan/exfat.
To format a partition, use mkexfatfs / mkfs.exfat like with most filesystems, e.g.:
mkfs.exfat /dev/sdX1
As for creating the partition in the first place, this is the same as for any other filesystem. Create a partition in your favourite partition manager. If you have a MBR partition type, set its type to NTFS (that is code 7).
Note, that some distributions only package the fuse module, so you may have to build it yourself.
9
On Ubuntu I just had to install a couple packages first:sudo apt-get install exfat-utils exfat-fuse. Source: askubuntu.com/a/374627/18665
– bmaupin
Aug 28 '15 at 18:21
2
To be clear, the code is 7 (hex), not 7h.
– thetoolman
Mar 17 '16 at 0:27
On modernfdiskthe type you want is11(Microsoft basic data). Disregard the google.code.com link in the answer and instead use @bmaupin's command on Debian/Ubuntu.
– Adam Katz
Dec 2 '17 at 20:07
be careful while doing this, it didnot warn me and completely deleted all the files I had in it. So first backup and then do it
– doniyor
Mar 30 '18 at 9:58
1
This worked fine for me. I already had the exfat and fuse installed. BUT... the post blow from Billious is misleading. IF you have just formatted a drive, you must supply more information tomkfs.exfat-- Like where to put the partition and how big, ya-da-ya-da. I'm just lazy. I usedgPartedto set-u my USB how I wanted. Leave the partition you want to make exFAT alone. Or format it to FAT32 to process the whole USB. Next ensure the target partition is unmounted. Proceed, e.g.:sudo mkfs.exfat -i DAT -n data /dev/sdc3. I letgParteddeal with alignments and such.
– will
Oct 8 '18 at 13:09
add a comment |
Yes, there is a project implementing exfat and the related utilities at relan/exfat.
To format a partition, use mkexfatfs / mkfs.exfat like with most filesystems, e.g.:
mkfs.exfat /dev/sdX1
As for creating the partition in the first place, this is the same as for any other filesystem. Create a partition in your favourite partition manager. If you have a MBR partition type, set its type to NTFS (that is code 7).
Note, that some distributions only package the fuse module, so you may have to build it yourself.
Yes, there is a project implementing exfat and the related utilities at relan/exfat.
To format a partition, use mkexfatfs / mkfs.exfat like with most filesystems, e.g.:
mkfs.exfat /dev/sdX1
As for creating the partition in the first place, this is the same as for any other filesystem. Create a partition in your favourite partition manager. If you have a MBR partition type, set its type to NTFS (that is code 7).
Note, that some distributions only package the fuse module, so you may have to build it yourself.
edited Apr 11 '18 at 6:48
Tombart
1,0182 gold badges18 silver badges28 bronze badges
1,0182 gold badges18 silver badges28 bronze badges
answered Jan 14 '13 at 14:33
crater2150crater2150
2,7132 gold badges15 silver badges23 bronze badges
2,7132 gold badges15 silver badges23 bronze badges
9
On Ubuntu I just had to install a couple packages first:sudo apt-get install exfat-utils exfat-fuse. Source: askubuntu.com/a/374627/18665
– bmaupin
Aug 28 '15 at 18:21
2
To be clear, the code is 7 (hex), not 7h.
– thetoolman
Mar 17 '16 at 0:27
On modernfdiskthe type you want is11(Microsoft basic data). Disregard the google.code.com link in the answer and instead use @bmaupin's command on Debian/Ubuntu.
– Adam Katz
Dec 2 '17 at 20:07
be careful while doing this, it didnot warn me and completely deleted all the files I had in it. So first backup and then do it
– doniyor
Mar 30 '18 at 9:58
1
This worked fine for me. I already had the exfat and fuse installed. BUT... the post blow from Billious is misleading. IF you have just formatted a drive, you must supply more information tomkfs.exfat-- Like where to put the partition and how big, ya-da-ya-da. I'm just lazy. I usedgPartedto set-u my USB how I wanted. Leave the partition you want to make exFAT alone. Or format it to FAT32 to process the whole USB. Next ensure the target partition is unmounted. Proceed, e.g.:sudo mkfs.exfat -i DAT -n data /dev/sdc3. I letgParteddeal with alignments and such.
– will
Oct 8 '18 at 13:09
add a comment |
9
On Ubuntu I just had to install a couple packages first:sudo apt-get install exfat-utils exfat-fuse. Source: askubuntu.com/a/374627/18665
– bmaupin
Aug 28 '15 at 18:21
2
To be clear, the code is 7 (hex), not 7h.
– thetoolman
Mar 17 '16 at 0:27
On modernfdiskthe type you want is11(Microsoft basic data). Disregard the google.code.com link in the answer and instead use @bmaupin's command on Debian/Ubuntu.
– Adam Katz
Dec 2 '17 at 20:07
be careful while doing this, it didnot warn me and completely deleted all the files I had in it. So first backup and then do it
– doniyor
Mar 30 '18 at 9:58
1
This worked fine for me. I already had the exfat and fuse installed. BUT... the post blow from Billious is misleading. IF you have just formatted a drive, you must supply more information tomkfs.exfat-- Like where to put the partition and how big, ya-da-ya-da. I'm just lazy. I usedgPartedto set-u my USB how I wanted. Leave the partition you want to make exFAT alone. Or format it to FAT32 to process the whole USB. Next ensure the target partition is unmounted. Proceed, e.g.:sudo mkfs.exfat -i DAT -n data /dev/sdc3. I letgParteddeal with alignments and such.
– will
Oct 8 '18 at 13:09
9
9
On Ubuntu I just had to install a couple packages first:
sudo apt-get install exfat-utils exfat-fuse. Source: askubuntu.com/a/374627/18665– bmaupin
Aug 28 '15 at 18:21
On Ubuntu I just had to install a couple packages first:
sudo apt-get install exfat-utils exfat-fuse. Source: askubuntu.com/a/374627/18665– bmaupin
Aug 28 '15 at 18:21
2
2
To be clear, the code is 7 (hex), not 7h.
– thetoolman
Mar 17 '16 at 0:27
To be clear, the code is 7 (hex), not 7h.
– thetoolman
Mar 17 '16 at 0:27
On modern
fdisk the type you want is 11 (Microsoft basic data). Disregard the google.code.com link in the answer and instead use @bmaupin's command on Debian/Ubuntu.– Adam Katz
Dec 2 '17 at 20:07
On modern
fdisk the type you want is 11 (Microsoft basic data). Disregard the google.code.com link in the answer and instead use @bmaupin's command on Debian/Ubuntu.– Adam Katz
Dec 2 '17 at 20:07
be careful while doing this, it didnot warn me and completely deleted all the files I had in it. So first backup and then do it
– doniyor
Mar 30 '18 at 9:58
be careful while doing this, it didnot warn me and completely deleted all the files I had in it. So first backup and then do it
– doniyor
Mar 30 '18 at 9:58
1
1
This worked fine for me. I already had the exfat and fuse installed. BUT... the post blow from Billious is misleading. IF you have just formatted a drive, you must supply more information to
mkfs.exfat -- Like where to put the partition and how big, ya-da-ya-da. I'm just lazy. I used gParted to set-u my USB how I wanted. Leave the partition you want to make exFAT alone. Or format it to FAT32 to process the whole USB. Next ensure the target partition is unmounted. Proceed, e.g.: sudo mkfs.exfat -i DAT -n data /dev/sdc3. I let gParted deal with alignments and such.– will
Oct 8 '18 at 13:09
This worked fine for me. I already had the exfat and fuse installed. BUT... the post blow from Billious is misleading. IF you have just formatted a drive, you must supply more information to
mkfs.exfat -- Like where to put the partition and how big, ya-da-ya-da. I'm just lazy. I used gParted to set-u my USB how I wanted. Leave the partition you want to make exFAT alone. Or format it to FAT32 to process the whole USB. Next ensure the target partition is unmounted. Proceed, e.g.: sudo mkfs.exfat -i DAT -n data /dev/sdc3. I let gParted deal with alignments and such.– will
Oct 8 '18 at 13:09
add a comment |
The mkfs.exfat solution above works if a partition already exists on a drive, like a purchased USB pen drive. Use this link if you're starting from a bare disk:
Formatting a Universal Drive
add a comment |
The mkfs.exfat solution above works if a partition already exists on a drive, like a purchased USB pen drive. Use this link if you're starting from a bare disk:
Formatting a Universal Drive
add a comment |
The mkfs.exfat solution above works if a partition already exists on a drive, like a purchased USB pen drive. Use this link if you're starting from a bare disk:
Formatting a Universal Drive
The mkfs.exfat solution above works if a partition already exists on a drive, like a purchased USB pen drive. Use this link if you're starting from a bare disk:
Formatting a Universal Drive
answered Aug 6 '18 at 16:28
BilliousBillious
213 bronze badges
213 bronze badges
add a comment |
add a comment |
On the command line, the process is as follows:
Use the lsblk command to find out which drive your usb stick is. (for example /dev/sdx)
lsblk
Then start parted and tell it which drive you want to perform operations on:
sudo parted /dev/sdx
In parted interactive mode type:
mklabel msdos
Now reboot. And after the reboot do:
sudo parted /dev/sdx
And in parted interactive mode type:
mkpart primary ext4 0% 100%
When the partition is created, press q to exit parted.
Now that the flash drive contains a partition, create an exFAT filesystem on the newly created partition (replacing the ext4 filesystem that only works on Linux):
sudo mkfs.exfat /dev/sdx1
Copy-pasted from https://forum.manjaro.org/t/how-to-format-a-usb-stick-so-that-it-is-usable-on-manjaro-windows-and-macos/3972
Personally, I skipped the "reboot" step. Instead, I pulled out the USB stick (sdb went away) and after reinserting it came up as sdd. If it wasn't obvious, with sdx1 the "x" could be any letter of the alphabet (usually it's a, b, c, d...) but it depends on your particular setup.
add a comment |
On the command line, the process is as follows:
Use the lsblk command to find out which drive your usb stick is. (for example /dev/sdx)
lsblk
Then start parted and tell it which drive you want to perform operations on:
sudo parted /dev/sdx
In parted interactive mode type:
mklabel msdos
Now reboot. And after the reboot do:
sudo parted /dev/sdx
And in parted interactive mode type:
mkpart primary ext4 0% 100%
When the partition is created, press q to exit parted.
Now that the flash drive contains a partition, create an exFAT filesystem on the newly created partition (replacing the ext4 filesystem that only works on Linux):
sudo mkfs.exfat /dev/sdx1
Copy-pasted from https://forum.manjaro.org/t/how-to-format-a-usb-stick-so-that-it-is-usable-on-manjaro-windows-and-macos/3972
Personally, I skipped the "reboot" step. Instead, I pulled out the USB stick (sdb went away) and after reinserting it came up as sdd. If it wasn't obvious, with sdx1 the "x" could be any letter of the alphabet (usually it's a, b, c, d...) but it depends on your particular setup.
add a comment |
On the command line, the process is as follows:
Use the lsblk command to find out which drive your usb stick is. (for example /dev/sdx)
lsblk
Then start parted and tell it which drive you want to perform operations on:
sudo parted /dev/sdx
In parted interactive mode type:
mklabel msdos
Now reboot. And after the reboot do:
sudo parted /dev/sdx
And in parted interactive mode type:
mkpart primary ext4 0% 100%
When the partition is created, press q to exit parted.
Now that the flash drive contains a partition, create an exFAT filesystem on the newly created partition (replacing the ext4 filesystem that only works on Linux):
sudo mkfs.exfat /dev/sdx1
Copy-pasted from https://forum.manjaro.org/t/how-to-format-a-usb-stick-so-that-it-is-usable-on-manjaro-windows-and-macos/3972
Personally, I skipped the "reboot" step. Instead, I pulled out the USB stick (sdb went away) and after reinserting it came up as sdd. If it wasn't obvious, with sdx1 the "x" could be any letter of the alphabet (usually it's a, b, c, d...) but it depends on your particular setup.
On the command line, the process is as follows:
Use the lsblk command to find out which drive your usb stick is. (for example /dev/sdx)
lsblk
Then start parted and tell it which drive you want to perform operations on:
sudo parted /dev/sdx
In parted interactive mode type:
mklabel msdos
Now reboot. And after the reboot do:
sudo parted /dev/sdx
And in parted interactive mode type:
mkpart primary ext4 0% 100%
When the partition is created, press q to exit parted.
Now that the flash drive contains a partition, create an exFAT filesystem on the newly created partition (replacing the ext4 filesystem that only works on Linux):
sudo mkfs.exfat /dev/sdx1
Copy-pasted from https://forum.manjaro.org/t/how-to-format-a-usb-stick-so-that-it-is-usable-on-manjaro-windows-and-macos/3972
Personally, I skipped the "reboot" step. Instead, I pulled out the USB stick (sdb went away) and after reinserting it came up as sdd. If it wasn't obvious, with sdx1 the "x" could be any letter of the alphabet (usually it's a, b, c, d...) but it depends on your particular setup.
edited 44 mins ago
answered 54 mins ago
PJ BrunetPJ Brunet
3262 silver badges11 bronze badges
3262 silver badges11 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f61209%2fcreate-and-format-exfat-partition-from-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown