2

I am using Debian 7.4 CD.

When I set a partition as / during manual partition. It is fine. However when I then try to use it as physical volume for encryption... everything works fine it erases and writes random data BUT THEN the mount point / disappears!

And when I try to proceed with installation, it says

NO root file system is defined. Please correct this from partitioning menu

And when I try to make /, I cant modify the partition to be used as /' because it says

No modification can be made. In use as physical volume for encrypted volume

1
  • The easiest way and how I setup encryption during install for Debian is by using LVM and set up encrypted volume on it. Commented 2 hours ago

1 Answer 1

0

Line one of the install guide you linked to states

This guide describes and mostly shows with pictures the steps involved in creating encrypted partitions with the Debian installer. The partitioning scheme is to have a small /boot partition, which is not encrypted, and separate / and /home partitions which are encrypted.

The unencrypted process for partitions has these partitions, / /usr /tmp /home /var the / root partition is set to boot but when you encrypt the partition you then need the unencrypted boot partition because in order to decrypt the root partition and other usual partitions you need to the unencrypted boot partition to decrypt the root partition.

If you do not setup an LVM for each of your partitions /usr, /tmp and encrypt them, the installer will not realise the mount points have been set and fail, this guide lists that step

The install guide advises a root partition size of 150mb. This is too small and will cause the grub setup/install to fail. The actual size of the complete grub install is 255mb.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.