Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #203860
| From | Jonathan Dowland <jmtd@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Formatting a 32G or 16G SD card? |
| Date | 2019-01-03 11:40 +0100 |
| Message-ID | <xc8zU-2z7-3@gated-at.bofh.it> (permalink) |
| References | <xc6eJ-1df-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Jan 03, 2019 at 12:07:21AM -0800, John Conover wrote: >I'm want to format a "standard" 16G/32G SD card to OEM format. > >Could someone please verify that the following will do this: > > mkdosfs -I /dev/sdX > fdisk /dev/sdX n,p,1,default,default,w > mkfs.vfat /dev/sdX1 > >It seems to work, but could someone please verify that its correct? The "mkdosfs" seems to be superfluous, to me. As far as I can see, that will put a FAT16 filesystem directly onto the device. You then write a MBR-type filesystem over the top of it, and then a FAT32 filesystem into the sole partition. That said the documentation for mkdosfs "-I" is pretty unclear so perhaps it's doing something that you intend and I have missed. I assume the arguments to fdisk are intended to indicate the interactive options you would supply when running it and are not explicitly command-line arguments. I think fdisk will suggest an offset for the partition that is a multiple of the physical block size already, which you probably want. -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland ⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net ⠈⠳⣄⠀⠀⠀⠀ Please do not CC me, I am subscribed to the list.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Formatting a 32G or 16G SD card? conover@rahul.net (John Conover) - 2019-01-03 09:10 +0100
Re: Formatting a 32G or 16G SD card? Jonathan Dowland <jmtd@debian.org> - 2019-01-03 11:40 +0100
Re: Formatting a 32G or 16G SD card? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-03 21:10 +0100
Re: Formatting a 32G or 16G SD card? Jonathan Dowland <jmtd@debian.org> - 2019-01-04 11:00 +0100
Re: Formatting a 32G or 16G SD card? Curt <curty@free.fr> - 2019-01-04 14:40 +0100
Re: Formatting a 32G or 16G SD card? Jonathan Dowland <jmtd@debian.org> - 2019-01-04 17:30 +0100
Re: Formatting a 32G or 16G SD card? Curt <curty@free.fr> - 2019-01-04 17:40 +0100
Re: Formatting a 32G or 16G SD card? rhkramer@gmail.com - 2019-01-05 05:00 +0100
Re: Formatting a 32G or 16G SD card? <tomas@tuxteam.de> - 2019-01-04 17:40 +0100
Re: Formatting a 32G or 16G SD card? "Thomas Schmitt" <scdbackup@gmx.net> - 2019-01-04 18:50 +0100
Re: Formatting a 32G or 16G SD card? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-04 20:10 +0100
Re: Formatting a 32G or 16G SD card? <tomas@tuxteam.de> - 2019-01-05 10:30 +0100
Re: Formatting a 32G or 16G SD card? Joe <joe@jretrading.com> - 2019-01-05 10:40 +0100
Re: Formatting a 32G or 16G SD card? <tomas@tuxteam.de> - 2019-01-05 12:00 +0100
Re: Formatting a 32G or 16G SD card? Jonathan Dowland <jmtd@debian.org> - 2019-01-07 13:30 +0100
typos (was: Re: Formatting a 32G or 16G SD card?) rhkramer@gmail.com - 2019-01-05 04:20 +0100
Re: Formatting a 32G or 16G SD card? rhkramer@gmail.com - 2019-01-05 04:20 +0100
Re: Formatting a 32G or 16G SD card? rhkramer@gmail.com - 2019-01-05 04:40 +0100
Re: Formatting a 32G or 16G SD card? Curt <curty@free.fr> - 2019-01-05 10:10 +0100
csiph-web