How reinstall Debian with LVM and LUKS and keep /home?












0















I need to reinstall Debian - format / and /boot but keep /home.
/ /boot and /home are encrypted and LVM
How I can do this ?



df -hl --block-size=G
Filesystem 1G-blocks Used Available Use% Mounted on
udev 16G 0G 16G 0% /dev
tmpfs 4G 1G 4G 1% /run
/dev/mapper/root-root 28G 12G 15G 47% /
tmpfs 16G 1G 16G 1% /dev/shm
tmpfs 1G 1G 1G 1% /run/lock
tmpfs 16G 0G 16G 0% /sys/fs/cgroup
/dev/mapper/root-home 128G 113G 9G 93% /home
/dev/sda5 2G 1G 2G 19% /boot
tmpfs 4G 1G 4G 1% /run/user/115
tmpfs 4G 1G 4G 1% /run/user/1000









share|improve this question


















  • 1





    It is not the first time you asking this here, or just my impression?

    – Rui F Ribeiro
    Jan 28 at 18:42








  • 2





    have you tried this?

    – kemotep
    Jan 28 at 18:47
















0















I need to reinstall Debian - format / and /boot but keep /home.
/ /boot and /home are encrypted and LVM
How I can do this ?



df -hl --block-size=G
Filesystem 1G-blocks Used Available Use% Mounted on
udev 16G 0G 16G 0% /dev
tmpfs 4G 1G 4G 1% /run
/dev/mapper/root-root 28G 12G 15G 47% /
tmpfs 16G 1G 16G 1% /dev/shm
tmpfs 1G 1G 1G 1% /run/lock
tmpfs 16G 0G 16G 0% /sys/fs/cgroup
/dev/mapper/root-home 128G 113G 9G 93% /home
/dev/sda5 2G 1G 2G 19% /boot
tmpfs 4G 1G 4G 1% /run/user/115
tmpfs 4G 1G 4G 1% /run/user/1000









share|improve this question


















  • 1





    It is not the first time you asking this here, or just my impression?

    – Rui F Ribeiro
    Jan 28 at 18:42








  • 2





    have you tried this?

    – kemotep
    Jan 28 at 18:47














0












0








0








I need to reinstall Debian - format / and /boot but keep /home.
/ /boot and /home are encrypted and LVM
How I can do this ?



df -hl --block-size=G
Filesystem 1G-blocks Used Available Use% Mounted on
udev 16G 0G 16G 0% /dev
tmpfs 4G 1G 4G 1% /run
/dev/mapper/root-root 28G 12G 15G 47% /
tmpfs 16G 1G 16G 1% /dev/shm
tmpfs 1G 1G 1G 1% /run/lock
tmpfs 16G 0G 16G 0% /sys/fs/cgroup
/dev/mapper/root-home 128G 113G 9G 93% /home
/dev/sda5 2G 1G 2G 19% /boot
tmpfs 4G 1G 4G 1% /run/user/115
tmpfs 4G 1G 4G 1% /run/user/1000









share|improve this question














I need to reinstall Debian - format / and /boot but keep /home.
/ /boot and /home are encrypted and LVM
How I can do this ?



df -hl --block-size=G
Filesystem 1G-blocks Used Available Use% Mounted on
udev 16G 0G 16G 0% /dev
tmpfs 4G 1G 4G 1% /run
/dev/mapper/root-root 28G 12G 15G 47% /
tmpfs 16G 1G 16G 1% /dev/shm
tmpfs 1G 1G 1G 1% /run/lock
tmpfs 16G 0G 16G 0% /sys/fs/cgroup
/dev/mapper/root-home 128G 113G 9G 93% /home
/dev/sda5 2G 1G 2G 19% /boot
tmpfs 4G 1G 4G 1% /run/user/115
tmpfs 4G 1G 4G 1% /run/user/1000






debian system-installation debian-installer reinstall






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 28 at 18:33









user333917user333917

1




1








  • 1





    It is not the first time you asking this here, or just my impression?

    – Rui F Ribeiro
    Jan 28 at 18:42








  • 2





    have you tried this?

    – kemotep
    Jan 28 at 18:47














  • 1





    It is not the first time you asking this here, or just my impression?

    – Rui F Ribeiro
    Jan 28 at 18:42








  • 2





    have you tried this?

    – kemotep
    Jan 28 at 18:47








1




1





It is not the first time you asking this here, or just my impression?

– Rui F Ribeiro
Jan 28 at 18:42







It is not the first time you asking this here, or just my impression?

– Rui F Ribeiro
Jan 28 at 18:42






2




2





have you tried this?

– kemotep
Jan 28 at 18:47





have you tried this?

– kemotep
Jan 28 at 18:47










0






active

oldest

votes











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%2f497268%2fhow-reinstall-debian-with-lvm-and-luks-and-keep-home%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f497268%2fhow-reinstall-debian-with-lvm-and-luks-and-keep-home%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

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀