How to install Linux Distro on USB within Linux OS

Asked by Damir

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

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bashing-om
Solved:
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

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

Revision history for this message
Damir (damir-medakovic) said :
#3

Thanks Bashing-om, that solved my question.

Revision history for this message
Damir (damir-medakovic) said :
#4

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