Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hide boot & EFI USB partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
x220tux
n00b
n00b


Joined: 09 Apr 2015
Posts: 19

PostPosted: Sun Sep 13, 2015 10:44 am    Post subject: Hide boot & EFI USB partition Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Sep 13, 2015 10:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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