ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
sbc:raspberrypi:picore

Tiny Core Linux

Setup

image入手

Raspberry Pi 向けイメージをダウンロードする.

$ wget http://www.tinycorelinux.net/9.x/armv6/releases/RPi/piCore-9.0.3.zip

展開してchecksum確認してsdに書き込み

$ unzip piCore-9.0.3.zip
$ md5sum -c piCore-9.0.3.img.md5.txt                    
piCore-9.0.3.img: OK
$ sudo dd if=./piCore-9.0.3.img of=/dev/mmcblk0 bs=128k; sync
392+0 records in                                                                                                                                                                 
392+0 records out                                                                       
51380224 bytes (51 MB, 49 MiB) copied, 8.26368 s, 6.2 MB/s

パーティーション拡張

$ sudo parted /dev/mmcblk0                                                                                                                       
GNU Parted 3.3                                                                                                                                                                   
Using /dev/mmcblk0                                                                                                                                                               
Welcome to GNU Parted! Type 'help' to view a list of commands.                                                                                                                   
(parted) print                                                                                                                                                                   
Model: SD SD01G (sd/mmc)                                                                                                                                                         
Disk /dev/mmcblk0: 967MB                                                                                                                                                         
Sector size (logical/physical): 512B/512B                                                                                                                                        
Partition Table: msdos                                                                                                                                                           
Disk Flags:                                                                                                                                                                      
                                                                                                                                                                                 
Number  Start   End     Size    Type     File system  Flags                                                                                                                      
 1      4194kB  39.8MB  35.7MB  primary  fat32        lba                                                                                                                        
 2      39.8MB  51.4MB  11.5MB  primary  ext4
(parted) resizepart                                                                      
Partition number? 2                                                       
End?  [54.1MB]? 1G                                                          
(parted) print                                                                                                                                                                   
Model: SD SD01G (sd/mmc)                                                                                                                                                         
Disk /dev/mmcblk0: 967MB                                                                
Sector size (logical/physical): 512B/512B                                               
Partition Table: msdos                                                                  
Disk Flags:                                                                                                                                                                      
                                                                                        
Number  Start   End     Size    Type     File system  Flags               
 1      4194kB  39.8MB  35.7MB  primary  fat32        lba                               
 2      39.8MB  967MB   927MB   primary  ext4
                                            
(parted) quit                                                                           
Information: You may need to update /etc/fstab.
$ sudo resize2fs /dev/mmcblk0p2                          
resize2fs 1.45.4 (23-Sep-2019)                                                                                                                                                   
Resizing the filesystem on /dev/mmcblk0p2 to 905216 (1k) blocks.                        
The filesystem on /dev/mmcblk0p2 is now 905216 (1k) blocks long.

login

user : tc
pass : piCore

piCore
box login: tc
Password: 
   ( '>')
  /) TC (\   Core is distributed with ABSOLUTELY NO WARRANTY.
 (/-_--_-\)           www.tinycorelinux.net

tc@box:~$ 

コメント

コメントを入力. Wiki文法が有効です:
  _____   __ __   ____  __  __     __
 / ___/  / // /  / __/ / / / / __ / /
/ /__   / _  /  / _/  / /_/ / / // / 
\___/  /_//_/  /___/  \____/  \___/
 
sbc/raspberrypi/picore.txt · 最終更新: 2019/12/17 23:28 by matoken