How do I access an SD card via command line in Chrome OS?












0















I'm trying to use the command line in terminal to unzip a massive .zip archive on my SD card. My understanding is that normally, I would locate the SD card in /dev/, mount the card, and then I should have read/write privileges.



But I don't know the name of the correct device node. diskutil list is not available AFAIK. What should I do?



I am running ChromeOS Version 70.0.3538.110 (Official Build) (64-bit), and using the Terminal via Crostini










share|improve this question

























  • Provide the error info you met

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:36











  • Thanks for responding! I'm not sure what you mean by error info. If you mean what happens if I try to run diskutil list, the message I receive is -bash: diskutil: command not found

    – chargarg
    Dec 12 '18 at 6:38













  • Mount it then access it.

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:39











  • My understanding is that in order to mount the SD card, I need the name of the SD card in the filesystem. However, I am unable to find the name of the SD card

    – chargarg
    Dec 12 '18 at 6:42






  • 1





    try lsblk, it should output all your block devices. Even it doesn't work, you should be able to plug it off to see which device mode disappeared or plug it in to see which device just appeared.

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:51
















0















I'm trying to use the command line in terminal to unzip a massive .zip archive on my SD card. My understanding is that normally, I would locate the SD card in /dev/, mount the card, and then I should have read/write privileges.



But I don't know the name of the correct device node. diskutil list is not available AFAIK. What should I do?



I am running ChromeOS Version 70.0.3538.110 (Official Build) (64-bit), and using the Terminal via Crostini










share|improve this question

























  • Provide the error info you met

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:36











  • Thanks for responding! I'm not sure what you mean by error info. If you mean what happens if I try to run diskutil list, the message I receive is -bash: diskutil: command not found

    – chargarg
    Dec 12 '18 at 6:38













  • Mount it then access it.

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:39











  • My understanding is that in order to mount the SD card, I need the name of the SD card in the filesystem. However, I am unable to find the name of the SD card

    – chargarg
    Dec 12 '18 at 6:42






  • 1





    try lsblk, it should output all your block devices. Even it doesn't work, you should be able to plug it off to see which device mode disappeared or plug it in to see which device just appeared.

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:51














0












0








0


1






I'm trying to use the command line in terminal to unzip a massive .zip archive on my SD card. My understanding is that normally, I would locate the SD card in /dev/, mount the card, and then I should have read/write privileges.



But I don't know the name of the correct device node. diskutil list is not available AFAIK. What should I do?



I am running ChromeOS Version 70.0.3538.110 (Official Build) (64-bit), and using the Terminal via Crostini










share|improve this question
















I'm trying to use the command line in terminal to unzip a massive .zip archive on my SD card. My understanding is that normally, I would locate the SD card in /dev/, mount the card, and then I should have read/write privileges.



But I don't know the name of the correct device node. diskutil list is not available AFAIK. What should I do?



I am running ChromeOS Version 70.0.3538.110 (Official Build) (64-bit), and using the Terminal via Crostini







block-device chrome-os






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 13 '18 at 8:50









Rui F Ribeiro

40.4k1479137




40.4k1479137










asked Dec 12 '18 at 5:55









chargargchargarg

264




264













  • Provide the error info you met

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:36











  • Thanks for responding! I'm not sure what you mean by error info. If you mean what happens if I try to run diskutil list, the message I receive is -bash: diskutil: command not found

    – chargarg
    Dec 12 '18 at 6:38













  • Mount it then access it.

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:39











  • My understanding is that in order to mount the SD card, I need the name of the SD card in the filesystem. However, I am unable to find the name of the SD card

    – chargarg
    Dec 12 '18 at 6:42






  • 1





    try lsblk, it should output all your block devices. Even it doesn't work, you should be able to plug it off to see which device mode disappeared or plug it in to see which device just appeared.

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:51



















  • Provide the error info you met

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:36











  • Thanks for responding! I'm not sure what you mean by error info. If you mean what happens if I try to run diskutil list, the message I receive is -bash: diskutil: command not found

    – chargarg
    Dec 12 '18 at 6:38













  • Mount it then access it.

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:39











  • My understanding is that in order to mount the SD card, I need the name of the SD card in the filesystem. However, I am unable to find the name of the SD card

    – chargarg
    Dec 12 '18 at 6:42






  • 1





    try lsblk, it should output all your block devices. Even it doesn't work, you should be able to plug it off to see which device mode disappeared or plug it in to see which device just appeared.

    – 炸鱼薯条德里克
    Dec 12 '18 at 6:51

















Provide the error info you met

– 炸鱼薯条德里克
Dec 12 '18 at 6:36





Provide the error info you met

– 炸鱼薯条德里克
Dec 12 '18 at 6:36













Thanks for responding! I'm not sure what you mean by error info. If you mean what happens if I try to run diskutil list, the message I receive is -bash: diskutil: command not found

– chargarg
Dec 12 '18 at 6:38







Thanks for responding! I'm not sure what you mean by error info. If you mean what happens if I try to run diskutil list, the message I receive is -bash: diskutil: command not found

– chargarg
Dec 12 '18 at 6:38















Mount it then access it.

– 炸鱼薯条德里克
Dec 12 '18 at 6:39





Mount it then access it.

– 炸鱼薯条德里克
Dec 12 '18 at 6:39













My understanding is that in order to mount the SD card, I need the name of the SD card in the filesystem. However, I am unable to find the name of the SD card

– chargarg
Dec 12 '18 at 6:42





My understanding is that in order to mount the SD card, I need the name of the SD card in the filesystem. However, I am unable to find the name of the SD card

– chargarg
Dec 12 '18 at 6:42




1




1





try lsblk, it should output all your block devices. Even it doesn't work, you should be able to plug it off to see which device mode disappeared or plug it in to see which device just appeared.

– 炸鱼薯条德里克
Dec 12 '18 at 6:51





try lsblk, it should output all your block devices. Even it doesn't work, you should be able to plug it off to see which device mode disappeared or plug it in to see which device just appeared.

– 炸鱼薯条德里克
Dec 12 '18 at 6:51










2 Answers
2






active

oldest

votes


















1














Turns out accessing external storage via command line is not available in Version 70.0 of ChromeOS, and support is still pending to arrive in Version 72. At least according to this news article. For now, I will have to unzip the archive in a different machine. Thanks!






share|improve this answer































    0















    1. Open crosh

    2. load shell

    3. cd "/media/removable/SD Card/"


    4. ls etc.


    If unzip doesn't work by default you can install it with chromebrew






    share|improve this answer








    New contributor




    dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















      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%2f487503%2fhow-do-i-access-an-sd-card-via-command-line-in-chrome-os%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Turns out accessing external storage via command line is not available in Version 70.0 of ChromeOS, and support is still pending to arrive in Version 72. At least according to this news article. For now, I will have to unzip the archive in a different machine. Thanks!






      share|improve this answer




























        1














        Turns out accessing external storage via command line is not available in Version 70.0 of ChromeOS, and support is still pending to arrive in Version 72. At least according to this news article. For now, I will have to unzip the archive in a different machine. Thanks!






        share|improve this answer


























          1












          1








          1







          Turns out accessing external storage via command line is not available in Version 70.0 of ChromeOS, and support is still pending to arrive in Version 72. At least according to this news article. For now, I will have to unzip the archive in a different machine. Thanks!






          share|improve this answer













          Turns out accessing external storage via command line is not available in Version 70.0 of ChromeOS, and support is still pending to arrive in Version 72. At least according to this news article. For now, I will have to unzip the archive in a different machine. Thanks!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 12 '18 at 15:03









          chargargchargarg

          264




          264

























              0















              1. Open crosh

              2. load shell

              3. cd "/media/removable/SD Card/"


              4. ls etc.


              If unzip doesn't work by default you can install it with chromebrew






              share|improve this answer








              New contributor




              dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0















                1. Open crosh

                2. load shell

                3. cd "/media/removable/SD Card/"


                4. ls etc.


                If unzip doesn't work by default you can install it with chromebrew






                share|improve this answer








                New contributor




                dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0








                  1. Open crosh

                  2. load shell

                  3. cd "/media/removable/SD Card/"


                  4. ls etc.


                  If unzip doesn't work by default you can install it with chromebrew






                  share|improve this answer








                  New contributor




                  dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.











                  1. Open crosh

                  2. load shell

                  3. cd "/media/removable/SD Card/"


                  4. ls etc.


                  If unzip doesn't work by default you can install it with chromebrew







                  share|improve this answer








                  New contributor




                  dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 19 mins ago









                  dw1dw1

                  1011




                  1011




                  New contributor




                  dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  dw1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      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%2f487503%2fhow-do-i-access-an-sd-card-via-command-line-in-chrome-os%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

                      Loup dans la culture

                      How to solve the problem of ntp “Unable to contact time server” from KDE?

                      ASUS Zenbook UX433/UX333 — Configure Touchpad-embedded numpad on Linux