2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Raspberry Pi OSなどの img ファイルの中身を macOS で展開して確認する

Posted at

Raspberry Pi OSファイルはimg形式で配布されています。

この中身を確認してみました。

7-zip をインストールします。

$ brew install  brew install 7-zip

7zz コマンドに x サブコマンドを渡すと展開できます。

$ 7zz x 2022-09-22-raspios-bullseye-arm64.img

7-Zip (z) 22.01 (arm64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
 64-bit arm_v:8 locale=en_US.UTF-8 Threads:8, ASM

Scanning the drive for archives:
1 file, 4265607168 bytes (4068 MiB)

Extracting archive: 2022-09-22-raspios-bullseye-arm64.img
--
Path = 2022-09-22-raspios-bullseye-arm64.img
Type = MBR
Physical Size = 4265607168

Everything is Ok

Files: 2
Size:       4261412864
Compressed: 4265607168

一度展開すると 1.img のファイルが見えます。

image.png

さらにもう一度 7zz を掛けると展開できます。

7zz 1.img

image.png

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?