Skip to content

RaspberryPI2에 CentOS7 설치하기 #1

@tmfdk333

Description

@tmfdk333

RaspberryPi2에 CentOS7 설치하기

Mac OS X Mojave 10.14.3

[1] Download Image

[2] Unmount Disk

diskutil unmountDisk /dev/disk2

[3] Make Bootable MicroSD Card

# Gnome
xzcat CentOS-Userland-7-armv7hl-RaspberryPI-GNOME-1810-sda.raw.xz | pv | sudo dd of=/dev/disk2 bs=64m
# Minimal
xzcat CentOS-Userland-7-armv7hl-RaspberryPI-Minimal-1810-sda.raw.xz | pv | sudo dd of=/dev/disk2 bs=64m

[4] Expand the RootFS

/usr/bin/rootfs-expand
# Before
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *64.1 GB    disk2
   1:             Windows_FAT_32 NO NAME                 700.4 MB   disk2s1
   2:                 Linux_Swap                         511.7 MB   disk2s2
   3:                      Linux                         1.5 GB     disk2s3
# After
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *64.1 GB    disk2
   1:             Windows_FAT_32 NO NAME                 700.4 MB   disk2s1
   2:                 Linux_Swap                         511.7 MB   disk2s2
   3:                      Linux                         62.9 GB    disk2s3

[5] Reference

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions