LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 08-18-2020, 05:36 AM   #1
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Linux Mint Cinnamon
Posts: 224

Rep: Reputation: 31
Lightbulb 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.

Kind Regards.
 
Old 08-18-2020, 09:56 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
The disk encryption you set during OS install needs the password during boot.
What is the content of /etc/fstab?
 
1 members found this post helpful.
Old 08-18-2020, 10:03 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316Reputation: 7316
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.
 
1 members found this post helpful.
Old 08-18-2020, 02:30 PM   #4
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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.
 
1 members found this post helpful.
Old 08-18-2020, 10:47 PM   #5
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Linux Mint Cinnamon
Posts: 224

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by dc.901 View Post
The disk encryption you set during OS install needs the password during boot.
What is the content of /etc/fstab?
I think I should go through a re-installation.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2020-08-19 08-30-04.png
Views:	22
Size:	51.1 KB
ID:	33920  
 
Old 08-19-2020, 06:22 AM   #6
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
/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.
 
1 members found this post helpful.
Old 08-19-2020, 07:19 AM   #7
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by mq15 View Post
I think I should go through a re-installation.
What you shared is content of /etc folder, you need to look at contents of /etc/fstab file.

Please open a terminal, then type:

Code:
cat /etc/fstab
 
1 members found this post helpful.
Old 08-20-2020, 04:28 AM   #8
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Linux Mint Cinnamon
Posts: 224

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by dc.901 View Post
...

Code:
cat /etc/fstab
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
 
Old 08-20-2020, 04:31 AM   #9
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Linux Mint Cinnamon
Posts: 224

Original Poster
Rep: Reputation: 31
Ok. Re-installed. This time without ticking LVM check.

Quote:
Originally Posted by mq15 View Post
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


Thank you all of you.
 
Old 08-20-2020, 06:58 AM   #10
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BIOS Startup-Need to get rid of Unetbootin freedos Charliesrch Linux - Hardware 2 02-02-2018 06:57 PM
how to rid of 'enter password for keyring 'default' to unlock' at startup xiongnu Debian 10 10-09-2016 04:56 AM
Xserver error on linuxmint after startup. way to get rid of it? rowebil Linux - Laptop and Netbook 2 07-23-2009 10:57 AM
Mandriva Startup Sound: How can I get rid of it?? bjorkbabe Linux - Newbie 1 04-30-2008 11:47 PM
Start programs at startup and get rid of current saved session Shwiing Linux - Software 2 08-04-2005 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration