Re: mount crypted partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 14 Nov 2010, Bruno Wolff III wrote:

On Sun, Nov 14, 2010 at 16:37:04 +0000,
 Patrick Dupre <pd520@xxxxxxxxxx> wrote:
Hello,

I created a crypted partition and I wish to mount it during the boot.
I set it in the /etc/fstab
but I probably to load the appropriate module at the log time,
like dm-mod or dm-crypt ?
Where can I get them ?
How can I load them before /etc/fstab ?
Where can I find some doc ?

You should explain more about how you created an encrypted partition.
Yes I am using luks,
I encriptyed the partition

When the machine in booted without trying to mount the encrypted partition,
I just make a luksOpen, and then I can mount it.
During the install, I did not require any encryption.

I set the /etc/crypttab
home-crypt	UUID=5fcf268d-4729-4c70-949d-36e979241422 	none

I do not get any complain from this.

but with:

/dev/mapper/home-crypt /mnt/tmp ext4 defaults,noatime 1 2

in /etc/fstab, I cannot boot.

I got the UUID from:
blkid /dev/mapper/home-crypt


The normal way to do this is to select to encrypt when doing an install.
luks is used to do the encryption and prompting for a password is
integrated with the boot process.


--
---
==========================================================================
 Patrick DUPRÃ                      |   |
 Department of Chemistry            |   |  Phone: (44)-(0)-1904-434384
 The University of York             |   |  Fax:   (44)-(0)-1904-432516
 Heslington                         |   |
 York YO10 5DD  United Kingdom      |   |  email: patrick.dupre@xxxxxxxxxx
==========================================================================
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux