Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know how stupid this sounds BUT is it possible to install a linux distro that has been loaded to the drive it was booted from?

I was thinking of installing Arch or Puppy to a flashdrive that Would be hosting itself.


Is there a precompiled drag and drop style distro that you can drop the files to and run with constant persistence from drive to drive?

Other limiting factor is that the overall size of distro must be <4GB.

EDIT: To clarify, I want to install a system to a flashdrive that it is livecd'd from. Scenario for reference:

  1. I use LiLi to put ubuntu-minimal.iso on a flashdrive
  2. Boot ubuntu-minimal.iso from flashdrive.
  3. Install the iso to the same drive it booted from.
share|improve this question
What do you really mean? I'm running a distro that uses the same drive for /boot and everything else. Is that what you want? – phunehehe Jan 18 '13 at 3:37
@phunehehe - I believe he wants to change all the core system files to a different distro while the system is still running. – jordanm Jan 18 '13 at 3:40
@phunehehe View edit, please – Cole Busby Jan 18 '13 at 3:48
Wouldn't the installation in step (3) destroy the ISO file you put in in step (1)? – phunehehe Jan 18 '13 at 5:09
yes but would it be a viable solution? and would it still be installed? – Cole Busby Jan 18 '13 at 7:30
up vote 0 down vote accepted

I apologize for bringing up this question again, but I figured I should assign a proper answer with what I have learned.

You can install from disk, but the installation can't repartition the disk or overwrite the partition containing the image from which you install. – vonbrand Jan 24 at 16:24

To elaborate to anyone that this doesn't answer the question for,

You cannot install to the medium from which the installer is located as it would require the need to repartition the drive into a proper format. Eventually the system would destroy the files required to continue the installation.

I hope this helps whoever finds it!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.