LoginSignup
0
1

More than 5 years have passed since last update.

ARCH_INSTALL.md

Last updated at Posted at 2017-03-18

PREPARE

  • Prepare USB stick
    • check disk
      • dmsg
      • lsblk
    • SIZE>=4GB
    • fdisk -l /dev/sdxx
      • fdisk /dev/sdxx
  • Download ISO
    • wget [URL]
  • Create LiveUSB
    • check disk
      • dmsg
      • lsblk
    • copy
      • dd bs=4M if=[ISO] of=/dev/sdxx
      • sync

BOOT

  • Boot USB
    • check BIOS
  • Boot Arch
    • Login: root
    • loadkeys jp106

INTERNET CONNECTION

  • Connect Wireless
    • check wireless interfaces [ifname]
      • iw channel
      • iwconfig
    • create configuration
      • cp /usr/share/doc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant.conf
      • delete example networks and create one
      • man wpa_supplicant.conf
    • run wpa_supplicant
      • man wpa_supplicant
      • test
        • wpa_supplicant -D nl80211 -i [ifname] -c /etc/wpa_supplicant.conf
      • connect
        • wpa_supplicant -D nl80211 -B -i [ifname] -c /etc/wpa_supplicant.conf
    • run dhcpclient
      • dhcpcd [ifname]

INITIALIZE DISK

  • partition
    • size
      • sdy1:+512M sdy2:last
    • type
      • sdy1:swap sdy2:ext4
      • bootflag
        • sdy2
    • format
      • mkswap sdy1
      • mkfs.ext4 sdy2

MOUNT DISK

  • mount
    • swapon /dev/sdy1
    • mount /dev/sdy2 /mnt
  • bootdir
    • mkdir -p /mnt/boot

INSTALL ARCH

  • install
    • pacstrap /mnt base
      • NOTE
        • Downloads 200MB installation data

MODIFY ARCH

  • copy wireless configuration
    • cp /etc/wpa_supplicant.conf /mnt/etc/
  • install grub
    • grub-install --boot-directory=/mnt/boot --root-directory=/mnt/ /dev/sdy
  • modify fstab
    • genfstab -U /mnt >> /mnt/etc/fstab
  • arch-chroot /mnt
    • install wpa_supplicant
      • pacman -S wpa_supplicant
    • create linuz
      • mkinitcpio -p linux
    • create grub.cfg
      • grub-mkconfig -o /boot/grub/grub.cfg
    • exit
  • unmount
    • umount /mnt
0
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
0
1