Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hidding linux partition for ms-windows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
falko
Apprentice
Apprentice


Joined: 03 Dec 2004
Posts: 222
Location: Rovereto (TN) Italy

PostPosted: Tue Dec 05, 2017 9:18 pm    Post subject: Hidding linux partition for ms-windows Reply with quote

Hi,
I have a simple question

Is it possible hide a linux partition on a flash drive?
I use dm-crypt for create a encrypted partition on a flash drive and it works fine, I have one partition encrypted and one for normal use formatted in NTFS.

But when I put the key on MS-Windows, it recognized the unknown partition and tell me if I want format it!!!
I don't want that and I don't want see it, also because I could share it for a normal use

Thanks in advance
Marco
_________________
Io non sarò mai nessuno ma... nessuno sarà mai come me. (Jim Morrison)

A ciacere no se sgonfa done

Gentoo on: Lenovo R500
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 39279
Location: 56N 3W

PostPosted: Tue Dec 05, 2017 9:23 pm    Post subject: Reply with quote

falko,

When I last tried, Windows only sees the first partition on USB storage devices.
If you swap the partition table entries over, so that the NTFS partition is first in the partition table, Windows should be happy.

This process should be harmless to your data but in case its not, make a backup first.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
falko
Apprentice
Apprentice


Joined: 03 Dec 2004
Posts: 222
Location: Rovereto (TN) Italy

PostPosted: Wed Dec 06, 2017 7:52 pm    Post subject: Reply with quote

I change the partitions and now I have this situation

Code:
Dispositivo Avvio    Start      Fine  Settori  Size Id Tipo
/dev/sdb1             2048  62502911 62500864 29,8G  7 HPFS/NTFS/exFAT
/dev/sdb2         62502912 122879999 60377088 28,8G 83 Linux


But I still view the second partition on MS-Windows and it ask me to format the unknown partition :evil:
_________________
Io non sarò mai nessuno ma... nessuno sarà mai come me. (Jim Morrison)

A ciacere no se sgonfa done

Gentoo on: Lenovo R500
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum