OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

If some of the encrypted volumes could not be mounted because a wrong passphrase was entered, you will have to mount them manually after the boot. There are several cases.


• The first case concerns the root partition. When it is not mounted correctly, the boot process will halt and you will have to reboot the computer to try again.

The easiest case is for encrypted volumes holding data like /home or /srv. You can simply mount them manually after the boot.

However for dm-crypt this is a bit tricky. First you need to register the volumes with device mapper by running:


# /etc/init.d/cryptdisks start


This will scan all volumes mentioned in /etc/crypttab and will create appropriate devices un- der the /dev directory after entering the correct passphrases. (Already registered volumes will be skipped, so you can repeat this command several times without worrying.) After successful regis- tration you can simply mount the volumes the usual way:


# mount /mount_point


If any volume holding noncritical system files could not be mounted (/usr or /var), the sys- tem should still boot and you should be able to mount the volumes manually like in the previous case. However, you will also need to (re)start any services usually running in your default runlevel because it is very likely that they were not started. The easiest way is to just reboot the computer.


7.3. Log In

Top OS Cloud Computing at OnWorks: