Boot automatically into Debian instead of busybox/initrd?












0















I'm using an old TS-7500 (https://www.embeddedarm.com/products/TS-7500) rugged platform for a home automation project (it was a freebie from my college) and I want to get the platform to boot into the Debian image automatically, by default, it boots into "busybox/initrd" and I have to enter the exit command to boot into Debian.



I want to make the system start up without any user-interaction so that if the platform power-cycles, it will start up without my assistance.



I've got a little Linux experience, but still not terribly great. Any suggestions?



Also... The /initrd directory looks like this:



`



ts7500:~# ls /initrd
bin linuxrc-fastboot linuxrc-usbroot root tmp
dev linuxrc-nandmount lost+found sbin ts7500.subr
etc linuxrc-sdmount mnt shinit usr
lib linuxrc-sdroot modules.tar.gz slib var
linuxrc linuxrc-sdroot-readonly proc sys



The
shinit` script prompts upon boot (into busybox) that the user has information about help. It seems that I could execute some commands from this script, if only I could save changes! Every time I've tried changing the file, the changes are lost at reboot. I've read that this is due to the busybox platform loading into RAM?



Here's what the shinit file looks like:



> # Copyright (c) 2009, Technologic Systems.
> # All rights reserved.
>
> . /ts7500.subr
>
> case $- in *i*)
> stty ospeed 115200 >/dev/null 2>&1
> echo
> echo "Type 'tshelp' for help" esac


Maybe I could just add the exit command to this script, but again, I can't save it!!!



Thank you!










share|improve this question



























    0















    I'm using an old TS-7500 (https://www.embeddedarm.com/products/TS-7500) rugged platform for a home automation project (it was a freebie from my college) and I want to get the platform to boot into the Debian image automatically, by default, it boots into "busybox/initrd" and I have to enter the exit command to boot into Debian.



    I want to make the system start up without any user-interaction so that if the platform power-cycles, it will start up without my assistance.



    I've got a little Linux experience, but still not terribly great. Any suggestions?



    Also... The /initrd directory looks like this:



    `



    ts7500:~# ls /initrd
    bin linuxrc-fastboot linuxrc-usbroot root tmp
    dev linuxrc-nandmount lost+found sbin ts7500.subr
    etc linuxrc-sdmount mnt shinit usr
    lib linuxrc-sdroot modules.tar.gz slib var
    linuxrc linuxrc-sdroot-readonly proc sys



    The
    shinit` script prompts upon boot (into busybox) that the user has information about help. It seems that I could execute some commands from this script, if only I could save changes! Every time I've tried changing the file, the changes are lost at reboot. I've read that this is due to the busybox platform loading into RAM?



    Here's what the shinit file looks like:



    > # Copyright (c) 2009, Technologic Systems.
    > # All rights reserved.
    >
    > . /ts7500.subr
    >
    > case $- in *i*)
    > stty ospeed 115200 >/dev/null 2>&1
    > echo
    > echo "Type 'tshelp' for help" esac


    Maybe I could just add the exit command to this script, but again, I can't save it!!!



    Thank you!










    share|improve this question

























      0












      0








      0








      I'm using an old TS-7500 (https://www.embeddedarm.com/products/TS-7500) rugged platform for a home automation project (it was a freebie from my college) and I want to get the platform to boot into the Debian image automatically, by default, it boots into "busybox/initrd" and I have to enter the exit command to boot into Debian.



      I want to make the system start up without any user-interaction so that if the platform power-cycles, it will start up without my assistance.



      I've got a little Linux experience, but still not terribly great. Any suggestions?



      Also... The /initrd directory looks like this:



      `



      ts7500:~# ls /initrd
      bin linuxrc-fastboot linuxrc-usbroot root tmp
      dev linuxrc-nandmount lost+found sbin ts7500.subr
      etc linuxrc-sdmount mnt shinit usr
      lib linuxrc-sdroot modules.tar.gz slib var
      linuxrc linuxrc-sdroot-readonly proc sys



      The
      shinit` script prompts upon boot (into busybox) that the user has information about help. It seems that I could execute some commands from this script, if only I could save changes! Every time I've tried changing the file, the changes are lost at reboot. I've read that this is due to the busybox platform loading into RAM?



      Here's what the shinit file looks like:



      > # Copyright (c) 2009, Technologic Systems.
      > # All rights reserved.
      >
      > . /ts7500.subr
      >
      > case $- in *i*)
      > stty ospeed 115200 >/dev/null 2>&1
      > echo
      > echo "Type 'tshelp' for help" esac


      Maybe I could just add the exit command to this script, but again, I can't save it!!!



      Thank you!










      share|improve this question














      I'm using an old TS-7500 (https://www.embeddedarm.com/products/TS-7500) rugged platform for a home automation project (it was a freebie from my college) and I want to get the platform to boot into the Debian image automatically, by default, it boots into "busybox/initrd" and I have to enter the exit command to boot into Debian.



      I want to make the system start up without any user-interaction so that if the platform power-cycles, it will start up without my assistance.



      I've got a little Linux experience, but still not terribly great. Any suggestions?



      Also... The /initrd directory looks like this:



      `



      ts7500:~# ls /initrd
      bin linuxrc-fastboot linuxrc-usbroot root tmp
      dev linuxrc-nandmount lost+found sbin ts7500.subr
      etc linuxrc-sdmount mnt shinit usr
      lib linuxrc-sdroot modules.tar.gz slib var
      linuxrc linuxrc-sdroot-readonly proc sys



      The
      shinit` script prompts upon boot (into busybox) that the user has information about help. It seems that I could execute some commands from this script, if only I could save changes! Every time I've tried changing the file, the changes are lost at reboot. I've read that this is due to the busybox platform loading into RAM?



      Here's what the shinit file looks like:



      > # Copyright (c) 2009, Technologic Systems.
      > # All rights reserved.
      >
      > . /ts7500.subr
      >
      > case $- in *i*)
      > stty ospeed 115200 >/dev/null 2>&1
      > echo
      > echo "Type 'tshelp' for help" esac


      Maybe I could just add the exit command to this script, but again, I can't save it!!!



      Thank you!







      linux boot debian busybox initrd






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 12 at 8:21









      engineerjoe440engineerjoe440

      11




      11






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Found the answer for my particular problem!!!!



          There is some documentation for the Technologic TS-7500 platform on the company's website, but my poor lack of experience missed a critical detail! They provide some information as shown in the code snippet below:



          rm linuxrc; ln -s /linuxrc-sdroot /linuxrc; save



          I misunderstood and thought that this should be entered as one single command. Turns out, I needed to enter it as three sequential commands:



          # rm linuxrc
          # ln -s /linuxrc-sdroot /linuxrc
          # save


          Additionally, these commands should all be entered in the BusyBox prompt, not Debian.



          Additional documentation from Technologic:
          https://wiki.embeddedarm.com/wiki/TS-7500






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1393453%2fboot-automatically-into-debian-instead-of-busybox-initrd%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














            Found the answer for my particular problem!!!!



            There is some documentation for the Technologic TS-7500 platform on the company's website, but my poor lack of experience missed a critical detail! They provide some information as shown in the code snippet below:



            rm linuxrc; ln -s /linuxrc-sdroot /linuxrc; save



            I misunderstood and thought that this should be entered as one single command. Turns out, I needed to enter it as three sequential commands:



            # rm linuxrc
            # ln -s /linuxrc-sdroot /linuxrc
            # save


            Additionally, these commands should all be entered in the BusyBox prompt, not Debian.



            Additional documentation from Technologic:
            https://wiki.embeddedarm.com/wiki/TS-7500






            share|improve this answer




























              0














              Found the answer for my particular problem!!!!



              There is some documentation for the Technologic TS-7500 platform on the company's website, but my poor lack of experience missed a critical detail! They provide some information as shown in the code snippet below:



              rm linuxrc; ln -s /linuxrc-sdroot /linuxrc; save



              I misunderstood and thought that this should be entered as one single command. Turns out, I needed to enter it as three sequential commands:



              # rm linuxrc
              # ln -s /linuxrc-sdroot /linuxrc
              # save


              Additionally, these commands should all be entered in the BusyBox prompt, not Debian.



              Additional documentation from Technologic:
              https://wiki.embeddedarm.com/wiki/TS-7500






              share|improve this answer


























                0












                0








                0







                Found the answer for my particular problem!!!!



                There is some documentation for the Technologic TS-7500 platform on the company's website, but my poor lack of experience missed a critical detail! They provide some information as shown in the code snippet below:



                rm linuxrc; ln -s /linuxrc-sdroot /linuxrc; save



                I misunderstood and thought that this should be entered as one single command. Turns out, I needed to enter it as three sequential commands:



                # rm linuxrc
                # ln -s /linuxrc-sdroot /linuxrc
                # save


                Additionally, these commands should all be entered in the BusyBox prompt, not Debian.



                Additional documentation from Technologic:
                https://wiki.embeddedarm.com/wiki/TS-7500






                share|improve this answer













                Found the answer for my particular problem!!!!



                There is some documentation for the Technologic TS-7500 platform on the company's website, but my poor lack of experience missed a critical detail! They provide some information as shown in the code snippet below:



                rm linuxrc; ln -s /linuxrc-sdroot /linuxrc; save



                I misunderstood and thought that this should be entered as one single command. Turns out, I needed to enter it as three sequential commands:



                # rm linuxrc
                # ln -s /linuxrc-sdroot /linuxrc
                # save


                Additionally, these commands should all be entered in the BusyBox prompt, not Debian.



                Additional documentation from Technologic:
                https://wiki.embeddedarm.com/wiki/TS-7500







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 15 at 1:41









                engineerjoe440engineerjoe440

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1393453%2fboot-automatically-into-debian-instead-of-busybox-initrd%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

                    How to make a Squid Proxy server?

                    第一次世界大戦

                    Touch on Surface Book