Problem with booting a newly LUKS encrypted root partitionSet initramfs to prompt for luks passowrd on...
Can an energy drink or chocolate before an exam be useful ? What sort of other edible goods be helpful?
Question about a degree 5 polynomial with no rational roots
Maximize assigned tasks to each worker
How can the dynamic linker/loader itself be dynamically linked as reported by `file`?
What can Thomas Cook customers who have not yet departed do now it has stopped operating?
A word that refers to saying something in an attempt to anger or embarrass someone into doing something that they don’t want to do?
What's the hidden joke/meaning behind "Don't drink and park - accidents cause people"?
I transpose the source code, you transpose the input!
what organs or modifications would be needed to have hairy fish?
Science fiction episode about the creation of a living pegasus, even though flightless
お仕事に学校頑張って meaning
Create the same subfolders in another folder
Does the app TikTok violate trademark?
Why does my browser attempt to download pages from http://clhs.lisp.se instead of viewing them normally?
Is a Middle Name a Given Name?
Population of post-Soviet states. Why decreasing?
Is determiner 'a' needed in "one would call such a value a constant"?
Why does Captain Marvel in the MCU not have her sash?
Can I target any number of creatures, even if the ability would have no effect?
Sci-fi movie with one survivor and an organism(?) recreating his memories
Why does it seem the best way to make a living is to invest in real estate?
Why would an airline put 15 passengers at once on standby?
How to stop the death waves in my city?
Delete n lines skip 1 line script
Problem with booting a newly LUKS encrypted root partition
Set initramfs to prompt for luks passowrd on startup on Mint 18?LUKS storing keyfile in encrypted usb driveHow to add Puppy Linux to grub menu installed by Ubuntu?Problem with GRUB for dual-boot installation of LMDE 2 (and Windows) on encrypted luks-lvm (truecrypt)Automatic unlock LVM partitions with a Key LUKS dm-cryptrecovering LUKS partitionInstalling GRUB to encrypted partition doesn't work if (root) is F2FSHow to reinstall Ubuntu 16.04 and reuse encrypted home partitionDual boot setup with LUKS and rEFInd: Can't Restore Backup to Second Partition
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I didn't encrypt my root partition when I was installing my Ubuntu 18.04 when 18.04 first came out (first few months of it's release)
So for reasons I decided to encrypt it now.
I know this question has been asked before (I posted the links of some of the asked ones, actually!) but I posted this because this issue is specific to me, so please don't remove my question, thank you very much, dear moderators and admins. I did not find anyone who had an issue same as mine, and after doing some MAJOR linux stuff, I had to ask for help since I was unable to solve this by myself. (Which hasn't happened a lot over my past 11 years of GNU/Linux-*nix experience. I solved/fixed my problems by myself and dear Google like 99% of the times... and as you know problems happen a lot in linux! :D )
Anyway, Here are the steps of which I did it: (In a 18.04 live usb)
sudo cryptsetup -v -y -c aes-xts-plain64 --key-size 512 --hash sha512 luksFormat --uuid=049172c6-5376-4b9c-bd27-b503b6f25423 /dev/sda5
sudo cryptsetup -v luksOpen /dev/sda5 myroot
sudo mkfs.ext4 -m 0 /dev/mapper/myroot
#Then for copying the contents of my root partition I used dd:
sudo dd if=/dev/sda6 of=/dev/mapper/myroot bs=4M
#/dev/sda6 is a duplicate of my original sda5 root...
#After I dd'ed, there was unallocated space on the partition so I did a check on it in GParted (Which also applies cryptsetup resize command to it)
sudo mount /dev/mapper/myroot /media/myroot #I created /media/myroot beforehands
Then after this I did A LOT of things I thought would help for booting this new encrypted root of mine with GRUB, and also A LOT OF MORE things I found by searching. So I basically tried everything people suggested in these links:
https://askubuntu.com/questions/1134998/booting-19-04-from-luks-system-drive
Set initramfs to prompt for luks passowrd on startup on Mint 18?
https://askubuntu.com/questions/1006867/cant-get-ubuntu-to-boot-from-luks-lvm-group-on-external-drive-on-imac-with-re
https://askubuntu.com/questions/729673/ubuntu-full-disk-encryption-with-encrypted-boot
https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot
https://askubuntu.com/questions/1082131/how-to-get-grub-to-boot-from-a-newly-encrypted-partition
(And a lot of more links)
Here's the output of fdisk -l:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FE0857E8-E0DE-40A0-96C5-C4FEC80B8742
Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 1067007 532480 260M EFI System
/dev/sda3 2582528 4630527 2048000 1000M Lenovo boot partition
/dev/sda4 4892672 259438591 254545920 121.4G Microsoft basic data
/dev/sda5 259438592 332343295 72904704 34.8G Linux filesystem
/dev/sda6 332343296 400898047 68554752 32.7G Linux filesystem
/dev/sda7 410068992 425521151 15452160 7.4G Microsoft basic data
These are my UUIDs:
/dev/sda5:
LUKS UUID: 049172c6-5376-4b9c-bd27-b503b6f25423
Partition UUID: 1db5df50-7000-48df-a281-74bad5689ce1
/dev/sda6:
Former UUID which I recently changed it to a new one because it was same as sda5's due to using dd for copying root filesystem to new LUKS partition: 1db5df50-7000-48df-a281-74bad5689ce1
New UUID: 7876a195-7219-4440-892a-61b57c706443
And finally the things I tried in GRUB:
http://s000.tinyupload.com/index.php?file_id=00739971820320475700
Any help will be much appreciated I really don't want to reinstall and encrypt from the installer, I need the things I have on my ubuntu and I really can't do a reinstall, this ubuntu install of mine is just so perfect, I've had a lot of experience with GNU/Linux (Over 10 years now) and had a lot of linux installations and I'm no noob, but I just can't loose all my data or configurations or customizations I made... I know I can back them up but I just... you know?
boot grub2 encryption luks
New contributor
add a comment
|
I didn't encrypt my root partition when I was installing my Ubuntu 18.04 when 18.04 first came out (first few months of it's release)
So for reasons I decided to encrypt it now.
I know this question has been asked before (I posted the links of some of the asked ones, actually!) but I posted this because this issue is specific to me, so please don't remove my question, thank you very much, dear moderators and admins. I did not find anyone who had an issue same as mine, and after doing some MAJOR linux stuff, I had to ask for help since I was unable to solve this by myself. (Which hasn't happened a lot over my past 11 years of GNU/Linux-*nix experience. I solved/fixed my problems by myself and dear Google like 99% of the times... and as you know problems happen a lot in linux! :D )
Anyway, Here are the steps of which I did it: (In a 18.04 live usb)
sudo cryptsetup -v -y -c aes-xts-plain64 --key-size 512 --hash sha512 luksFormat --uuid=049172c6-5376-4b9c-bd27-b503b6f25423 /dev/sda5
sudo cryptsetup -v luksOpen /dev/sda5 myroot
sudo mkfs.ext4 -m 0 /dev/mapper/myroot
#Then for copying the contents of my root partition I used dd:
sudo dd if=/dev/sda6 of=/dev/mapper/myroot bs=4M
#/dev/sda6 is a duplicate of my original sda5 root...
#After I dd'ed, there was unallocated space on the partition so I did a check on it in GParted (Which also applies cryptsetup resize command to it)
sudo mount /dev/mapper/myroot /media/myroot #I created /media/myroot beforehands
Then after this I did A LOT of things I thought would help for booting this new encrypted root of mine with GRUB, and also A LOT OF MORE things I found by searching. So I basically tried everything people suggested in these links:
https://askubuntu.com/questions/1134998/booting-19-04-from-luks-system-drive
Set initramfs to prompt for luks passowrd on startup on Mint 18?
https://askubuntu.com/questions/1006867/cant-get-ubuntu-to-boot-from-luks-lvm-group-on-external-drive-on-imac-with-re
https://askubuntu.com/questions/729673/ubuntu-full-disk-encryption-with-encrypted-boot
https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot
https://askubuntu.com/questions/1082131/how-to-get-grub-to-boot-from-a-newly-encrypted-partition
(And a lot of more links)
Here's the output of fdisk -l:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FE0857E8-E0DE-40A0-96C5-C4FEC80B8742
Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 1067007 532480 260M EFI System
/dev/sda3 2582528 4630527 2048000 1000M Lenovo boot partition
/dev/sda4 4892672 259438591 254545920 121.4G Microsoft basic data
/dev/sda5 259438592 332343295 72904704 34.8G Linux filesystem
/dev/sda6 332343296 400898047 68554752 32.7G Linux filesystem
/dev/sda7 410068992 425521151 15452160 7.4G Microsoft basic data
These are my UUIDs:
/dev/sda5:
LUKS UUID: 049172c6-5376-4b9c-bd27-b503b6f25423
Partition UUID: 1db5df50-7000-48df-a281-74bad5689ce1
/dev/sda6:
Former UUID which I recently changed it to a new one because it was same as sda5's due to using dd for copying root filesystem to new LUKS partition: 1db5df50-7000-48df-a281-74bad5689ce1
New UUID: 7876a195-7219-4440-892a-61b57c706443
And finally the things I tried in GRUB:
http://s000.tinyupload.com/index.php?file_id=00739971820320475700
Any help will be much appreciated I really don't want to reinstall and encrypt from the installer, I need the things I have on my ubuntu and I really can't do a reinstall, this ubuntu install of mine is just so perfect, I've had a lot of experience with GNU/Linux (Over 10 years now) and had a lot of linux installations and I'm no noob, but I just can't loose all my data or configurations or customizations I made... I know I can back them up but I just... you know?
boot grub2 encryption luks
New contributor
You create a filesystem, mount the filesystem, then ... destroy it with dd while mounted? That corrupts the filesystem you created and if still mounted, it also corrupts whatever you dd'ed. As for your boot problem, you wrote a lot but didn't say a single thing about it, so how is anyone supposed to help.
– frostschutz
24 mins ago
Oh, you're right, I actually dd'ed before mounting, I'm gonna edit it right now. Didn't say a single thing about it!? did you see the file I uploaded at tinyupload? since it was a lot of text I couldn't post it in this post so I just uploaded it and posted the link... If you saw this zip file I uploaded and it still didn't help, tell me what's missing and I'll add it. Thanks.
– GuyWithLUKS-BootProblem
12 mins ago
add a comment
|
I didn't encrypt my root partition when I was installing my Ubuntu 18.04 when 18.04 first came out (first few months of it's release)
So for reasons I decided to encrypt it now.
I know this question has been asked before (I posted the links of some of the asked ones, actually!) but I posted this because this issue is specific to me, so please don't remove my question, thank you very much, dear moderators and admins. I did not find anyone who had an issue same as mine, and after doing some MAJOR linux stuff, I had to ask for help since I was unable to solve this by myself. (Which hasn't happened a lot over my past 11 years of GNU/Linux-*nix experience. I solved/fixed my problems by myself and dear Google like 99% of the times... and as you know problems happen a lot in linux! :D )
Anyway, Here are the steps of which I did it: (In a 18.04 live usb)
sudo cryptsetup -v -y -c aes-xts-plain64 --key-size 512 --hash sha512 luksFormat --uuid=049172c6-5376-4b9c-bd27-b503b6f25423 /dev/sda5
sudo cryptsetup -v luksOpen /dev/sda5 myroot
sudo mkfs.ext4 -m 0 /dev/mapper/myroot
#Then for copying the contents of my root partition I used dd:
sudo dd if=/dev/sda6 of=/dev/mapper/myroot bs=4M
#/dev/sda6 is a duplicate of my original sda5 root...
#After I dd'ed, there was unallocated space on the partition so I did a check on it in GParted (Which also applies cryptsetup resize command to it)
sudo mount /dev/mapper/myroot /media/myroot #I created /media/myroot beforehands
Then after this I did A LOT of things I thought would help for booting this new encrypted root of mine with GRUB, and also A LOT OF MORE things I found by searching. So I basically tried everything people suggested in these links:
https://askubuntu.com/questions/1134998/booting-19-04-from-luks-system-drive
Set initramfs to prompt for luks passowrd on startup on Mint 18?
https://askubuntu.com/questions/1006867/cant-get-ubuntu-to-boot-from-luks-lvm-group-on-external-drive-on-imac-with-re
https://askubuntu.com/questions/729673/ubuntu-full-disk-encryption-with-encrypted-boot
https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot
https://askubuntu.com/questions/1082131/how-to-get-grub-to-boot-from-a-newly-encrypted-partition
(And a lot of more links)
Here's the output of fdisk -l:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FE0857E8-E0DE-40A0-96C5-C4FEC80B8742
Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 1067007 532480 260M EFI System
/dev/sda3 2582528 4630527 2048000 1000M Lenovo boot partition
/dev/sda4 4892672 259438591 254545920 121.4G Microsoft basic data
/dev/sda5 259438592 332343295 72904704 34.8G Linux filesystem
/dev/sda6 332343296 400898047 68554752 32.7G Linux filesystem
/dev/sda7 410068992 425521151 15452160 7.4G Microsoft basic data
These are my UUIDs:
/dev/sda5:
LUKS UUID: 049172c6-5376-4b9c-bd27-b503b6f25423
Partition UUID: 1db5df50-7000-48df-a281-74bad5689ce1
/dev/sda6:
Former UUID which I recently changed it to a new one because it was same as sda5's due to using dd for copying root filesystem to new LUKS partition: 1db5df50-7000-48df-a281-74bad5689ce1
New UUID: 7876a195-7219-4440-892a-61b57c706443
And finally the things I tried in GRUB:
http://s000.tinyupload.com/index.php?file_id=00739971820320475700
Any help will be much appreciated I really don't want to reinstall and encrypt from the installer, I need the things I have on my ubuntu and I really can't do a reinstall, this ubuntu install of mine is just so perfect, I've had a lot of experience with GNU/Linux (Over 10 years now) and had a lot of linux installations and I'm no noob, but I just can't loose all my data or configurations or customizations I made... I know I can back them up but I just... you know?
boot grub2 encryption luks
New contributor
I didn't encrypt my root partition when I was installing my Ubuntu 18.04 when 18.04 first came out (first few months of it's release)
So for reasons I decided to encrypt it now.
I know this question has been asked before (I posted the links of some of the asked ones, actually!) but I posted this because this issue is specific to me, so please don't remove my question, thank you very much, dear moderators and admins. I did not find anyone who had an issue same as mine, and after doing some MAJOR linux stuff, I had to ask for help since I was unable to solve this by myself. (Which hasn't happened a lot over my past 11 years of GNU/Linux-*nix experience. I solved/fixed my problems by myself and dear Google like 99% of the times... and as you know problems happen a lot in linux! :D )
Anyway, Here are the steps of which I did it: (In a 18.04 live usb)
sudo cryptsetup -v -y -c aes-xts-plain64 --key-size 512 --hash sha512 luksFormat --uuid=049172c6-5376-4b9c-bd27-b503b6f25423 /dev/sda5
sudo cryptsetup -v luksOpen /dev/sda5 myroot
sudo mkfs.ext4 -m 0 /dev/mapper/myroot
#Then for copying the contents of my root partition I used dd:
sudo dd if=/dev/sda6 of=/dev/mapper/myroot bs=4M
#/dev/sda6 is a duplicate of my original sda5 root...
#After I dd'ed, there was unallocated space on the partition so I did a check on it in GParted (Which also applies cryptsetup resize command to it)
sudo mount /dev/mapper/myroot /media/myroot #I created /media/myroot beforehands
Then after this I did A LOT of things I thought would help for booting this new encrypted root of mine with GRUB, and also A LOT OF MORE things I found by searching. So I basically tried everything people suggested in these links:
https://askubuntu.com/questions/1134998/booting-19-04-from-luks-system-drive
Set initramfs to prompt for luks passowrd on startup on Mint 18?
https://askubuntu.com/questions/1006867/cant-get-ubuntu-to-boot-from-luks-lvm-group-on-external-drive-on-imac-with-re
https://askubuntu.com/questions/729673/ubuntu-full-disk-encryption-with-encrypted-boot
https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot
https://askubuntu.com/questions/1082131/how-to-get-grub-to-boot-from-a-newly-encrypted-partition
(And a lot of more links)
Here's the output of fdisk -l:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FE0857E8-E0DE-40A0-96C5-C4FEC80B8742
Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 1067007 532480 260M EFI System
/dev/sda3 2582528 4630527 2048000 1000M Lenovo boot partition
/dev/sda4 4892672 259438591 254545920 121.4G Microsoft basic data
/dev/sda5 259438592 332343295 72904704 34.8G Linux filesystem
/dev/sda6 332343296 400898047 68554752 32.7G Linux filesystem
/dev/sda7 410068992 425521151 15452160 7.4G Microsoft basic data
These are my UUIDs:
/dev/sda5:
LUKS UUID: 049172c6-5376-4b9c-bd27-b503b6f25423
Partition UUID: 1db5df50-7000-48df-a281-74bad5689ce1
/dev/sda6:
Former UUID which I recently changed it to a new one because it was same as sda5's due to using dd for copying root filesystem to new LUKS partition: 1db5df50-7000-48df-a281-74bad5689ce1
New UUID: 7876a195-7219-4440-892a-61b57c706443
And finally the things I tried in GRUB:
http://s000.tinyupload.com/index.php?file_id=00739971820320475700
Any help will be much appreciated I really don't want to reinstall and encrypt from the installer, I need the things I have on my ubuntu and I really can't do a reinstall, this ubuntu install of mine is just so perfect, I've had a lot of experience with GNU/Linux (Over 10 years now) and had a lot of linux installations and I'm no noob, but I just can't loose all my data or configurations or customizations I made... I know I can back them up but I just... you know?
boot grub2 encryption luks
boot grub2 encryption luks
New contributor
New contributor
edited 8 mins ago
GuyWithLUKS-BootProblem
New contributor
asked 48 mins ago
GuyWithLUKS-BootProblemGuyWithLUKS-BootProblem
11 bronze badge
11 bronze badge
New contributor
New contributor
You create a filesystem, mount the filesystem, then ... destroy it with dd while mounted? That corrupts the filesystem you created and if still mounted, it also corrupts whatever you dd'ed. As for your boot problem, you wrote a lot but didn't say a single thing about it, so how is anyone supposed to help.
– frostschutz
24 mins ago
Oh, you're right, I actually dd'ed before mounting, I'm gonna edit it right now. Didn't say a single thing about it!? did you see the file I uploaded at tinyupload? since it was a lot of text I couldn't post it in this post so I just uploaded it and posted the link... If you saw this zip file I uploaded and it still didn't help, tell me what's missing and I'll add it. Thanks.
– GuyWithLUKS-BootProblem
12 mins ago
add a comment
|
You create a filesystem, mount the filesystem, then ... destroy it with dd while mounted? That corrupts the filesystem you created and if still mounted, it also corrupts whatever you dd'ed. As for your boot problem, you wrote a lot but didn't say a single thing about it, so how is anyone supposed to help.
– frostschutz
24 mins ago
Oh, you're right, I actually dd'ed before mounting, I'm gonna edit it right now. Didn't say a single thing about it!? did you see the file I uploaded at tinyupload? since it was a lot of text I couldn't post it in this post so I just uploaded it and posted the link... If you saw this zip file I uploaded and it still didn't help, tell me what's missing and I'll add it. Thanks.
– GuyWithLUKS-BootProblem
12 mins ago
You create a filesystem, mount the filesystem, then ... destroy it with dd while mounted? That corrupts the filesystem you created and if still mounted, it also corrupts whatever you dd'ed. As for your boot problem, you wrote a lot but didn't say a single thing about it, so how is anyone supposed to help.
– frostschutz
24 mins ago
You create a filesystem, mount the filesystem, then ... destroy it with dd while mounted? That corrupts the filesystem you created and if still mounted, it also corrupts whatever you dd'ed. As for your boot problem, you wrote a lot but didn't say a single thing about it, so how is anyone supposed to help.
– frostschutz
24 mins ago
Oh, you're right, I actually dd'ed before mounting, I'm gonna edit it right now. Didn't say a single thing about it!? did you see the file I uploaded at tinyupload? since it was a lot of text I couldn't post it in this post so I just uploaded it and posted the link... If you saw this zip file I uploaded and it still didn't help, tell me what's missing and I'll add it. Thanks.
– GuyWithLUKS-BootProblem
12 mins ago
Oh, you're right, I actually dd'ed before mounting, I'm gonna edit it right now. Didn't say a single thing about it!? did you see the file I uploaded at tinyupload? since it was a lot of text I couldn't post it in this post so I just uploaded it and posted the link... If you saw this zip file I uploaded and it still didn't help, tell me what's missing and I'll add it. Thanks.
– GuyWithLUKS-BootProblem
12 mins ago
add a comment
|
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/4.0/"u003ecc by-sa 4.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
});
}
});
GuyWithLUKS-BootProblem is a new contributor. Be nice, and check out our Code of Conduct.
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%2f543360%2fproblem-with-booting-a-newly-luks-encrypted-root-partition%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
GuyWithLUKS-BootProblem is a new contributor. Be nice, and check out our Code of Conduct.
GuyWithLUKS-BootProblem is a new contributor. Be nice, and check out our Code of Conduct.
GuyWithLUKS-BootProblem is a new contributor. Be nice, and check out our Code of Conduct.
GuyWithLUKS-BootProblem is a new contributor. Be nice, and check out our Code of Conduct.
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%2f543360%2fproblem-with-booting-a-newly-luks-encrypted-root-partition%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
You create a filesystem, mount the filesystem, then ... destroy it with dd while mounted? That corrupts the filesystem you created and if still mounted, it also corrupts whatever you dd'ed. As for your boot problem, you wrote a lot but didn't say a single thing about it, so how is anyone supposed to help.
– frostschutz
24 mins ago
Oh, you're right, I actually dd'ed before mounting, I'm gonna edit it right now. Didn't say a single thing about it!? did you see the file I uploaded at tinyupload? since it was a lot of text I couldn't post it in this post so I just uploaded it and posted the link... If you saw this zip file I uploaded and it still didn't help, tell me what's missing and I'll add it. Thanks.
– GuyWithLUKS-BootProblem
12 mins ago