Created
August 29, 2017 17:52
-
-
Save yriveiro/137cf03610922f3545d6c302e3458bc4 to your computer and use it in GitHub Desktop.
Bootable USB drive within OSX for a Debian installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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