Skip to content

Instantly share code, notes, and snippets.

@emchateau
Created July 1, 2014 14:12
Show Gist options
  • Save emchateau/8075d2acb107da16b249 to your computer and use it in GitHub Desktop.
Save emchateau/8075d2acb107da16b249 to your computer and use it in GitHub Desktop.
# Requirements:
# - pen drive formatted in FAT
# - boot.img.gz downloaded from: http://ftp.debian.org/debian/dists/Debian6.0.2/main/installer-amd64/current/images/hd-media/
# - netinstall iso image http://cdimage.debian.org/debian-cd/6.0.2.1/amd64/iso-cd/
# - pen drive is on /dev/disk1 -> check with "diskutil list"
diskutil unmountDisk /dev/disk1
gzip -dc boot.img.gz >/dev/disk1
diskutil eject /dev/disk1
# mount pen drive again
# add iso image to the pen drive
# boot from the pen drive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment