Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had opt in the complete disk encryption when I was installing Ubuntu 18.04 and my password is not being accepted when I boot my system. However, I can access the encrypted drive and open it (using cryptsetup luksOpen) when I boot with Ubuntu stick. My questions are:
1. How can fully remove the encryption on that drive so that next time that I boot my system it goes directly to the OS that I had installed previously?
2. Are there any risk of loosing my data if I perform 1? If this is the case, how can make a backup of the encrypted drive so that I can recover it later.
What error messages are you getting when it doesn't accept it? Have you asked this question on the Ubuntu forums? This sounds like it could be an XY problem. The link in my signature explains the XY problem.
1. You don't. You backup, reformat, and restore.
2. As much risk as there is in losing your dump files. Make a backup of them. You have to dump the filesystems, repartition the disk, format the partitions/LVM volumes, restore the dumps, update your boot loader config, and update /etc/fstab.
Any backup is better than no backup, but dump-restore ?. Phew .. haven't seen anyone suggesting that in a long time.
For a one-off full filesystem event like this I prefer something like fsarchiver - that gives you a checksummed backup for a bit more "comfort factor".
Any backup is better than no backup, but dump-restore ?. Phew .. haven't seen anyone suggesting that in a long time.
For a one-off full filesystem event like this I prefer something like fsarchiver - that gives you a checksummed backup for a bit more "comfort factor".
I have used dump and restore quite a bit in a production environment for similar scenarios. I had to move a bunch of VMs to their own hardware due to some initial confusion about licensing. In another situation I used them to move an old system to new hardware. Dump and restore are always in the repos, can read and write using stdin and stdout, and are easy to use when all you are doing is full dump and restore. You could always use your package manager to checksum the bulk of your files and manually checksum any data files.
I had opt in the complete disk encryption when I was installing Ubuntu 18.04 and my password is not being accepted when I boot my system. However, I can access the encrypted drive and open it (using cryptsetup luksOpen) when I boot with Ubuntu stick. My questions are:
1. How can fully remove the encryption on that drive so that next time that I boot my system it goes directly to the OS that I had installed previously?
2. Are there any risk of loosing my data if I perform 1? If this is the case, how can make a backup of the encrypted drive so that I can recover it later.
Thanks
Well, your question should be, why is that happening. And I think the reason is due to some keyboard setup. Clearly you know the password and it works, it just doesn't work on boot (due to keyboard setting?).
Do you have any data there aside from system data?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.