Encrypted hard disk data recovery












2















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.










share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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
















2















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.










share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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














2












2








2








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 '15 at 5:07









thomasrutter

26.6k46389




26.6k46389










asked Oct 28 '15 at 17:02









user1820264user1820264

1113




1113





bumped to the homepage by Community 2 days 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 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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 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










1 Answer
1






active

oldest

votes


















0














There are two possibilities of encryption within Ubuntu.




  1. 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/




  1. 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.






share|improve this answer


























  • 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











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
});


}
});














draft saved

draft discarded


















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









0














There are two possibilities of encryption within Ubuntu.




  1. 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/




  1. 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.






share|improve this answer


























  • 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
















0














There are two possibilities of encryption within Ubuntu.




  1. 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/




  1. 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.






share|improve this answer


























  • 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














0












0








0







There are two possibilities of encryption within Ubuntu.




  1. 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/




  1. 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.






share|improve this answer















There are two possibilities of encryption within Ubuntu.




  1. 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/




  1. 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.







share|improve this answer














share|improve this answer



share|improve this answer








edited Oct 28 '15 at 18:47

























answered Oct 28 '15 at 18:24









PalantirPalantir

1,2141124




1,2141124













  • 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













  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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 did Captain America manage to do this?

迪纳利

南乌拉尔铁路局