Skip to contentSkip to conversation

How to hide a "Linux LVM" partition away from Windows?

linux-lvm Ignacy Gawedzki 3 participants 5 messages Jan 21, 2008 – Feb 10, 2008

lore
Share & tools
lore
#0 lore raw

Hi everyone,

I've been looking for the answer for some time now and it is apparently nowhere to be found, so I resolved to ask it here.

Somehow unexpectedly, Windows "sees" LVM partitions (partition type 8e) and shows them in the explorer and in other places. Of course it doesn't understand the format and I don't have access to their contents from there, but nevertheless it happens to offer a "format..." entry in the contextual menu (brrrr... quite frightening!). Obviously, LVM just doesn't care that much about the partition type when it scans for PVs, so I could probably just put something else here (e.g. Linux, 82).

I was just wondering whether anybody here could provide with some insight about this (why doesn't Windows simply ignore these partitions or whether there are better tricks to hide them from it). I find it pretty useful to be able to identify LVM PVs when using fdisk for example (curiously enough, gparted doesn't understand the 8e type).

Signature · 1 line
Save the whales. Feed the hungry. Free the mallocs. 
#2 lore raw

On Mon, Jan 21, 2008 at 07:31:11AM -0700, thus spake Joseph L. Casale:

Quoted 4 lines
Quoted 2 lines

I've been looking for the answer for some time now and it is apparently nowhere to be found, so I resolved to ask it here.

http://support.microsoft.com/kb/179221

I've seen that, but I'm not sure it works reliably. It seems more like a cosmetic hiding, but I suspect any program might still easily access the partitions (i.e. still not by directly reading the bytes on the block device).

Besides, it is rather annoying 1) having to do it for each partition by hand,
2) eating up drive letters for nothing and 3) to use with drive racks or other removeable drives.

Signature · 1 line
Save the whales. Feed the hungry. Free the mallocs. 
#3 lore raw
In reply to Ignacy Gawedzki
Quoted 13 lines · Ignacy Gawedzki

Hi everyone,

I've been looking for the answer for some time now and it is apparently nowhere to be found, so I resolved to ask it here.

Somehow unexpectedly, Windows "sees" LVM partitions (partition type 8e) and shows them in the explorer and in other places. Of course it doesn't understand the format and I don't have access to their contents from there, but nevertheless it happens to offer a "format..." entry in the contextual menu (brrrr... quite frightening!). Obviously, LVM just doesn't care that much about the partition type when it scans for PVs, so I could probably just put something else here (e.g. Linux, 82).

Quoted 6 lines

I was just wondering whether anybody here could provide with some insight about this (why doesn't Windows simply ignore these partitions or whether there are better tricks to hide them from it). I find it pretty useful to be able to identify LVM PVs when using fdisk for example (curiously enough, gparted doesn't understand the 8e type).

right click on my computer.
chose manage
open disk management
right click on the partitio,
chose change drive letter and paths
chose remove

L.

Signature · 6 lines
Luca Berra -- [email protected]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
#4 lore raw

On Tue, Jan 29, 2008 at 11:17:18AM +0100, thus spake Luca Berra:

Quoted 6 lines

right click on my computer.
chose manage
open disk management
right click on the partitio,
chose change drive letter and paths
chose remove

Great! This was exactly what I was looking for. Thanks. =)

Signature · 1 line
I used to have a sig, but I've stopped smoking now.