Files
dotfiles/vim/wiki/generate bootable USB stick.wiki
2014-02-05 14:27:09 +01:00

32 lines
659 B
Plaintext

= generate bootable USB stick =
== convert ISO to IMG ==
{{{class="brush: bash; ; toolbar: false;"
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
}}}
== insert USB stick an list all devices ==
{{{class="brush: bash; ; toolbar: false;"
disktuil list
}}}
== unmount USB stick ==
{{{class="brush: bash; ; toolbar: false;"
diskutil unmountDisk /dev/diskN
}}}
== write IMG to USB stick 'rdiskN' is the numer of the disk ==
=== !! using /dev/rdisk instead of /dev/disk may be faster ===
{{{class="brush: bash; ; toolbar: false;"
sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
}}}
[ [[index|Go home]] ]