Custom Ubuntu 16.04 Installer with Pinguy Builder Cannot log in using Live CD












0















I have created an iso using Pinguy Builder and used both Startup Disk Creator and Etcher to create bootable usb external hard drive. No errors, boots ok, but cannot log in. My original Ubuntu installation that I used to create the iso displays my name, ie John Smith and just asks for password, it shows also as Guest Session. My user directory is john and in terminal mode it shows the prompt as john@john-HP-Notebook. If i type in whoami it tells me i am john.



I have tried all combinations using john, john@john-HP-Notebook, guest and am aware linux is case sensitive, I have also tried defaults like Ubuntu/blank, ubuntu/blank, ubuntu/ubuntu, Ubuntu/ubuntu - I can log in easily on the system from which the iso was created but cannot log in on the system created from the iso - lost for ideas - please help - thanks guys



On further investigation it seems with Pinguy builder if you use dist option there is no user or pass required when you boot from usb / cd but if you use backup you have tom enter the user/pass of the system from which the iso was created - however it does not actually match any combinations so you cannot log in to your backed up system - furthermore it then remembers these settings so after doing a backup dist systems also require user / pass of original system which seems to be a bug - if you create a new distribution you should not have to give your user / pass away to all users - but does not really matter as you cannot log in even with your user / pass so if anyone knows what pinguy builder backup uses as user pass that will be great so I can actually use my backed up system......










share|improve this question

























  • what're your version ubuntu?

    – ryanw
    Jan 16 '17 at 4:14













  • @ryanw - 16.04 - amending question to show this - thanks

    – kerry
    Jan 16 '17 at 4:25











  • Try the first point release, 16.04.1 LTS. It is debugged and polished, many bugs are squashed compared to the original 16.04 LTS. It the live session works correctly, 'Try Ubuntu', booted from USB, you will need no log in, you should arrive at the desktop directly. (And if you log out, the user ID is ubuntu and you can press the Enter key directly (no password)). Did you check the md5sum of the iso file?

    – sudodus
    Jan 16 '17 at 5:55













  • @sudodus - I am new to ubuntu and linux - can you please expand on 'did you check the md5sum' and how can I upgrade to 16.04.01without reinstalling and losing data. To be clear the original ubuntu installed fine with no log in. This is an iso created from my installation with the applications I have installed. The iso was created from my existing ubuntu using pinguy builder - this is not a new ubuntu installation - thanks

    – kerry
    Jan 16 '17 at 6:16











  • Sorry, I did not notice that you are booting from your own custom iso file. I think you should ask the people who develop and maintain the Pinguy builder how to create a USB boot drive from it. - md5sum is a linux program. There is a corresponding program in Windows, md5summer. The method is described at this link and links from it, help.ubuntu.com/community/UbuntuHashes, but it is not relevant, when you have your own iso file.

    – sudodus
    Jan 16 '17 at 6:52
















0















I have created an iso using Pinguy Builder and used both Startup Disk Creator and Etcher to create bootable usb external hard drive. No errors, boots ok, but cannot log in. My original Ubuntu installation that I used to create the iso displays my name, ie John Smith and just asks for password, it shows also as Guest Session. My user directory is john and in terminal mode it shows the prompt as john@john-HP-Notebook. If i type in whoami it tells me i am john.



I have tried all combinations using john, john@john-HP-Notebook, guest and am aware linux is case sensitive, I have also tried defaults like Ubuntu/blank, ubuntu/blank, ubuntu/ubuntu, Ubuntu/ubuntu - I can log in easily on the system from which the iso was created but cannot log in on the system created from the iso - lost for ideas - please help - thanks guys



On further investigation it seems with Pinguy builder if you use dist option there is no user or pass required when you boot from usb / cd but if you use backup you have tom enter the user/pass of the system from which the iso was created - however it does not actually match any combinations so you cannot log in to your backed up system - furthermore it then remembers these settings so after doing a backup dist systems also require user / pass of original system which seems to be a bug - if you create a new distribution you should not have to give your user / pass away to all users - but does not really matter as you cannot log in even with your user / pass so if anyone knows what pinguy builder backup uses as user pass that will be great so I can actually use my backed up system......










share|improve this question

























  • what're your version ubuntu?

    – ryanw
    Jan 16 '17 at 4:14













  • @ryanw - 16.04 - amending question to show this - thanks

    – kerry
    Jan 16 '17 at 4:25











  • Try the first point release, 16.04.1 LTS. It is debugged and polished, many bugs are squashed compared to the original 16.04 LTS. It the live session works correctly, 'Try Ubuntu', booted from USB, you will need no log in, you should arrive at the desktop directly. (And if you log out, the user ID is ubuntu and you can press the Enter key directly (no password)). Did you check the md5sum of the iso file?

    – sudodus
    Jan 16 '17 at 5:55













  • @sudodus - I am new to ubuntu and linux - can you please expand on 'did you check the md5sum' and how can I upgrade to 16.04.01without reinstalling and losing data. To be clear the original ubuntu installed fine with no log in. This is an iso created from my installation with the applications I have installed. The iso was created from my existing ubuntu using pinguy builder - this is not a new ubuntu installation - thanks

    – kerry
    Jan 16 '17 at 6:16











  • Sorry, I did not notice that you are booting from your own custom iso file. I think you should ask the people who develop and maintain the Pinguy builder how to create a USB boot drive from it. - md5sum is a linux program. There is a corresponding program in Windows, md5summer. The method is described at this link and links from it, help.ubuntu.com/community/UbuntuHashes, but it is not relevant, when you have your own iso file.

    – sudodus
    Jan 16 '17 at 6:52














0












0








0








I have created an iso using Pinguy Builder and used both Startup Disk Creator and Etcher to create bootable usb external hard drive. No errors, boots ok, but cannot log in. My original Ubuntu installation that I used to create the iso displays my name, ie John Smith and just asks for password, it shows also as Guest Session. My user directory is john and in terminal mode it shows the prompt as john@john-HP-Notebook. If i type in whoami it tells me i am john.



I have tried all combinations using john, john@john-HP-Notebook, guest and am aware linux is case sensitive, I have also tried defaults like Ubuntu/blank, ubuntu/blank, ubuntu/ubuntu, Ubuntu/ubuntu - I can log in easily on the system from which the iso was created but cannot log in on the system created from the iso - lost for ideas - please help - thanks guys



On further investigation it seems with Pinguy builder if you use dist option there is no user or pass required when you boot from usb / cd but if you use backup you have tom enter the user/pass of the system from which the iso was created - however it does not actually match any combinations so you cannot log in to your backed up system - furthermore it then remembers these settings so after doing a backup dist systems also require user / pass of original system which seems to be a bug - if you create a new distribution you should not have to give your user / pass away to all users - but does not really matter as you cannot log in even with your user / pass so if anyone knows what pinguy builder backup uses as user pass that will be great so I can actually use my backed up system......










share|improve this question
















I have created an iso using Pinguy Builder and used both Startup Disk Creator and Etcher to create bootable usb external hard drive. No errors, boots ok, but cannot log in. My original Ubuntu installation that I used to create the iso displays my name, ie John Smith and just asks for password, it shows also as Guest Session. My user directory is john and in terminal mode it shows the prompt as john@john-HP-Notebook. If i type in whoami it tells me i am john.



I have tried all combinations using john, john@john-HP-Notebook, guest and am aware linux is case sensitive, I have also tried defaults like Ubuntu/blank, ubuntu/blank, ubuntu/ubuntu, Ubuntu/ubuntu - I can log in easily on the system from which the iso was created but cannot log in on the system created from the iso - lost for ideas - please help - thanks guys



On further investigation it seems with Pinguy builder if you use dist option there is no user or pass required when you boot from usb / cd but if you use backup you have tom enter the user/pass of the system from which the iso was created - however it does not actually match any combinations so you cannot log in to your backed up system - furthermore it then remembers these settings so after doing a backup dist systems also require user / pass of original system which seems to be a bug - if you create a new distribution you should not have to give your user / pass away to all users - but does not really matter as you cannot log in even with your user / pass so if anyone knows what pinguy builder backup uses as user pass that will be great so I can actually use my backed up system......







boot 16.04 live-usb iso customizer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 17 '17 at 5:29









ryanw

572316




572316










asked Jan 16 '17 at 4:03









kerrykerry

174718




174718













  • what're your version ubuntu?

    – ryanw
    Jan 16 '17 at 4:14













  • @ryanw - 16.04 - amending question to show this - thanks

    – kerry
    Jan 16 '17 at 4:25











  • Try the first point release, 16.04.1 LTS. It is debugged and polished, many bugs are squashed compared to the original 16.04 LTS. It the live session works correctly, 'Try Ubuntu', booted from USB, you will need no log in, you should arrive at the desktop directly. (And if you log out, the user ID is ubuntu and you can press the Enter key directly (no password)). Did you check the md5sum of the iso file?

    – sudodus
    Jan 16 '17 at 5:55













  • @sudodus - I am new to ubuntu and linux - can you please expand on 'did you check the md5sum' and how can I upgrade to 16.04.01without reinstalling and losing data. To be clear the original ubuntu installed fine with no log in. This is an iso created from my installation with the applications I have installed. The iso was created from my existing ubuntu using pinguy builder - this is not a new ubuntu installation - thanks

    – kerry
    Jan 16 '17 at 6:16











  • Sorry, I did not notice that you are booting from your own custom iso file. I think you should ask the people who develop and maintain the Pinguy builder how to create a USB boot drive from it. - md5sum is a linux program. There is a corresponding program in Windows, md5summer. The method is described at this link and links from it, help.ubuntu.com/community/UbuntuHashes, but it is not relevant, when you have your own iso file.

    – sudodus
    Jan 16 '17 at 6:52



















  • what're your version ubuntu?

    – ryanw
    Jan 16 '17 at 4:14













  • @ryanw - 16.04 - amending question to show this - thanks

    – kerry
    Jan 16 '17 at 4:25











  • Try the first point release, 16.04.1 LTS. It is debugged and polished, many bugs are squashed compared to the original 16.04 LTS. It the live session works correctly, 'Try Ubuntu', booted from USB, you will need no log in, you should arrive at the desktop directly. (And if you log out, the user ID is ubuntu and you can press the Enter key directly (no password)). Did you check the md5sum of the iso file?

    – sudodus
    Jan 16 '17 at 5:55













  • @sudodus - I am new to ubuntu and linux - can you please expand on 'did you check the md5sum' and how can I upgrade to 16.04.01without reinstalling and losing data. To be clear the original ubuntu installed fine with no log in. This is an iso created from my installation with the applications I have installed. The iso was created from my existing ubuntu using pinguy builder - this is not a new ubuntu installation - thanks

    – kerry
    Jan 16 '17 at 6:16











  • Sorry, I did not notice that you are booting from your own custom iso file. I think you should ask the people who develop and maintain the Pinguy builder how to create a USB boot drive from it. - md5sum is a linux program. There is a corresponding program in Windows, md5summer. The method is described at this link and links from it, help.ubuntu.com/community/UbuntuHashes, but it is not relevant, when you have your own iso file.

    – sudodus
    Jan 16 '17 at 6:52

















what're your version ubuntu?

– ryanw
Jan 16 '17 at 4:14







what're your version ubuntu?

– ryanw
Jan 16 '17 at 4:14















@ryanw - 16.04 - amending question to show this - thanks

– kerry
Jan 16 '17 at 4:25





@ryanw - 16.04 - amending question to show this - thanks

– kerry
Jan 16 '17 at 4:25













Try the first point release, 16.04.1 LTS. It is debugged and polished, many bugs are squashed compared to the original 16.04 LTS. It the live session works correctly, 'Try Ubuntu', booted from USB, you will need no log in, you should arrive at the desktop directly. (And if you log out, the user ID is ubuntu and you can press the Enter key directly (no password)). Did you check the md5sum of the iso file?

– sudodus
Jan 16 '17 at 5:55







Try the first point release, 16.04.1 LTS. It is debugged and polished, many bugs are squashed compared to the original 16.04 LTS. It the live session works correctly, 'Try Ubuntu', booted from USB, you will need no log in, you should arrive at the desktop directly. (And if you log out, the user ID is ubuntu and you can press the Enter key directly (no password)). Did you check the md5sum of the iso file?

– sudodus
Jan 16 '17 at 5:55















@sudodus - I am new to ubuntu and linux - can you please expand on 'did you check the md5sum' and how can I upgrade to 16.04.01without reinstalling and losing data. To be clear the original ubuntu installed fine with no log in. This is an iso created from my installation with the applications I have installed. The iso was created from my existing ubuntu using pinguy builder - this is not a new ubuntu installation - thanks

– kerry
Jan 16 '17 at 6:16





@sudodus - I am new to ubuntu and linux - can you please expand on 'did you check the md5sum' and how can I upgrade to 16.04.01without reinstalling and losing data. To be clear the original ubuntu installed fine with no log in. This is an iso created from my installation with the applications I have installed. The iso was created from my existing ubuntu using pinguy builder - this is not a new ubuntu installation - thanks

– kerry
Jan 16 '17 at 6:16













Sorry, I did not notice that you are booting from your own custom iso file. I think you should ask the people who develop and maintain the Pinguy builder how to create a USB boot drive from it. - md5sum is a linux program. There is a corresponding program in Windows, md5summer. The method is described at this link and links from it, help.ubuntu.com/community/UbuntuHashes, but it is not relevant, when you have your own iso file.

– sudodus
Jan 16 '17 at 6:52





Sorry, I did not notice that you are booting from your own custom iso file. I think you should ask the people who develop and maintain the Pinguy builder how to create a USB boot drive from it. - md5sum is a linux program. There is a corresponding program in Windows, md5summer. The method is described at this link and links from it, help.ubuntu.com/community/UbuntuHashes, but it is not relevant, when you have your own iso file.

– sudodus
Jan 16 '17 at 6:52










1 Answer
1






active

oldest

votes


















0














This Solved it for me:



The problem is that VirtualBox sets up users (vbox_sf for shared folders) as userid 999. But casper (the app that controls the "live cd system") hard codes the Pinguy Builder userid as 999 also! So this means that the "live" user isn't ever created (since 999 already exists!). The solution is to give a different uid to the casper created user.



This terminal command will make the change for you automagically:



sed -i -e 's@user-uid [0-9]*@user-uid 990@' /usr/share/initramfs-tools/scripts/casper-bottom/25adduser


To interpret this command, in the 25adduser file, I am changing "user-uid 999" to "user-uid 990". You can just manually make that edit if you want but thought others may enjoy the sed one-liner to do it automagically.



After this fix, I am no longer faced with the "login screen" when starting the live system: it auto-logs-in just as it should!



There really should be a casper patch to move away from the hard-coded uid, maybe it could be a Pinguy Builder variable in /etc/PinguyBuilder.conf but for now the hack to change that uid to something OTHER THAN 999 seems to work!



Reference: http://disq.us/p/12n951t






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f872400%2fcustom-ubuntu-16-04-installer-with-pinguy-builder-cannot-log-in-using-live-cd%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














    This Solved it for me:



    The problem is that VirtualBox sets up users (vbox_sf for shared folders) as userid 999. But casper (the app that controls the "live cd system") hard codes the Pinguy Builder userid as 999 also! So this means that the "live" user isn't ever created (since 999 already exists!). The solution is to give a different uid to the casper created user.



    This terminal command will make the change for you automagically:



    sed -i -e 's@user-uid [0-9]*@user-uid 990@' /usr/share/initramfs-tools/scripts/casper-bottom/25adduser


    To interpret this command, in the 25adduser file, I am changing "user-uid 999" to "user-uid 990". You can just manually make that edit if you want but thought others may enjoy the sed one-liner to do it automagically.



    After this fix, I am no longer faced with the "login screen" when starting the live system: it auto-logs-in just as it should!



    There really should be a casper patch to move away from the hard-coded uid, maybe it could be a Pinguy Builder variable in /etc/PinguyBuilder.conf but for now the hack to change that uid to something OTHER THAN 999 seems to work!



    Reference: http://disq.us/p/12n951t






    share|improve this answer






























      0














      This Solved it for me:



      The problem is that VirtualBox sets up users (vbox_sf for shared folders) as userid 999. But casper (the app that controls the "live cd system") hard codes the Pinguy Builder userid as 999 also! So this means that the "live" user isn't ever created (since 999 already exists!). The solution is to give a different uid to the casper created user.



      This terminal command will make the change for you automagically:



      sed -i -e 's@user-uid [0-9]*@user-uid 990@' /usr/share/initramfs-tools/scripts/casper-bottom/25adduser


      To interpret this command, in the 25adduser file, I am changing "user-uid 999" to "user-uid 990". You can just manually make that edit if you want but thought others may enjoy the sed one-liner to do it automagically.



      After this fix, I am no longer faced with the "login screen" when starting the live system: it auto-logs-in just as it should!



      There really should be a casper patch to move away from the hard-coded uid, maybe it could be a Pinguy Builder variable in /etc/PinguyBuilder.conf but for now the hack to change that uid to something OTHER THAN 999 seems to work!



      Reference: http://disq.us/p/12n951t






      share|improve this answer




























        0












        0








        0







        This Solved it for me:



        The problem is that VirtualBox sets up users (vbox_sf for shared folders) as userid 999. But casper (the app that controls the "live cd system") hard codes the Pinguy Builder userid as 999 also! So this means that the "live" user isn't ever created (since 999 already exists!). The solution is to give a different uid to the casper created user.



        This terminal command will make the change for you automagically:



        sed -i -e 's@user-uid [0-9]*@user-uid 990@' /usr/share/initramfs-tools/scripts/casper-bottom/25adduser


        To interpret this command, in the 25adduser file, I am changing "user-uid 999" to "user-uid 990". You can just manually make that edit if you want but thought others may enjoy the sed one-liner to do it automagically.



        After this fix, I am no longer faced with the "login screen" when starting the live system: it auto-logs-in just as it should!



        There really should be a casper patch to move away from the hard-coded uid, maybe it could be a Pinguy Builder variable in /etc/PinguyBuilder.conf but for now the hack to change that uid to something OTHER THAN 999 seems to work!



        Reference: http://disq.us/p/12n951t






        share|improve this answer















        This Solved it for me:



        The problem is that VirtualBox sets up users (vbox_sf for shared folders) as userid 999. But casper (the app that controls the "live cd system") hard codes the Pinguy Builder userid as 999 also! So this means that the "live" user isn't ever created (since 999 already exists!). The solution is to give a different uid to the casper created user.



        This terminal command will make the change for you automagically:



        sed -i -e 's@user-uid [0-9]*@user-uid 990@' /usr/share/initramfs-tools/scripts/casper-bottom/25adduser


        To interpret this command, in the 25adduser file, I am changing "user-uid 999" to "user-uid 990". You can just manually make that edit if you want but thought others may enjoy the sed one-liner to do it automagically.



        After this fix, I am no longer faced with the "login screen" when starting the live system: it auto-logs-in just as it should!



        There really should be a casper patch to move away from the hard-coded uid, maybe it could be a Pinguy Builder variable in /etc/PinguyBuilder.conf but for now the hack to change that uid to something OTHER THAN 999 seems to work!



        Reference: http://disq.us/p/12n951t







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jun 21 '17 at 3:00









        userDepth

        93411037




        93411037










        answered Jun 20 '17 at 23:11









        Matt ZabojnikMatt Zabojnik

        85




        85






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f872400%2fcustom-ubuntu-16-04-installer-with-pinguy-builder-cannot-log-in-using-live-cd%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b