0
0

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.

RasberryPiのメモ書き

Posted at

ハードウェアバージョン調べるコマンド

$ cat /proc/device-tree/model
Raspberry Pi 2 Model B Rev 1.1

SDカードから別のメディアにまるごとコピー

参考

まるごとコピー

$ git clone https://github.com/billw2/rpi-clone.git
$ cd rpi-clone
$ sudo fdisk -l
(コピー先のデバイス名確認)
$ sudo ./rpi-clone sda

コピー先のメディアからブート on Rasberry Pi2

  1. SDカード上の/boot/cmdline.txtのROOTをコピー先メディアのPARTUUIDにする
  2. コピー先メディアの/etc/fstabの/bootをSDカードの/bootのPARTUUIDにする
  3. reboot

コピー先のメディアからブート on Rasberry Pi3以降

  1. 電源落としてSDカード抜いて電源入れる

引用元

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?