How to create dual boot with LUKS/LVM full partition encryption on same disk?Boot drops to a (initramfs)...
Biological Blimps: Propulsion
What was the exact wording from Ivanhoe of this advice on how to free yourself from slavery?
Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?
In Qur'an 7:161, why is "say the word of humility" translated in various ways?
Why is so much work done on numerical verification of the Riemann Hypothesis?
What does chmod -u do?
How can "mimic phobia" be cured or prevented?
Pre-mixing cryogenic fuels and using only one fuel tank
How can we generalize the fact of finite dimensional vector space to an infinte dimensional case?
Yosemite Fire Rings - What to Expect?
Count the occurrence of each unique word in the file
How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?
Lowest total scrabble score
If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?
WiFi Thermostat, No C Terminal on Furnace
What was this official D&D 3.5e Lovecraft-flavored rulebook?
Problem with TransformedDistribution
Does a 'pending' US visa application constitute a denial?
How could a planet have erratic days?
Drawing ramified coverings with tikz
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
How do I color the graph in datavisualization?
How do you make your own symbol when Detexify fails?
Calculating Wattage for Resistor in High Frequency Application?
How to create dual boot with LUKS/LVM full partition encryption on same disk?
Boot drops to a (initramfs) prompts/busyboxHow can I install Ubuntu encrypted with LUKS with dual-boot?Ubuntu dual-boot with LVM and LUKS install failsWindows 7 not booting after installing Ubuntu 12.04 from wubiBooting Into Fresh Install of Ubuntu on Lenovo x120eUbuntu full disk encryption with encrypted /bootLUKS LVM device mapped by UUID instead of e.g. sda5_cryptIssues with GRUB on reinstallation of Ubuntu 16.04 (dual-boot)Ubuntu dual-boot with LVM and LUKS install failsLUKS/Cryptosetup and LVM: can't input passwords after bootHow do I move/home folder to a luks encrypted external drive?What needs to be done to prepare a stock, non LUKS Ubuntu install to boot from a LUKS encrypted partition with a separate /boot partition?Grub Rescue Fails using Live USB
I followed this tutorial from 2014: https://www.oxygenimpaired.com/multiple-linux-distro-installs-on-a-luks-encrypted-harddrive
I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5
.
After following all steps to install the first Linux, and rebooting the machine, I got into the Boot drops to a (initramfs) prompts/busybox with this error:
When following the tutorial, I ran the following commands:
fdisk /dev/sda
, then, created the following partitions:
cryptsetup luksFormat /dev/sda5
cryptsetup luksOpen /dev/sda5 sda5_crypt
pvcreate /dev/mapper/sda5_crypt
vgcreate vggroup /dev/mapper/sda5_crypt
lvcreate -L1G -n mint_xfce_swap vggroup
lvcreate -L8.9G -n mint_xfce_root vggroup
mkdir /mnt/newroot
mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot
mount -o bind /proc /mnt/newroot/proc
mount -o bind /dev /mnt/newroot/dev
mount -o bind /dev/pts /mnt/newroot/dev/pts
mount -o bind /sys /mnt/newroot/sys
cd /mnt/newroot
chroot /mnt/newroot
mount /dev/sda1 /boot
blkid /dev/sda5
update-initramfs -u
update-grub
exit
reboot
Other references:
- Ubuntu dual-boot with LVM and LUKS install fails
- How can I install Ubuntu encrypted with LUKS with dual-boot?
boot dual-boot grub2 encryption luks
add a comment |
I followed this tutorial from 2014: https://www.oxygenimpaired.com/multiple-linux-distro-installs-on-a-luks-encrypted-harddrive
I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5
.
After following all steps to install the first Linux, and rebooting the machine, I got into the Boot drops to a (initramfs) prompts/busybox with this error:
When following the tutorial, I ran the following commands:
fdisk /dev/sda
, then, created the following partitions:
cryptsetup luksFormat /dev/sda5
cryptsetup luksOpen /dev/sda5 sda5_crypt
pvcreate /dev/mapper/sda5_crypt
vgcreate vggroup /dev/mapper/sda5_crypt
lvcreate -L1G -n mint_xfce_swap vggroup
lvcreate -L8.9G -n mint_xfce_root vggroup
mkdir /mnt/newroot
mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot
mount -o bind /proc /mnt/newroot/proc
mount -o bind /dev /mnt/newroot/dev
mount -o bind /dev/pts /mnt/newroot/dev/pts
mount -o bind /sys /mnt/newroot/sys
cd /mnt/newroot
chroot /mnt/newroot
mount /dev/sda1 /boot
blkid /dev/sda5
update-initramfs -u
update-grub
exit
reboot
Other references:
- Ubuntu dual-boot with LVM and LUKS install fails
- How can I install Ubuntu encrypted with LUKS with dual-boot?
boot dual-boot grub2 encryption luks
add a comment |
I followed this tutorial from 2014: https://www.oxygenimpaired.com/multiple-linux-distro-installs-on-a-luks-encrypted-harddrive
I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5
.
After following all steps to install the first Linux, and rebooting the machine, I got into the Boot drops to a (initramfs) prompts/busybox with this error:
When following the tutorial, I ran the following commands:
fdisk /dev/sda
, then, created the following partitions:
cryptsetup luksFormat /dev/sda5
cryptsetup luksOpen /dev/sda5 sda5_crypt
pvcreate /dev/mapper/sda5_crypt
vgcreate vggroup /dev/mapper/sda5_crypt
lvcreate -L1G -n mint_xfce_swap vggroup
lvcreate -L8.9G -n mint_xfce_root vggroup
mkdir /mnt/newroot
mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot
mount -o bind /proc /mnt/newroot/proc
mount -o bind /dev /mnt/newroot/dev
mount -o bind /dev/pts /mnt/newroot/dev/pts
mount -o bind /sys /mnt/newroot/sys
cd /mnt/newroot
chroot /mnt/newroot
mount /dev/sda1 /boot
blkid /dev/sda5
update-initramfs -u
update-grub
exit
reboot
Other references:
- Ubuntu dual-boot with LVM and LUKS install fails
- How can I install Ubuntu encrypted with LUKS with dual-boot?
boot dual-boot grub2 encryption luks
I followed this tutorial from 2014: https://www.oxygenimpaired.com/multiple-linux-distro-installs-on-a-luks-encrypted-harddrive
I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5
.
After following all steps to install the first Linux, and rebooting the machine, I got into the Boot drops to a (initramfs) prompts/busybox with this error:
When following the tutorial, I ran the following commands:
fdisk /dev/sda
, then, created the following partitions:
cryptsetup luksFormat /dev/sda5
cryptsetup luksOpen /dev/sda5 sda5_crypt
pvcreate /dev/mapper/sda5_crypt
vgcreate vggroup /dev/mapper/sda5_crypt
lvcreate -L1G -n mint_xfce_swap vggroup
lvcreate -L8.9G -n mint_xfce_root vggroup
mkdir /mnt/newroot
mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot
mount -o bind /proc /mnt/newroot/proc
mount -o bind /dev /mnt/newroot/dev
mount -o bind /dev/pts /mnt/newroot/dev/pts
mount -o bind /sys /mnt/newroot/sys
cd /mnt/newroot
chroot /mnt/newroot
mount /dev/sda1 /boot
blkid /dev/sda5
update-initramfs -u
update-grub
exit
reboot
Other references:
- Ubuntu dual-boot with LVM and LUKS install fails
- How can I install Ubuntu encrypted with LUKS with dual-boot?
boot dual-boot grub2 encryption luks
boot dual-boot grub2 encryption luks
asked 5 mins ago
useruser
10817
10817
add a comment |
add a comment |
0
active
oldest
votes
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%2f1128197%2fhow-to-create-dual-boot-with-luks-lvm-full-partition-encryption-on-same-disk%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
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%2f1128197%2fhow-to-create-dual-boot-with-luks-lvm-full-partition-encryption-on-same-disk%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