How to Install Operating Systems to USB drives and SD Cards. [Proficient]

Novice | Proficient | Expert

¥ is a variable for the disk you’re using. The red texts are commands for a terminal.

Linux

list the currently mounted partitions
df -h

unmount the disk you’re writing to
umount /dev/sdd¥

write the image file to your unmounted drive
dd bs=4M if=/Users/You/Desktop/anOS.image of=/dev/sdd¥

OS X

list the currently mounted partitions
diskutil list

unmount the disk you’re writing to
diskutil unmountDisk /dev/disk¥

zero out the disk in a once over
sudo dd if=/dev/zero of=/dev/disk¥ bs=1024 count=1

write the image file to your unmounted drive
sudo dd if=/Users/You/Desktop/anOS.img  of=/dev/disk¥ bs=4m

Windows

run a program called Diskpart
Diskpart

list the currently mounted partitions
list disk

select the disk you’re writing to
select disk ¥

write zeros over the drive
clean

create a new scheme
create partition primary
select partition 1

configure the partition
active
format fs=fat32
assign letter=y

exit the program
exit

Advertisements