Make and create Live USB Linux for Mac? How?
I'm wanting to create a live usb linux so I can easily access it everytime when I need it without taking up any space. But with other sources, they say to rEFInd and I did so, however when restarting and accessing the boot menu, nothing happens.
I am running Yosemite 10.10 on a Macbook Pro - I still have rEFInd on my mac.
I already have .iso version of the linux and UnetBootin
Any way how to make a live usb linux on a Yosemite Macbook Pro?
Solution 1:
- Download the desired .img file
- Open a Terminal (under Utilities)
- If you have and .iso file, you could convert to .img with the command
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/source.iso
.
- If you have and .iso file, you could convert to .img with the command
- Run
diskutil list
to get the current list of devices - Insert your flash media
- Run
diskutil list
again and determine the device node assigned to your flash media (e.g./dev/disk2
) - Run
diskutil unmountDisk /dev/diskN
- Execute
sudo dd if=/path/to/downloaded.img of=/dev/diskN bs=1m
- Run
diskutil eject /dev/diskN
and remove your flash media when the command completes
Restart your Mac and press ⌥/⌘ key while the Mac is restarting to choose the USB stick.