View previous topic :: View next topic |
Author |
Message |
x220tux n00b

Joined: 09 Apr 2015 Posts: 19
|
Posted: Sun Sep 13, 2015 10:44 am Post subject: Hide boot & EFI USB partition |
|
|
My Gentoo shares /boot and EFI on a FAT32 partition, say /dev/sdb1, on GPT-labelled USB stick. Another FAT32 partition /dev/sdb2 fills up the remaining USB capacity, which I would like for normal data partition.
A guy (who uses Windows 8.1) borrowed my USB for transferring data. When it was returned back to me, data in /dev/sdb1 messed up with many other files. So I realized Windows only recognizes the shared /dev/sdb1, while /dev/sdb2 is unknown. In Gentoo, I tried to: Code: | parted /dev/sdb1 set 1 hidden on | But Windows still mount sdb1 automatically while sdb2 did NOT show up. Removing sdb2 did NOT help either.
How could I hide sdb1 and show sdb2 in Windows? Why 'hidden' flag does work for Windows?
---
Finally found a way:
1. use sdc2 as the shared /boot & EFI partition; formatted as FAT32.
2. format sdc1 as ntfs instead of fat.
3. From Windows Vista onwards, only the sdc1 NTFS partition is displayed.
4. Windows XP does not recognizes neither sdc1 nor sdc2.
Last edited by x220tux on Tue Oct 20, 2015 2:50 am; edited 3 times in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55178 Location: 56N 3W
|
Posted: Sun Sep 13, 2015 10:53 am Post subject: |
|
|
x220tux,
Buy Microsoft and have them fix their bug. :)
Its a feature of windows that it only sees the first partition on USB devices.
I suspect it only sees the MSDOS partition table too, which contains a single portition describing the entire device. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|
|
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
|
|