SD 카드에 Raspbian 쓰기
4043 단어 RaspberryPi
이번에는
RASPBIAN
Debian Wheezy
Version:September 2014
Release date:2014-09-09
다운로드되었습니다.
934MB가 되기 때문에 시간이 오래 걸린다.
쓰기 도구에서 RPi-sd card builder를 시도했지만 중간에 오류가 발생하는 이유를 알 수 없습니다.
따라서 참조여기 큐타 기사.,dd 명령으로 씁니다.
$ df
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 233Gi 190Gi 42Gi 82% 49935774 11133666 82% /
devfs 190Ki 190Ki 0Bi 100% 657 0 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net
map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home
/dev/disk2s1 7.3Gi 992Ki 7.3Gi 1% 0 0 100% /Volumes/UNTITLED
$ sudo diskutil umount /Volumes/UNTITLED
Volume UNTITLED on disk2s1 unmounted
$ sudo dd bs=1m if="./2014-09-09-wheezy-raspbian.img" of="/dev/rdisk2"
3125+0 records in
3125+0 records out
3276800000 bytes transferred in 471.302287 secs (6952650 bytes/sec)
완료되면 카드를 Raspberry Pi에 꽂고 전원을 켭니다.도중에raspi-config가 표시됩니다.
여기서 expand filesystem을 미리 실행합니다.
초기 상태에서는 파티션 크기가 OS 크기와 일치하도록 설정되므로 전체 카드를 사용할 수 있습니다.
raspi-config를 통과한 후 다시 시작합니다.
사용자 이름과 비밀번호가 필요하니까.
사용자 이름: pi
비밀번호:raspberry
로그인
LAN 케이블이 찔린 경우 ifconfig 명령을 사용하여 IP 주소를 조사할 수 있습니다.
$ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:63:17:78
inet addr:10.0.1.25 Bcast:10.0.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:419 errors:0 dropped:0 overruns:0 frame:0
TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42454 (41.4 KiB) TX bytes:28458 (27.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0은 inet addr:10.0.1.25이므로 10.0.1.25 ssh를 사용해 보십시오.자신의 경우 같은 LAN에 연결된 맥의 단말기에서 연결됩니다.
비밀번호는 아까랑 똑같아요.
$ ssh [email protected]
[email protected]'s password:
Linux raspberrypi 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Sep 23 04:27:52 2014 from 10.0.1.16
pi@raspberrypi ~ $
이렇게 하면 개발을 시작할 수 있다.
Reference
이 문제에 관하여(SD 카드에 Raspbian 쓰기), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/k_kinukawa/items/c423b43af8fe494e26e1텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)