How do I access an SD card via command line in Chrome OS?
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
|
show 2 more comments
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
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 rundiskutil 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
trylsblk
, 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
|
show 2 more comments
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
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
block-device chrome-os
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 rundiskutil 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
trylsblk
, 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
|
show 2 more comments
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 rundiskutil 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
trylsblk
, 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
|
show 2 more comments
2 Answers
2
active
oldest
votes
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!
add a comment |
- Open crosh
- load
shell
cd "/media/removable/SD Card/"
ls
etc.
If unzip
doesn't work by default you can install it with chromebrew
New contributor
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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!
add a comment |
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!
add a comment |
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!
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!
answered Dec 12 '18 at 15:03
chargargchargarg
264
264
add a comment |
add a comment |
- Open crosh
- load
shell
cd "/media/removable/SD Card/"
ls
etc.
If unzip
doesn't work by default you can install it with chromebrew
New contributor
add a comment |
- Open crosh
- load
shell
cd "/media/removable/SD Card/"
ls
etc.
If unzip
doesn't work by default you can install it with chromebrew
New contributor
add a comment |
- Open crosh
- load
shell
cd "/media/removable/SD Card/"
ls
etc.
If unzip
doesn't work by default you can install it with chromebrew
New contributor
- Open crosh
- load
shell
cd "/media/removable/SD Card/"
ls
etc.
If unzip
doesn't work by default you can install it with chromebrew
New contributor
New contributor
answered 29 mins ago
dw1dw1
1011
1011
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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