[SOLVED] Want to get rid of sda6_encrypt password on startup
Linux MintThis forum is for the discussion of Linux Mint.
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.
Want to get rid of sda6_encrypt password on startup
Hello there, I've switched from windows 7 to Linux Mint Cinnamon 20. During installation I opted the LVM option and set password for that. Now, it requires that password at startup. But it, kind of, annoys.
Kindly help me get rid of this. If it is unavoidable, please help me remove the disk encryption option (LVM, as I think it is a disk encryption mechanism of Linux) at all.
LVM itself is not a disk encryption mechanism.
What is stored on this encrypted disk? Probably you need to reinstall the system without encryption, but probably you can just drop it and use another [non-encrypted] filesystem instead.
If you don't want any of the existing contents of your disk, simply reinstall Mint over the entire disk.
If you want to keep some OS's then carefully delete the unwanted partitions and install Mint into available space.
/etc contains all your system-wide configuration details (and some other stuff).
/etc/fstab is a text file in /etc which you can view/edit that has details of which partitions to automatically mount as / or /home or whatever as part of the startup process.
A reinstall will re-create it.
Make sure you put /home and / in different partitions.
Last edited by JeremyBoden; 08-19-2020 at 06:24 AM.
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=29a976e3-391e-485f-a05e-7ce8de32f375 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=c998c14f-5326-48d7-85cb-4017ab7050f2 /boot ext2 defaults 0 2
# /home was on /dev/sda5 during installation
UUID=6609e164-ff5d-44b6-ab30-68707e36def8 /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=0d501b22-991c-4352-98a1-640207113696 none swap sw 0 0
Ok. Re-installed. This time without ticking LVM check.
Quote:
Originally Posted by mq15
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=29a976e3-391e-485f-a05e-7ce8de32f375 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=c998c14f-5326-48d7-85cb-4017ab7050f2 /boot ext2 defaults 0 2
# /home was on /dev/sda5 during installation
UUID=6609e164-ff5d-44b6-ab30-68707e36def8 /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=0d501b22-991c-4352-98a1-640207113696 none swap sw 0 0
Kept /home and / in different partitions as advised by JeremyBoden
Kept /home and / in different partitions as advised by JeremyBoden
This means that if you want/need to reload the Mint OS and you don't want to lose your data in /home, then this can be done.
If done very carefully no backups are required.
A decent set of backups is very strongly recommended though!
If you want to know more about what /etc/fstab does enter
Code:
man fstab
into a terminal screen.
Last edited by JeremyBoden; 08-20-2020 at 07:09 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.