dd - unrecongnized operand of=/dev/sdc when trying to create a bootable USB
I am trying to create a bootable USB. Currently on lsblk I have sdc -> sdc1, formatted to fat32.
I am trying now to save my iso with the following command:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M && sync status=progress
The error I am getting is:
dd: unrecognized operand ‘ of=/dev/sdc’
From all the searching I did, I can see that the of=...should be as I wrote it to be. What am I doing wrong?
boot partitioning usb
add a comment |
I am trying to create a bootable USB. Currently on lsblk I have sdc -> sdc1, formatted to fat32.
I am trying now to save my iso with the following command:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M && sync status=progress
The error I am getting is:
dd: unrecognized operand ‘ of=/dev/sdc’
From all the searching I did, I can see that the of=...should be as I wrote it to be. What am I doing wrong?
boot partitioning usb
1. Please remove the backslash beforeof=...
2.status=...
will not work where you put it. It should be before&&
or not at all
– sudodus
Feb 2 at 16:11
add a comment |
I am trying to create a bootable USB. Currently on lsblk I have sdc -> sdc1, formatted to fat32.
I am trying now to save my iso with the following command:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M && sync status=progress
The error I am getting is:
dd: unrecognized operand ‘ of=/dev/sdc’
From all the searching I did, I can see that the of=...should be as I wrote it to be. What am I doing wrong?
boot partitioning usb
I am trying to create a bootable USB. Currently on lsblk I have sdc -> sdc1, formatted to fat32.
I am trying now to save my iso with the following command:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M && sync status=progress
The error I am getting is:
dd: unrecognized operand ‘ of=/dev/sdc’
From all the searching I did, I can see that the of=...should be as I wrote it to be. What am I doing wrong?
boot partitioning usb
boot partitioning usb
edited Feb 2 at 17:04
sudodus
25.2k32977
25.2k32977
asked Feb 2 at 16:02
Svetoslav AntonovSvetoslav Antonov
83
83
1. Please remove the backslash beforeof=...
2.status=...
will not work where you put it. It should be before&&
or not at all
– sudodus
Feb 2 at 16:11
add a comment |
1. Please remove the backslash beforeof=...
2.status=...
will not work where you put it. It should be before&&
or not at all
– sudodus
Feb 2 at 16:11
1. Please remove the backslash before
of=...
2. status=...
will not work where you put it. It should be before &&
or not at all– sudodus
Feb 2 at 16:11
1. Please remove the backslash before
of=...
2. status=...
will not work where you put it. It should be before &&
or not at all– sudodus
Feb 2 at 16:11
add a comment |
1 Answer
1
active
oldest
votes
The dd
command that you tried has an unnecessary /
character after if=/dev/puppylinux.iso
which should be removed. sync
is a separate command, so it goes after the &&
so that sync
runs only if the first command ( dd
) ran.
The correct command is:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M status=progress && sync
+1; This will work, but usingdd
like this is risky, becausedd
has no final checkpoint, so it is easy to write to and overwrite the wrong drive. I would recommend Ubuntu's Startup disk creator, Disks (aliasgnome-disks
) or mkusb.
– sudodus
Feb 2 at 16:18
Startup Disk Creator is a great USB creator program which I prefer to use instead ofdd
.
– karel
Feb 2 at 16:22
1
Worked like a charm. I just wanted to fiddle a bit with the dd command. Thanks! Won't let me upvote the answer because of low reputation. :(
– Svetoslav Antonov
Feb 2 at 16:25
add a comment |
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
});
}
});
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%2faskubuntu.com%2fquestions%2f1115013%2fdd-unrecongnized-operand-of-dev-sdc-when-trying-to-create-a-bootable-usb%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
The dd
command that you tried has an unnecessary /
character after if=/dev/puppylinux.iso
which should be removed. sync
is a separate command, so it goes after the &&
so that sync
runs only if the first command ( dd
) ran.
The correct command is:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M status=progress && sync
+1; This will work, but usingdd
like this is risky, becausedd
has no final checkpoint, so it is easy to write to and overwrite the wrong drive. I would recommend Ubuntu's Startup disk creator, Disks (aliasgnome-disks
) or mkusb.
– sudodus
Feb 2 at 16:18
Startup Disk Creator is a great USB creator program which I prefer to use instead ofdd
.
– karel
Feb 2 at 16:22
1
Worked like a charm. I just wanted to fiddle a bit with the dd command. Thanks! Won't let me upvote the answer because of low reputation. :(
– Svetoslav Antonov
Feb 2 at 16:25
add a comment |
The dd
command that you tried has an unnecessary /
character after if=/dev/puppylinux.iso
which should be removed. sync
is a separate command, so it goes after the &&
so that sync
runs only if the first command ( dd
) ran.
The correct command is:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M status=progress && sync
+1; This will work, but usingdd
like this is risky, becausedd
has no final checkpoint, so it is easy to write to and overwrite the wrong drive. I would recommend Ubuntu's Startup disk creator, Disks (aliasgnome-disks
) or mkusb.
– sudodus
Feb 2 at 16:18
Startup Disk Creator is a great USB creator program which I prefer to use instead ofdd
.
– karel
Feb 2 at 16:22
1
Worked like a charm. I just wanted to fiddle a bit with the dd command. Thanks! Won't let me upvote the answer because of low reputation. :(
– Svetoslav Antonov
Feb 2 at 16:25
add a comment |
The dd
command that you tried has an unnecessary /
character after if=/dev/puppylinux.iso
which should be removed. sync
is a separate command, so it goes after the &&
so that sync
runs only if the first command ( dd
) ran.
The correct command is:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M status=progress && sync
The dd
command that you tried has an unnecessary /
character after if=/dev/puppylinux.iso
which should be removed. sync
is a separate command, so it goes after the &&
so that sync
runs only if the first command ( dd
) ran.
The correct command is:
sudo dd if=/dev/puppylinux.iso of=/dev/sdc bs=4M status=progress && sync
edited Feb 2 at 16:25
answered Feb 2 at 16:11
karelkarel
60.3k13130154
60.3k13130154
+1; This will work, but usingdd
like this is risky, becausedd
has no final checkpoint, so it is easy to write to and overwrite the wrong drive. I would recommend Ubuntu's Startup disk creator, Disks (aliasgnome-disks
) or mkusb.
– sudodus
Feb 2 at 16:18
Startup Disk Creator is a great USB creator program which I prefer to use instead ofdd
.
– karel
Feb 2 at 16:22
1
Worked like a charm. I just wanted to fiddle a bit with the dd command. Thanks! Won't let me upvote the answer because of low reputation. :(
– Svetoslav Antonov
Feb 2 at 16:25
add a comment |
+1; This will work, but usingdd
like this is risky, becausedd
has no final checkpoint, so it is easy to write to and overwrite the wrong drive. I would recommend Ubuntu's Startup disk creator, Disks (aliasgnome-disks
) or mkusb.
– sudodus
Feb 2 at 16:18
Startup Disk Creator is a great USB creator program which I prefer to use instead ofdd
.
– karel
Feb 2 at 16:22
1
Worked like a charm. I just wanted to fiddle a bit with the dd command. Thanks! Won't let me upvote the answer because of low reputation. :(
– Svetoslav Antonov
Feb 2 at 16:25
+1; This will work, but using
dd
like this is risky, because dd
has no final checkpoint, so it is easy to write to and overwrite the wrong drive. I would recommend Ubuntu's Startup disk creator, Disks (alias gnome-disks
) or mkusb.– sudodus
Feb 2 at 16:18
+1; This will work, but using
dd
like this is risky, because dd
has no final checkpoint, so it is easy to write to and overwrite the wrong drive. I would recommend Ubuntu's Startup disk creator, Disks (alias gnome-disks
) or mkusb.– sudodus
Feb 2 at 16:18
Startup Disk Creator is a great USB creator program which I prefer to use instead of
dd
.– karel
Feb 2 at 16:22
Startup Disk Creator is a great USB creator program which I prefer to use instead of
dd
.– karel
Feb 2 at 16:22
1
1
Worked like a charm. I just wanted to fiddle a bit with the dd command. Thanks! Won't let me upvote the answer because of low reputation. :(
– Svetoslav Antonov
Feb 2 at 16:25
Worked like a charm. I just wanted to fiddle a bit with the dd command. Thanks! Won't let me upvote the answer because of low reputation. :(
– Svetoslav Antonov
Feb 2 at 16:25
add a comment |
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.
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%2faskubuntu.com%2fquestions%2f1115013%2fdd-unrecongnized-operand-of-dev-sdc-when-trying-to-create-a-bootable-usb%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
1. Please remove the backslash before
of=...
2.status=...
will not work where you put it. It should be before&&
or not at all– sudodus
Feb 2 at 16:11