Encrypted hard disk data recovery
I have a hard disk with a crashed Ubuntu system . while installing the system I checked the "encrypt my hard disk (or something like that) " check box . and now the system has crashed . so how do I recover my /home and /etc folder .
Ubuntu system is 15.10 .
As I am a newbie in Linux I don't know how to solve the error that's crashing the system but the home folder is really important .
So , how do I recover my /home and /etc folder from an encrypted hard disk.
More information
After the Ubuntu logo it shows a dialog box which says "there seems to an error in your graphics or input devices" and done. I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box. It takes me to shell aks or something like that.
I even tried to upgrade it to same OS. While in the process of upgrading it showed that no operating systems were detected, and I rolled back. Then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted. I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk files.
data-recovery
|
show 1 more comment
I have a hard disk with a crashed Ubuntu system . while installing the system I checked the "encrypt my hard disk (or something like that) " check box . and now the system has crashed . so how do I recover my /home and /etc folder .
Ubuntu system is 15.10 .
As I am a newbie in Linux I don't know how to solve the error that's crashing the system but the home folder is really important .
So , how do I recover my /home and /etc folder from an encrypted hard disk.
More information
After the Ubuntu logo it shows a dialog box which says "there seems to an error in your graphics or input devices" and done. I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box. It takes me to shell aks or something like that.
I even tried to upgrade it to same OS. While in the process of upgrading it showed that no operating systems were detected, and I rolled back. Then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted. I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk files.
data-recovery
Question 1: what do you mean by "The system crashed"
– Palantir
Oct 28 '15 at 18:06
Question 2: what is the problem in accessing the data: can you boot your ubuntu? Do you get an error message somewhere? Where does it get stuck?
– Palantir
Oct 28 '15 at 18:07
After the Ubuntu logo it shows a dialog box which says " there seems to an error in your graphics or input devices " and done . I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box . it takes me to shell aks or something like that
– user1820264
Oct 28 '15 at 18:11
And I even tried to upgrade it to same os . while in the process of upgrading it showed that no operating systems were detected . and I rolled back . then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted . I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk filea
– user1820264
Oct 28 '15 at 18:13
See answer below :)
– Palantir
Oct 28 '15 at 18:47
|
show 1 more comment
I have a hard disk with a crashed Ubuntu system . while installing the system I checked the "encrypt my hard disk (or something like that) " check box . and now the system has crashed . so how do I recover my /home and /etc folder .
Ubuntu system is 15.10 .
As I am a newbie in Linux I don't know how to solve the error that's crashing the system but the home folder is really important .
So , how do I recover my /home and /etc folder from an encrypted hard disk.
More information
After the Ubuntu logo it shows a dialog box which says "there seems to an error in your graphics or input devices" and done. I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box. It takes me to shell aks or something like that.
I even tried to upgrade it to same OS. While in the process of upgrading it showed that no operating systems were detected, and I rolled back. Then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted. I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk files.
data-recovery
I have a hard disk with a crashed Ubuntu system . while installing the system I checked the "encrypt my hard disk (or something like that) " check box . and now the system has crashed . so how do I recover my /home and /etc folder .
Ubuntu system is 15.10 .
As I am a newbie in Linux I don't know how to solve the error that's crashing the system but the home folder is really important .
So , how do I recover my /home and /etc folder from an encrypted hard disk.
More information
After the Ubuntu logo it shows a dialog box which says "there seems to an error in your graphics or input devices" and done. I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box. It takes me to shell aks or something like that.
I even tried to upgrade it to same OS. While in the process of upgrading it showed that no operating systems were detected, and I rolled back. Then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted. I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk files.
data-recovery
data-recovery
edited Nov 11 '15 at 5:07
thomasrutter
27.2k46789
27.2k46789
asked Oct 28 '15 at 17:02
user1820264user1820264
1113
1113
Question 1: what do you mean by "The system crashed"
– Palantir
Oct 28 '15 at 18:06
Question 2: what is the problem in accessing the data: can you boot your ubuntu? Do you get an error message somewhere? Where does it get stuck?
– Palantir
Oct 28 '15 at 18:07
After the Ubuntu logo it shows a dialog box which says " there seems to an error in your graphics or input devices " and done . I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box . it takes me to shell aks or something like that
– user1820264
Oct 28 '15 at 18:11
And I even tried to upgrade it to same os . while in the process of upgrading it showed that no operating systems were detected . and I rolled back . then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted . I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk filea
– user1820264
Oct 28 '15 at 18:13
See answer below :)
– Palantir
Oct 28 '15 at 18:47
|
show 1 more comment
Question 1: what do you mean by "The system crashed"
– Palantir
Oct 28 '15 at 18:06
Question 2: what is the problem in accessing the data: can you boot your ubuntu? Do you get an error message somewhere? Where does it get stuck?
– Palantir
Oct 28 '15 at 18:07
After the Ubuntu logo it shows a dialog box which says " there seems to an error in your graphics or input devices " and done . I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box . it takes me to shell aks or something like that
– user1820264
Oct 28 '15 at 18:11
And I even tried to upgrade it to same os . while in the process of upgrading it showed that no operating systems were detected . and I rolled back . then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted . I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk filea
– user1820264
Oct 28 '15 at 18:13
See answer below :)
– Palantir
Oct 28 '15 at 18:47
Question 1: what do you mean by "The system crashed"
– Palantir
Oct 28 '15 at 18:06
Question 1: what do you mean by "The system crashed"
– Palantir
Oct 28 '15 at 18:06
Question 2: what is the problem in accessing the data: can you boot your ubuntu? Do you get an error message somewhere? Where does it get stuck?
– Palantir
Oct 28 '15 at 18:07
Question 2: what is the problem in accessing the data: can you boot your ubuntu? Do you get an error message somewhere? Where does it get stuck?
– Palantir
Oct 28 '15 at 18:07
After the Ubuntu logo it shows a dialog box which says " there seems to an error in your graphics or input devices " and done . I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box . it takes me to shell aks or something like that
– user1820264
Oct 28 '15 at 18:11
After the Ubuntu logo it shows a dialog box which says " there seems to an error in your graphics or input devices " and done . I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box . it takes me to shell aks or something like that
– user1820264
Oct 28 '15 at 18:11
And I even tried to upgrade it to same os . while in the process of upgrading it showed that no operating systems were detected . and I rolled back . then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted . I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk filea
– user1820264
Oct 28 '15 at 18:13
And I even tried to upgrade it to same os . while in the process of upgrading it showed that no operating systems were detected . and I rolled back . then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted . I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk filea
– user1820264
Oct 28 '15 at 18:13
See answer below :)
– Palantir
Oct 28 '15 at 18:47
See answer below :)
– Palantir
Oct 28 '15 at 18:47
|
show 1 more comment
1 Answer
1
active
oldest
votes
There are two possibilities of encryption within Ubuntu.
- Full disk encryption
It means that the whole disk is encrypted. Immediately after starting (right after booting the kernel) you are prompted for a password. It looks like this: http://imacify.com/wp-content/uploads/2013/08/Ubuntu-FDD-lock-Screen.jpeg
This does not seem your case, because your problem happens later in the booting sequence.
Anyway, this guide shows you how to access an encrypted volume using a Ubuntu Live CD or USB stick. You should be able to recover some data and copy them over to another disk. Good luck :)
https://alvinabad.wordpress.com/2012/09/22/how-to-recover-a-luks-encrypted-disk/
- Home folder encryption
In this case, home partitions are encrypted on a per-user basis.
Here are a few resources for you:
http://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/
https://help.ubuntu.com/community/EncryptedPrivateDirectory
You should try to recover your data first. But I also think that it should not be too hard to restore functionality to that box.
I get a shell saying (initramfs) and cryptsetup is not found . and for the dialog I see is " you are running in low graphics mode" I see this dialog even in the live cd
– user1820264
Oct 28 '15 at 19:09
So you have a corrupted initfamfs. If it complains about cryptsetup then you are in case 1 of my answer. Live CD should not be affected by this: are you sure you are booting it correctly?
– Palantir
Oct 28 '15 at 19:25
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%2f691144%2fencrypted-hard-disk-data-recovery%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are two possibilities of encryption within Ubuntu.
- Full disk encryption
It means that the whole disk is encrypted. Immediately after starting (right after booting the kernel) you are prompted for a password. It looks like this: http://imacify.com/wp-content/uploads/2013/08/Ubuntu-FDD-lock-Screen.jpeg
This does not seem your case, because your problem happens later in the booting sequence.
Anyway, this guide shows you how to access an encrypted volume using a Ubuntu Live CD or USB stick. You should be able to recover some data and copy them over to another disk. Good luck :)
https://alvinabad.wordpress.com/2012/09/22/how-to-recover-a-luks-encrypted-disk/
- Home folder encryption
In this case, home partitions are encrypted on a per-user basis.
Here are a few resources for you:
http://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/
https://help.ubuntu.com/community/EncryptedPrivateDirectory
You should try to recover your data first. But I also think that it should not be too hard to restore functionality to that box.
I get a shell saying (initramfs) and cryptsetup is not found . and for the dialog I see is " you are running in low graphics mode" I see this dialog even in the live cd
– user1820264
Oct 28 '15 at 19:09
So you have a corrupted initfamfs. If it complains about cryptsetup then you are in case 1 of my answer. Live CD should not be affected by this: are you sure you are booting it correctly?
– Palantir
Oct 28 '15 at 19:25
add a comment |
There are two possibilities of encryption within Ubuntu.
- Full disk encryption
It means that the whole disk is encrypted. Immediately after starting (right after booting the kernel) you are prompted for a password. It looks like this: http://imacify.com/wp-content/uploads/2013/08/Ubuntu-FDD-lock-Screen.jpeg
This does not seem your case, because your problem happens later in the booting sequence.
Anyway, this guide shows you how to access an encrypted volume using a Ubuntu Live CD or USB stick. You should be able to recover some data and copy them over to another disk. Good luck :)
https://alvinabad.wordpress.com/2012/09/22/how-to-recover-a-luks-encrypted-disk/
- Home folder encryption
In this case, home partitions are encrypted on a per-user basis.
Here are a few resources for you:
http://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/
https://help.ubuntu.com/community/EncryptedPrivateDirectory
You should try to recover your data first. But I also think that it should not be too hard to restore functionality to that box.
I get a shell saying (initramfs) and cryptsetup is not found . and for the dialog I see is " you are running in low graphics mode" I see this dialog even in the live cd
– user1820264
Oct 28 '15 at 19:09
So you have a corrupted initfamfs. If it complains about cryptsetup then you are in case 1 of my answer. Live CD should not be affected by this: are you sure you are booting it correctly?
– Palantir
Oct 28 '15 at 19:25
add a comment |
There are two possibilities of encryption within Ubuntu.
- Full disk encryption
It means that the whole disk is encrypted. Immediately after starting (right after booting the kernel) you are prompted for a password. It looks like this: http://imacify.com/wp-content/uploads/2013/08/Ubuntu-FDD-lock-Screen.jpeg
This does not seem your case, because your problem happens later in the booting sequence.
Anyway, this guide shows you how to access an encrypted volume using a Ubuntu Live CD or USB stick. You should be able to recover some data and copy them over to another disk. Good luck :)
https://alvinabad.wordpress.com/2012/09/22/how-to-recover-a-luks-encrypted-disk/
- Home folder encryption
In this case, home partitions are encrypted on a per-user basis.
Here are a few resources for you:
http://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/
https://help.ubuntu.com/community/EncryptedPrivateDirectory
You should try to recover your data first. But I also think that it should not be too hard to restore functionality to that box.
There are two possibilities of encryption within Ubuntu.
- Full disk encryption
It means that the whole disk is encrypted. Immediately after starting (right after booting the kernel) you are prompted for a password. It looks like this: http://imacify.com/wp-content/uploads/2013/08/Ubuntu-FDD-lock-Screen.jpeg
This does not seem your case, because your problem happens later in the booting sequence.
Anyway, this guide shows you how to access an encrypted volume using a Ubuntu Live CD or USB stick. You should be able to recover some data and copy them over to another disk. Good luck :)
https://alvinabad.wordpress.com/2012/09/22/how-to-recover-a-luks-encrypted-disk/
- Home folder encryption
In this case, home partitions are encrypted on a per-user basis.
Here are a few resources for you:
http://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/
https://help.ubuntu.com/community/EncryptedPrivateDirectory
You should try to recover your data first. But I also think that it should not be too hard to restore functionality to that box.
edited Oct 28 '15 at 18:47
answered Oct 28 '15 at 18:24
PalantirPalantir
1,2441124
1,2441124
I get a shell saying (initramfs) and cryptsetup is not found . and for the dialog I see is " you are running in low graphics mode" I see this dialog even in the live cd
– user1820264
Oct 28 '15 at 19:09
So you have a corrupted initfamfs. If it complains about cryptsetup then you are in case 1 of my answer. Live CD should not be affected by this: are you sure you are booting it correctly?
– Palantir
Oct 28 '15 at 19:25
add a comment |
I get a shell saying (initramfs) and cryptsetup is not found . and for the dialog I see is " you are running in low graphics mode" I see this dialog even in the live cd
– user1820264
Oct 28 '15 at 19:09
So you have a corrupted initfamfs. If it complains about cryptsetup then you are in case 1 of my answer. Live CD should not be affected by this: are you sure you are booting it correctly?
– Palantir
Oct 28 '15 at 19:25
I get a shell saying (initramfs) and cryptsetup is not found . and for the dialog I see is " you are running in low graphics mode" I see this dialog even in the live cd
– user1820264
Oct 28 '15 at 19:09
I get a shell saying (initramfs) and cryptsetup is not found . and for the dialog I see is " you are running in low graphics mode" I see this dialog even in the live cd
– user1820264
Oct 28 '15 at 19:09
So you have a corrupted initfamfs. If it complains about cryptsetup then you are in case 1 of my answer. Live CD should not be affected by this: are you sure you are booting it correctly?
– Palantir
Oct 28 '15 at 19:25
So you have a corrupted initfamfs. If it complains about cryptsetup then you are in case 1 of my answer. Live CD should not be affected by this: are you sure you are booting it correctly?
– Palantir
Oct 28 '15 at 19:25
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%2f691144%2fencrypted-hard-disk-data-recovery%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
Question 1: what do you mean by "The system crashed"
– Palantir
Oct 28 '15 at 18:06
Question 2: what is the problem in accessing the data: can you boot your ubuntu? Do you get an error message somewhere? Where does it get stuck?
– Palantir
Oct 28 '15 at 18:07
After the Ubuntu logo it shows a dialog box which says " there seems to an error in your graphics or input devices " and done . I tried 100's of solution (not literally) and after some 4/5 hours of trying and trying now it doesn't show the recovery options or the dialog box . it takes me to shell aks or something like that
– user1820264
Oct 28 '15 at 18:11
And I even tried to upgrade it to same os . while in the process of upgrading it showed that no operating systems were detected . and I rolled back . then I made a USB bootable stick and tried the "try Ubuntu" but it said partition cannot be mounted . I even took out my laptop's hard disk and connected it to another Ubuntu machine (as a external hard drive ) but it only showed me the grub files not my hard disk filea
– user1820264
Oct 28 '15 at 18:13
See answer below :)
– Palantir
Oct 28 '15 at 18:47