This is my first question here, so forgive me if it isn't appropriate or too noobish.

I want to install Linux and Windows on my machine, but so that the linux partitions would be lvm encrypted and protected from beeing accessed from Windows, or other "live" distributions.

Is it possible to do so? What would be the best way? Can you provide some reference to a good guide?

Thanks in advance.

  • So, do you want to access the encrypted partitions on Windows or not ( the text contradicts the title)? Feb 26 '13 at 13:17
  • @AluísioA.S.G., sorry for the confusion, I want that the partition could not be accessed, or how to achieve that. I updated the title.
    – kaspersky
    Feb 26 '13 at 13:20

If you plan to install Linux to a partition within the hard drive where Windows is installed, I suppose there is no way to "hide" it completely.

Windows will see an "unused" partition, but it won't understand it anyway (unless you'd find a driver to access ext4 filesystems from Windows (I remember seeing one, but it has only reading support)).

As to the LVM encryption, most installers have an option to encrypt the filesystem. Just check the installation guide (see Debian Installer).

  • I want to install Linux with LVM encryption. Then, to create a new partition (by resizing a current one), and install Windows on it. However, I couldn't resize the partition after installing Linux (I tried cfdisk and gparted). How can I do that? Also, would it be possible to access the linux data from Windows?
    – kaspersky
    Feb 26 '13 at 17:07
  • @gg.kaspersky You'd have to supply more info (e.g. what errors do you get?). I'd also say you should open a new thread instead of asking it here. Feb 26 '13 at 17:22
  • but, strictly speaking, if I'll manage to do that, would it be possible to access the encrypted linux partitions? Would it be secure, that's the question I ask.
    – kaspersky
    Feb 26 '13 at 17:29
  • 1
    @gg.kaspersky As I said, the partition is known to Windows. Windows just doesn't know how to read it. Even without an encryption it's pretty secure (if use use an unknown filesystem to Windows). With an encryption it would definitely be secure. Feb 26 '13 at 17:33
  • @gg.kaspersky Wouldn't it be easier to just install Windows first then resize it and config Linux using Wubi or the likes afterwards? Windows installation will wipe GRUB with Windows own boot loader. Feb 27 '13 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.