cannot backup with dd
using dd to create part. image I always get the msg that there is no Storage available
on the output file.
my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img
device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.
device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.
Same results if devices are mounted or unmounted or if I run dd as root user.
dd
add a comment |
using dd to create part. image I always get the msg that there is no Storage available
on the output file.
my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img
device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.
device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.
Same results if devices are mounted or unmounted or if I run dd as root user.
dd
3
You should mount/dev/sdc2
somewhere, say on/mnt
, then use as output a new file on/mnt
, for example/mnt/file.image
.
– enzotib
Feb 11 '12 at 22:07
Also I'd like to mention thatdd
is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this/dev/sdc2.disk1.img
thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )
– Sergey
Feb 11 '12 at 23:23
add a comment |
using dd to create part. image I always get the msg that there is no Storage available
on the output file.
my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img
device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.
device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.
Same results if devices are mounted or unmounted or if I run dd as root user.
dd
using dd to create part. image I always get the msg that there is no Storage available
on the output file.
my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img
device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.
device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.
Same results if devices are mounted or unmounted or if I run dd as root user.
dd
dd
asked Feb 11 '12 at 21:45
Paul HartwigPaul Hartwig
1
1
3
You should mount/dev/sdc2
somewhere, say on/mnt
, then use as output a new file on/mnt
, for example/mnt/file.image
.
– enzotib
Feb 11 '12 at 22:07
Also I'd like to mention thatdd
is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this/dev/sdc2.disk1.img
thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )
– Sergey
Feb 11 '12 at 23:23
add a comment |
3
You should mount/dev/sdc2
somewhere, say on/mnt
, then use as output a new file on/mnt
, for example/mnt/file.image
.
– enzotib
Feb 11 '12 at 22:07
Also I'd like to mention thatdd
is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this/dev/sdc2.disk1.img
thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )
– Sergey
Feb 11 '12 at 23:23
3
3
You should mount
/dev/sdc2
somewhere, say on /mnt
, then use as output a new file on /mnt
, for example /mnt/file.image
.– enzotib
Feb 11 '12 at 22:07
You should mount
/dev/sdc2
somewhere, say on /mnt
, then use as output a new file on /mnt
, for example /mnt/file.image
.– enzotib
Feb 11 '12 at 22:07
Also I'd like to mention that
dd
is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img
thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )– Sergey
Feb 11 '12 at 23:23
Also I'd like to mention that
dd
is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img
thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )– Sergey
Feb 11 '12 at 23:23
add a comment |
2 Answers
2
active
oldest
votes
That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.
add a comment |
dd if=/dev/sdb2 of=~/Desktop/file.img
then do:
dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM
(where x is the amount of Megabytes per block). Make sure the destination device is unmounted.
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%2f103423%2fcannot-backup-with-dd%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
That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.
add a comment |
That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.
add a comment |
That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.
That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.
answered Feb 11 '12 at 22:31
psusipsusi
31.1k15088
31.1k15088
add a comment |
add a comment |
dd if=/dev/sdb2 of=~/Desktop/file.img
then do:
dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM
(where x is the amount of Megabytes per block). Make sure the destination device is unmounted.
add a comment |
dd if=/dev/sdb2 of=~/Desktop/file.img
then do:
dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM
(where x is the amount of Megabytes per block). Make sure the destination device is unmounted.
add a comment |
dd if=/dev/sdb2 of=~/Desktop/file.img
then do:
dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM
(where x is the amount of Megabytes per block). Make sure the destination device is unmounted.
dd if=/dev/sdb2 of=~/Desktop/file.img
then do:
dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM
(where x is the amount of Megabytes per block). Make sure the destination device is unmounted.
answered yesterday
Juan Carlos IturriagagoitiaJuan Carlos Iturriagagoitia
11
11
add a comment |
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%2f103423%2fcannot-backup-with-dd%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
3
You should mount
/dev/sdc2
somewhere, say on/mnt
, then use as output a new file on/mnt
, for example/mnt/file.image
.– enzotib
Feb 11 '12 at 22:07
Also I'd like to mention that
dd
is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this/dev/sdc2.disk1.img
thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )– Sergey
Feb 11 '12 at 23:23