Create iso image of persistent live usb with multiple partitions
Using this awesome tutorial I was able to create a bootable Debian live USB with persistence.
After some days using it, it's quite configured and I would like to be able to replicate it into another usb drive.
Is there any way to do it?
I was thinking of creating an ISO image of the configured USB flash drive, but since it has multiple partitions I don't even know if it is possible.
debian
bumped to the homepage by Community♦ 29 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Using this awesome tutorial I was able to create a bootable Debian live USB with persistence.
After some days using it, it's quite configured and I would like to be able to replicate it into another usb drive.
Is there any way to do it?
I was thinking of creating an ISO image of the configured USB flash drive, but since it has multiple partitions I don't even know if it is possible.
debian
bumped to the homepage by Community♦ 29 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Using this awesome tutorial I was able to create a bootable Debian live USB with persistence.
After some days using it, it's quite configured and I would like to be able to replicate it into another usb drive.
Is there any way to do it?
I was thinking of creating an ISO image of the configured USB flash drive, but since it has multiple partitions I don't even know if it is possible.
debian
Using this awesome tutorial I was able to create a bootable Debian live USB with persistence.
After some days using it, it's quite configured and I would like to be able to replicate it into another usb drive.
Is there any way to do it?
I was thinking of creating an ISO image of the configured USB flash drive, but since it has multiple partitions I don't even know if it is possible.
debian
debian
edited Aug 15 '17 at 5:49
Noam M
4311516
4311516
asked Aug 14 '17 at 20:16
UxioUxio
185
185
bumped to the homepage by Community♦ 29 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 29 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Just dd
or cat
the whole device file like /dev/sdb
into a file and the other way around.
It's also required to umount first the device in order to make iso image or dump the iso image.
– Uxio
Aug 15 '17 at 11:58
add a comment |
If the new USB drive is equal in size or larger, you can use dd to duplicate the drive (/dev/sdX being the template drive, /dev/sdY being the new drive):
dd if=/dev/sdX of=/dev/sdY bs=1M conv=sync
Otherwise, or if the new drive is larger than the template drive and you want to use a maximum amount of space for the persistence partition, you can prepare the new drive like you did prepare the template drive and then copy the persistence partition contents from the template drive to the new drive (simple file copy).
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%2f386100%2fcreate-iso-image-of-persistent-live-usb-with-multiple-partitions%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
Just dd
or cat
the whole device file like /dev/sdb
into a file and the other way around.
It's also required to umount first the device in order to make iso image or dump the iso image.
– Uxio
Aug 15 '17 at 11:58
add a comment |
Just dd
or cat
the whole device file like /dev/sdb
into a file and the other way around.
It's also required to umount first the device in order to make iso image or dump the iso image.
– Uxio
Aug 15 '17 at 11:58
add a comment |
Just dd
or cat
the whole device file like /dev/sdb
into a file and the other way around.
Just dd
or cat
the whole device file like /dev/sdb
into a file and the other way around.
answered Aug 14 '17 at 21:26
L29AhL29Ah
559114
559114
It's also required to umount first the device in order to make iso image or dump the iso image.
– Uxio
Aug 15 '17 at 11:58
add a comment |
It's also required to umount first the device in order to make iso image or dump the iso image.
– Uxio
Aug 15 '17 at 11:58
It's also required to umount first the device in order to make iso image or dump the iso image.
– Uxio
Aug 15 '17 at 11:58
It's also required to umount first the device in order to make iso image or dump the iso image.
– Uxio
Aug 15 '17 at 11:58
add a comment |
If the new USB drive is equal in size or larger, you can use dd to duplicate the drive (/dev/sdX being the template drive, /dev/sdY being the new drive):
dd if=/dev/sdX of=/dev/sdY bs=1M conv=sync
Otherwise, or if the new drive is larger than the template drive and you want to use a maximum amount of space for the persistence partition, you can prepare the new drive like you did prepare the template drive and then copy the persistence partition contents from the template drive to the new drive (simple file copy).
add a comment |
If the new USB drive is equal in size or larger, you can use dd to duplicate the drive (/dev/sdX being the template drive, /dev/sdY being the new drive):
dd if=/dev/sdX of=/dev/sdY bs=1M conv=sync
Otherwise, or if the new drive is larger than the template drive and you want to use a maximum amount of space for the persistence partition, you can prepare the new drive like you did prepare the template drive and then copy the persistence partition contents from the template drive to the new drive (simple file copy).
add a comment |
If the new USB drive is equal in size or larger, you can use dd to duplicate the drive (/dev/sdX being the template drive, /dev/sdY being the new drive):
dd if=/dev/sdX of=/dev/sdY bs=1M conv=sync
Otherwise, or if the new drive is larger than the template drive and you want to use a maximum amount of space for the persistence partition, you can prepare the new drive like you did prepare the template drive and then copy the persistence partition contents from the template drive to the new drive (simple file copy).
If the new USB drive is equal in size or larger, you can use dd to duplicate the drive (/dev/sdX being the template drive, /dev/sdY being the new drive):
dd if=/dev/sdX of=/dev/sdY bs=1M conv=sync
Otherwise, or if the new drive is larger than the template drive and you want to use a maximum amount of space for the persistence partition, you can prepare the new drive like you did prepare the template drive and then copy the persistence partition contents from the template drive to the new drive (simple file copy).
answered Oct 3 '17 at 18:02
schlimmchenschlimmchen
6681615
6681615
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%2f386100%2fcreate-iso-image-of-persistent-live-usb-with-multiple-partitions%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