LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to hide Live USB partition from Linux, Windows etc. (http://www.linuxquestions.org/questions/linux-general-1/how-to-hide-live-usb-partition-from-linux-windows-etc-808626/)

cho-ben 05-18-2010 11:23 AM

How to hide Live USB partition from Linux, Windows etc.
 
I want to set up my USB memory stick(s) (4gb) so that I have a partition (3gb?) for personal data storage and another hidden (1gb?) for booting/installing Ubuntu live from the 'stick' on friends' and colleagues' computers.

I have a number of queries:

1) If I flag the boot partition 'hidden' in Gparted, it does what I want in Ubuntu but not in Windows; in Windows you can see the hidden partition, 'Wubi', and not the storage one. Does it simply depend on the physical position of the partitions on the memory stick?

2) I am using Unetbootin and Gparted (both GUIs). Should I prepare the live boot partition before or after partitioning the memory stick?

3) How much memory should I allow for the live boot partition?

4) Is there anyone who has asked similar questions or tried to achieve the same results before? Please let me know if I'm doing it all wrong.

Cheers
http://ubuntuforums.org/showthread.php?t=1486898

Mr-Bisquit 05-19-2010 10:32 AM

What type of partitions- fstype- are on the usb stick?
gparted is for partitioning a disk.
Unetbootin is for preparing media for installation and /or running.

If you are booting the stick from the computer with the BIOS, then don't worry about it.
If you are booting froma VM, then try for 256M.

exvor 05-19-2010 07:23 PM

Well windows will only see one partition on the usb stick, at least windows xp will. I am not quite sure about windows 7 or vista on that one.

cho-ben 05-20-2010 03:58 AM

I was just doing fat32 for both partitions which I thought was standard for this application... also I don't know whether I could boot from another type (through the bios)... could I? Would it help?

Sorry, I haven't actually messed around much since starting the thread! I would like some opinion though.

Exvor, so that's normal. Well I want to know how it determines which to recognise, whether it's just the first partition in physical sequence. Setting a "hidden" flag with gparted - what does that achieve? Does it only relate to Linux?

exvor 05-20-2010 07:59 PM

I think it just sees the first one in the physical sequence. I have not tried this however with windows 7 and I would test this out if I was home atm but alas I am not and all I have is windows xp.

Joe of Loath 05-21-2010 03:54 AM

Quote:

Originally Posted by exvor (Post 3976024)
I think it just sees the first one in the physical sequence. I have not tried this however with windows 7 and I would test this out if I was home atm but alas I am not and all I have is windows xp.

I can confirm windows 7 only sees the first partition.


All times are GMT -5. The time now is 04:01 AM.