1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Macでストレージをext4でフォーマットする

Posted at

NTFSの外付けHDDをext4にフォーマットしたい

$ brew install e2fsprogs

初期化先を確認

$ diskutil list
$ sudo (brew --prefix e2fsprogs)/sbin/mkfs.ext4 /dev/disk9
mke2fs 1.47.0 (5-Feb-2023)
/dev/disk9: Resource busy while setting up superblock

怒られたのでumount

$ diskutil unmountDisk disk9

retry

$ sudo (brew --prefix e2fsprogs)/sbin/mkfs.ext4 /dev/disk9
mke2fs 1.47.0 (5-Feb-2023)
Creating filesystem with 732566644 4k blocks and 183148544 inodes
Filesystem UUID: a6274620-735f-44b0-83bb-d3f5d5f43d50
Superblock backups stored on blocks:
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
	4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
	102400000, 214990848, 512000000, 550731776, 644972544

Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done

以上

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?