Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
the error that i keep on getting while trying to boot is this(it asks me for my password though first)
fsck.ext4: Device or resource busy while trying to open /dev/vda4
Filesystem mounted or opened exclusively by another program? [FAILED]
***An error occurred during the file system check.
***Dropping you to a shell; the system will reboot
***when you leave the shell.
***Warning - - SELinux is active
***Disabling security enforcement for system recover.
*** Run 'setenforce 1' to reenable.
Give root password for maintenance
(or type Control-D to continue):
edit: here is the output to cryptsetup luksDump /dev/vda4 | grep UUID
Last edited by malak33; 09-07-2012 at 01:37 AM.
Reason: added cryptsetup luksDump /dev/vda4, edit for /etc/fstab (posted wrong VM) :(
VDP76- tried what you suggested and it doesn't work for me
michaelk- i tried what you suggested and it works. However, the reason I'm trying to get this to work is for the RHCSA exam I'm taking on Monday this is about the only thing i don't know how to do on their list of Exam objectives
Configure local storage
List, create, delete, and set partition type for primary, extended, and logical partitions.
Create and remove physical volumes, assign physical volumes to volume groups, and create and delete logical volumes.
Create and configure LUKS-encrypted partitions and logical volumes to prompt for password and mount a decrypted file system at boot.
Configure systems to mount file systems at boot by Universally Unique ID (UUID) or label.
Add new partitions and logical volumes, and swap to a system non-destructively.
thats from Red Hat
as you can see from my /etc/fstab everything else is using the UUID, do you think I'll be fine or am i overthinking this?
Apologies for posting on a old thread but I was stuck on this issue studying for the RHCSA. I tried everything and know that the luks was working as I could mount it manually but not through /etc/fstab. I found that my fsck selection was too low, which I think caused some issues checking the mount before checking the passphrase.
All I did to this fix this was change the last /etc/fstab setting from 4 to 2. Below is the current setting which works, but when I had the fsck setting to 4 (the last column), I got the prompt to enter the passphrase, but right after that it reverts to maintenance mode.