Skip to content

Instantly share code, notes, and snippets.

@xatier
Last active December 27, 2015 11:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xatier/7321095 to your computer and use it in GitHub Desktop.
Save xatier/7321095 to your computer and use it in GitHub Desktop.

a hint for Archlinux install on SD cards

(for booting on MacBookAir)

Environment

Prepare

  • dd the latest Archlinux ISO image to the USB stick, reboot your Mac, hold the Option key and wait for around 30 sec.

  • Choose the USB disk and boot to a Live Archlinux system.

  • Archlinux installation

  • Note: if you use OS X to dd the USB stick, you need to use diskutil to unmount the USB drive.

  • Ref

partition

    /boot 100M, ext4 (grub doesn't support f2fs)
    / 
    swap
    /home
    
    
    /mnt
    /mnt/boot
    /mnt/home

Notes

  • you can use use wifi-menuor other wireless tools (remember, you only have wifi connection XD)

  • mkfs

    • use mkfs.f2fs instead of ext4 for home and root
  • before mkinitcpio

    vi /etc/mkinitcpio.conf

  • postinstall

    • remember to install dialog and wicd in chroot env

Boot

Just use the native bootloader in Mac.

Hold Option (alt) key during boot, wait for around 30 seconds, choose your bootable device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment