Can I install a distro booted from a drive to the same drive?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















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.



OR



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


















2















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.



OR



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














2












2








2








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.



OR



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
















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.



OR



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.







linux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 18 '13 at 3:47







Cole Busby

















asked Jan 18 '13 at 2:16









Cole BusbyCole Busby

155110




155110













  • 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



















  • 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

















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





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 - 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





@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





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





yes but would it be a viable solution? and would it still be installed?

– Cole Busby
Jan 18 '13 at 7:30










1 Answer
1






active

oldest

votes


















0














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.







share|improve this answer


























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f61700%2fcan-i-install-a-distro-booted-from-a-drive-to-the-same-drive%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    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.







    share|improve this answer






























      0














      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.







      share|improve this answer




























        0












        0








        0







        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.







        share|improve this answer















        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.








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 hours ago









        Rui F Ribeiro

        41.9k1483142




        41.9k1483142










        answered Aug 5 '13 at 22:56









        Cole BusbyCole Busby

        155110




        155110






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f61700%2fcan-i-install-a-distro-booted-from-a-drive-to-the-same-drive%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            CARDNET

            Boot-repair Failure: Unable to locate package grub-common:i386

            濃尾地震