2
1

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 5 years have passed since last update.

mac mini 2014 (FusionDrive)にArchLinuxインストール

Last updated at Posted at 2015-02-05

はじめに

  • 価格.com - APPLE Mac mini 1TB MGEQ2J/A [2800] 価格比較を手に入れた。
  • ArchLinuxインストールスクリプト作った - Qiitaを使うといいよ。
  • 他のLinuxはインストール成功しなかった。
    • Debian7.8 : セットアップ完了後、GRUBが起動せず、?フォルダアイコン表示で止まる。
    • CentOS7 : インストーラがパーティションをフォーマットするところで/dev/sda1が見当たらないと、エラー吐いて死ぬ。kickstart使ったり、最新のrolling版isoを使ってもダメ。
    • proxmox 3.3 : 最後のBOOTLOADERインストールでエラー。

手順

ArchLinuxのISOをUSBメモリにddしたものを挿しこんで、Altキー押しながら起動。

Diskの初期化

  • sda : hdd 1tb
  • sdb : ssd 128gb
parted /dev/sda -s mklabel msdos
parted /dev/sdb -s mklabel msdos
root@archiso ~ # gdisk /dev/sda
Command (? for help): n
Partition number (1-128, default 1):
First sector (34-1953525134, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-1953525134, default = 1953525134) or {+-}size{KMGTP}: +100M
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): EF00
Changed type of partition to 'EFI System'

Command (? for help): n
Partition number (2-128, default 2):
First sector (34-1953525134, default = 206848) or {+-}size{KMGTP}:
Last sector (206848-1953525134, default = 1953525134) or {+-}size{KMGTP}: +4G
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 8200
Changed type of partition to 'Linux swap'

Command (? for help): w

Do you want to proceed? (Y/N): y
/dev/sdb
root@archiso ~ # fdisk /dev/sdb

Command (m for help): n
Partition number (1-4, default 1):
First sector (2048-236978175, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-236978175, default 236978175):

Created a new partition 1 of type 'Linux' and of size 113 GiB.

Command (m for help): w
HDDフォーマット
mkfs.vfat -F32 /dev/sda1
mkswap /dev/sda2
SSDフォーマット
mkfs.xfs -f /dev/sdb1
mount /dev/sdb1 /mnt
mount /dev/sda1 /mnt/boot/efi

あとはEFIにArchLinuxインストール (LivaPC) - Qiitaと同じ。

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?