Upgrade from 18.04 to 18.10 with full encryption password not recognized anymore!












1















I have just upgraded from 18.04 to 18.10 with full encryption on my laptop (Asus UX305F) but my usual encryption password does not work anymore. I don't know what caused that, maybe the keyboard layout was changed but I don't know how to switch it back, since all I'm being asked on the screen is to key in the password. I would be really grateful if someone could help me.



Thanks a lot.










share|improve this question


















  • 4





    Possible duplicate of Ubuntu with full disk encryption - bad password after upgrade to 18.04

    – Kristopher Ives
    2 days ago
















1















I have just upgraded from 18.04 to 18.10 with full encryption on my laptop (Asus UX305F) but my usual encryption password does not work anymore. I don't know what caused that, maybe the keyboard layout was changed but I don't know how to switch it back, since all I'm being asked on the screen is to key in the password. I would be really grateful if someone could help me.



Thanks a lot.










share|improve this question


















  • 4





    Possible duplicate of Ubuntu with full disk encryption - bad password after upgrade to 18.04

    – Kristopher Ives
    2 days ago














1












1








1








I have just upgraded from 18.04 to 18.10 with full encryption on my laptop (Asus UX305F) but my usual encryption password does not work anymore. I don't know what caused that, maybe the keyboard layout was changed but I don't know how to switch it back, since all I'm being asked on the screen is to key in the password. I would be really grateful if someone could help me.



Thanks a lot.










share|improve this question














I have just upgraded from 18.04 to 18.10 with full encryption on my laptop (Asus UX305F) but my usual encryption password does not work anymore. I don't know what caused that, maybe the keyboard layout was changed but I don't know how to switch it back, since all I'm being asked on the screen is to key in the password. I would be really grateful if someone could help me.



Thanks a lot.







upgrade password encryption keyboard-layout 18.10






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









Arnaud MalfoyArnaud Malfoy

234




234








  • 4





    Possible duplicate of Ubuntu with full disk encryption - bad password after upgrade to 18.04

    – Kristopher Ives
    2 days ago














  • 4





    Possible duplicate of Ubuntu with full disk encryption - bad password after upgrade to 18.04

    – Kristopher Ives
    2 days ago








4




4





Possible duplicate of Ubuntu with full disk encryption - bad password after upgrade to 18.04

– Kristopher Ives
2 days ago





Possible duplicate of Ubuntu with full disk encryption - bad password after upgrade to 18.04

– Kristopher Ives
2 days ago










1 Answer
1






active

oldest

votes


















1














The only way to revert a system if you don't have the password is to reinstall using a backup. In fact, even if you have the password that is the only practical way to go backwards. Before you try that there are some things worth trying:



The best guess hope is that the keyboard on your boot screen is somehow messed up. In this case probably the easiest way is to




  1. Make a new bootable USB stick

  2. Boot into live system mode (do not attempt to install)

  3. Attempt to mount the drive from your system

  4. Enter the password you know

  5. Assuming this works, now change to an encryption password with only standard lower case letters

  6. Reboot and use the new encryption password which should work on most keyboard layouts (except ones like the German ones with letters in different locations)


In the case that the password still doesn't work in live system mode then the most likely explanation is that your old system had a different layout during boot. In this case, you can experiment with setting different keyboard layouts in the live system and entering your password as you would have normally. Definitely try EN-US and EN-UK but also look at the ones that were next to your normal keyboard in the list during installation.



If you have really valuable data that wasn't backed up, unfortunately it is likely lost, however you can consider taking a low level image of the whole disk or just replacing it and keeping it. This will allow you to try again later.






share|improve this answer
























  • Thanks a lot. I have was able to mount the drive, the password was working. But I'm not sure how to do step 5. How can I change encryption password since it's a live session user? I tried the command line with sudo cryptsetup luksChangeKey /dev/sda2 but it does not seem to be working.

    – Arnaud Malfoy
    2 days ago






  • 1





    @ArnaudMalfoy you should be able to do it by opening the graphical "disks" tool (I think it's installed on the livecd; if not install it) then finding your main system disk, looking for the LUKS partition and simply selecting change passphrase in its settings section

    – Michael
    2 days ago











  • Thank you so much, it worked like a charm. I'm so glad I did not have reinstall the whole system. It's great to have such a helpful community. Thanks again.

    – Arnaud Malfoy
    2 days ago











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%2f1113240%2fupgrade-from-18-04-to-18-10-with-full-encryption-password-not-recognized-anymore%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









1














The only way to revert a system if you don't have the password is to reinstall using a backup. In fact, even if you have the password that is the only practical way to go backwards. Before you try that there are some things worth trying:



The best guess hope is that the keyboard on your boot screen is somehow messed up. In this case probably the easiest way is to




  1. Make a new bootable USB stick

  2. Boot into live system mode (do not attempt to install)

  3. Attempt to mount the drive from your system

  4. Enter the password you know

  5. Assuming this works, now change to an encryption password with only standard lower case letters

  6. Reboot and use the new encryption password which should work on most keyboard layouts (except ones like the German ones with letters in different locations)


In the case that the password still doesn't work in live system mode then the most likely explanation is that your old system had a different layout during boot. In this case, you can experiment with setting different keyboard layouts in the live system and entering your password as you would have normally. Definitely try EN-US and EN-UK but also look at the ones that were next to your normal keyboard in the list during installation.



If you have really valuable data that wasn't backed up, unfortunately it is likely lost, however you can consider taking a low level image of the whole disk or just replacing it and keeping it. This will allow you to try again later.






share|improve this answer
























  • Thanks a lot. I have was able to mount the drive, the password was working. But I'm not sure how to do step 5. How can I change encryption password since it's a live session user? I tried the command line with sudo cryptsetup luksChangeKey /dev/sda2 but it does not seem to be working.

    – Arnaud Malfoy
    2 days ago






  • 1





    @ArnaudMalfoy you should be able to do it by opening the graphical "disks" tool (I think it's installed on the livecd; if not install it) then finding your main system disk, looking for the LUKS partition and simply selecting change passphrase in its settings section

    – Michael
    2 days ago











  • Thank you so much, it worked like a charm. I'm so glad I did not have reinstall the whole system. It's great to have such a helpful community. Thanks again.

    – Arnaud Malfoy
    2 days ago
















1














The only way to revert a system if you don't have the password is to reinstall using a backup. In fact, even if you have the password that is the only practical way to go backwards. Before you try that there are some things worth trying:



The best guess hope is that the keyboard on your boot screen is somehow messed up. In this case probably the easiest way is to




  1. Make a new bootable USB stick

  2. Boot into live system mode (do not attempt to install)

  3. Attempt to mount the drive from your system

  4. Enter the password you know

  5. Assuming this works, now change to an encryption password with only standard lower case letters

  6. Reboot and use the new encryption password which should work on most keyboard layouts (except ones like the German ones with letters in different locations)


In the case that the password still doesn't work in live system mode then the most likely explanation is that your old system had a different layout during boot. In this case, you can experiment with setting different keyboard layouts in the live system and entering your password as you would have normally. Definitely try EN-US and EN-UK but also look at the ones that were next to your normal keyboard in the list during installation.



If you have really valuable data that wasn't backed up, unfortunately it is likely lost, however you can consider taking a low level image of the whole disk or just replacing it and keeping it. This will allow you to try again later.






share|improve this answer
























  • Thanks a lot. I have was able to mount the drive, the password was working. But I'm not sure how to do step 5. How can I change encryption password since it's a live session user? I tried the command line with sudo cryptsetup luksChangeKey /dev/sda2 but it does not seem to be working.

    – Arnaud Malfoy
    2 days ago






  • 1





    @ArnaudMalfoy you should be able to do it by opening the graphical "disks" tool (I think it's installed on the livecd; if not install it) then finding your main system disk, looking for the LUKS partition and simply selecting change passphrase in its settings section

    – Michael
    2 days ago











  • Thank you so much, it worked like a charm. I'm so glad I did not have reinstall the whole system. It's great to have such a helpful community. Thanks again.

    – Arnaud Malfoy
    2 days ago














1












1








1







The only way to revert a system if you don't have the password is to reinstall using a backup. In fact, even if you have the password that is the only practical way to go backwards. Before you try that there are some things worth trying:



The best guess hope is that the keyboard on your boot screen is somehow messed up. In this case probably the easiest way is to




  1. Make a new bootable USB stick

  2. Boot into live system mode (do not attempt to install)

  3. Attempt to mount the drive from your system

  4. Enter the password you know

  5. Assuming this works, now change to an encryption password with only standard lower case letters

  6. Reboot and use the new encryption password which should work on most keyboard layouts (except ones like the German ones with letters in different locations)


In the case that the password still doesn't work in live system mode then the most likely explanation is that your old system had a different layout during boot. In this case, you can experiment with setting different keyboard layouts in the live system and entering your password as you would have normally. Definitely try EN-US and EN-UK but also look at the ones that were next to your normal keyboard in the list during installation.



If you have really valuable data that wasn't backed up, unfortunately it is likely lost, however you can consider taking a low level image of the whole disk or just replacing it and keeping it. This will allow you to try again later.






share|improve this answer













The only way to revert a system if you don't have the password is to reinstall using a backup. In fact, even if you have the password that is the only practical way to go backwards. Before you try that there are some things worth trying:



The best guess hope is that the keyboard on your boot screen is somehow messed up. In this case probably the easiest way is to




  1. Make a new bootable USB stick

  2. Boot into live system mode (do not attempt to install)

  3. Attempt to mount the drive from your system

  4. Enter the password you know

  5. Assuming this works, now change to an encryption password with only standard lower case letters

  6. Reboot and use the new encryption password which should work on most keyboard layouts (except ones like the German ones with letters in different locations)


In the case that the password still doesn't work in live system mode then the most likely explanation is that your old system had a different layout during boot. In this case, you can experiment with setting different keyboard layouts in the live system and entering your password as you would have normally. Definitely try EN-US and EN-UK but also look at the ones that were next to your normal keyboard in the list during installation.



If you have really valuable data that wasn't backed up, unfortunately it is likely lost, however you can consider taking a low level image of the whole disk or just replacing it and keeping it. This will allow you to try again later.







share|improve this answer












share|improve this answer



share|improve this answer










answered 2 days ago









MichaelMichael

1361




1361













  • Thanks a lot. I have was able to mount the drive, the password was working. But I'm not sure how to do step 5. How can I change encryption password since it's a live session user? I tried the command line with sudo cryptsetup luksChangeKey /dev/sda2 but it does not seem to be working.

    – Arnaud Malfoy
    2 days ago






  • 1





    @ArnaudMalfoy you should be able to do it by opening the graphical "disks" tool (I think it's installed on the livecd; if not install it) then finding your main system disk, looking for the LUKS partition and simply selecting change passphrase in its settings section

    – Michael
    2 days ago











  • Thank you so much, it worked like a charm. I'm so glad I did not have reinstall the whole system. It's great to have such a helpful community. Thanks again.

    – Arnaud Malfoy
    2 days ago



















  • Thanks a lot. I have was able to mount the drive, the password was working. But I'm not sure how to do step 5. How can I change encryption password since it's a live session user? I tried the command line with sudo cryptsetup luksChangeKey /dev/sda2 but it does not seem to be working.

    – Arnaud Malfoy
    2 days ago






  • 1





    @ArnaudMalfoy you should be able to do it by opening the graphical "disks" tool (I think it's installed on the livecd; if not install it) then finding your main system disk, looking for the LUKS partition and simply selecting change passphrase in its settings section

    – Michael
    2 days ago











  • Thank you so much, it worked like a charm. I'm so glad I did not have reinstall the whole system. It's great to have such a helpful community. Thanks again.

    – Arnaud Malfoy
    2 days ago

















Thanks a lot. I have was able to mount the drive, the password was working. But I'm not sure how to do step 5. How can I change encryption password since it's a live session user? I tried the command line with sudo cryptsetup luksChangeKey /dev/sda2 but it does not seem to be working.

– Arnaud Malfoy
2 days ago





Thanks a lot. I have was able to mount the drive, the password was working. But I'm not sure how to do step 5. How can I change encryption password since it's a live session user? I tried the command line with sudo cryptsetup luksChangeKey /dev/sda2 but it does not seem to be working.

– Arnaud Malfoy
2 days ago




1




1





@ArnaudMalfoy you should be able to do it by opening the graphical "disks" tool (I think it's installed on the livecd; if not install it) then finding your main system disk, looking for the LUKS partition and simply selecting change passphrase in its settings section

– Michael
2 days ago





@ArnaudMalfoy you should be able to do it by opening the graphical "disks" tool (I think it's installed on the livecd; if not install it) then finding your main system disk, looking for the LUKS partition and simply selecting change passphrase in its settings section

– Michael
2 days ago













Thank you so much, it worked like a charm. I'm so glad I did not have reinstall the whole system. It's great to have such a helpful community. Thanks again.

– Arnaud Malfoy
2 days ago





Thank you so much, it worked like a charm. I'm so glad I did not have reinstall the whole system. It's great to have such a helpful community. Thanks again.

– Arnaud Malfoy
2 days ago


















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%2f1113240%2fupgrade-from-18-04-to-18-10-with-full-encryption-password-not-recognized-anymore%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

Category:香港粉麵

List *all* the tuples!

Channel [V]