ページ

2018年11月20日火曜日

Raspberry Pi SDカードコピー等

前回複数のSDカードを読み取れるドライブを買う前まで書いた。


これが、届いて、まずはMacで試した。当然動きましたね。
ということで、RasPiに取り付けて試したが、これも難なく動いた。
GUIのみでファイルのコピーもできたのでキーボードを持って行かなくても使える。(>ω<)
Back Up用としてSDカード入手しないとな。
先日Western Digitalのサイトを見ていたら、SDカード読み取りのできるSSDが米国では発売されているよう。なぜか日本ではない・・・。 並行輸入品はやたらと高い・・・。

久しぶりに動かしたので、OS等のUPdateしました。display関係がどうかなってしまうかと思いましたが、一応大丈夫のようです。Updateの仕方を一応メモ。

Update

You'll need to type a command into a terminal window once you have logged into your Pi.
  1. Open a terminal window by clicking on Main Menu, Accessories, and Terminal. Alternatively, you can click on the terminal icon in the taskbar.
    Open a terminal
  2. Next, type the following:
    sudo apt-get update
  3. Press Enter on the keyboard.
    You will see some text appear very quickly. Simply wait for the progress indicator at the bottom to reach 100% and then you'll be returned to the command line prompt.

Upgrade

Once the update process is complete, and any information about new versions of applications is downloaded, you'll need to install the upgrades.
  1. In a terminal window, type:
    sudo apt-get upgrade
  2. Press Y or Enter on the keyboard when prompted and your upgrades will be installed.

Checking space on an SD card

When running sudo apt-get upgrade, it will show how much data will be downloaded and how much space it will take up on the SD card. It's worth checking with df -h to ensure that you have enough disk space free, as unfortunately apt will not do this for you. Also be aware that downloaded package files (.deb files) are kept in /var/cache/apt/archives. You can remove these with sudo apt-get clean in order to free up space.