2

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.

2
  • So, do you want to access the encrypted partitions on Windows or not ( the text contradicts the title)? Feb 26, 2013 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, 2013 at 13:20

1 Answer 1

2

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).

5
  • 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, 2013 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, 2013 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, 2013 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, 2013 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.
    – Martheen
    Feb 27, 2013 at 8:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .