LoginSignup
5
6

More than 5 years have passed since last update.

Arch Linux インストールCD x86_64版のみのISOを作成

Posted at

この記事はArch Linux Advent Calender 2015の10日目です。

  • Arch LinuxのインストールCDはi686とx86_64が混在しています。
  • 片方だけ、というのが見当たらなかったので自分で作ることにしました。

手順

ISOを展開
mkdir iso tmp
mount -o loop archlinux-2015.12.01-dual.iso iso
cp -a iso/* tmp/
umount iso && rmdir iso
cd tmp
不要なファイルを削除
rm arch/i686/airootfs.sfs
rm -r arch/boot/i686
# EFIが不要な場合
rm -r EFI
再構築
genisoimage -l -r -J -V "ARCH_201512" \
 -b isolinux/isolinux.bin \
 -no-emul-boot \
 -boot-load-size 4 \
 -boot-info-table \
 -c isolinux/boot.cat \
 -o ../arch-custom.iso .

まとめ

  • 663Mから318Mに減りました。
5
6
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
5
6