How to install Linux Distro on USB within Linux OS

Asked by Damir on 2017-04-15

How to install Linux Distros on USB within Linux OS using Terminal commands and not to use Windows USB Universal installer?

I tried dd, like this one:

dd if=debian-live-8.7.1-amd64-gnome-desktop.iso of=/dev/sdc1 bs=4M; sync
332+1 records in
332+1 records out

All files were there, but it will not boot.
(I did it through Ubuntu 14.04 LTS)
Did I do something wrong, or it cannot be done?
I would like to be entirely within Linux OS and not to use Windows USB Universal installer or something else outside Linux.
Please help. Thank you

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Best Bashing-om (bashing-om) said : #1

Hello Damir.

In your case you are to write to the device (sdc) NOT to a partition (sdc1),
readjust your command to:
sudo dd if=/path/to/iso of=/dev/sdc bs=4M && sync
Where you are certain that 'sdc' is the correct target . dd has the name (d)isk (d)estroyer as it will not forgive a mistake .
Hope this helps

Can always use Unetbootin. It's in the Ubuntu repository

Damir (damir-medakovic) said : #3

Thanks Bashing-om, that solved my question.

Damir (damir-medakovic) said : #4

Thank you so much Andrew! It works as a charm.! Thank you for great help!