LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   multi OS USB stick (http://www.linuxquestions.org/questions/linux-general-1/multi-os-usb-stick-4175412826/)

tux_mind 06-22-2012 07:54 AM

multi OS USB stick
 
Hi all.
i'm working on a bootable USB stick that contain:
-/boot
-backtrack5 ( on LUKS )
-win7 installer
-data

backtrack5 on LUKS is yet done and boot up fine.
boot contains bt5 boot files ( kernel etc.. )
data contains not critical information and files.

my problem is the win7 installer, i can boot it up but it shows this error:
"CD/DVD device driver missing..."

the usb stick is a 64GB USB 3.0 partitioned as follow:

Code:

Disk /dev/sdd: 64.0 GB, 64021856256 bytes                                                                                           
64 heads, 32 sectors/track, 61056 cylinders, total 125042688 sectors                                                               
Units = sectors of 1 * 512 = 512 bytes                                                                                             
Sector size (logical/physical): 512 bytes / 512 bytes                                                                               
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                   
Disk identifier: 0x0003ef35                                                                                                         
                                                                                                                                   
  Device Boot      Start        End      Blocks  Id  System
/dev/sdd1        42973184  125042687    41034752    7  HPFS/NTFS/exFAT
/dev/sdd2        32485376    42973183    5243904    7  HPFS/NTFS/exFAT
/dev/sdd3        1026048    32485375    15729664  83  Linux
/dev/sdd4  *          32    1026047      513008  83  Linux

Partition table entries are not in disk order

partitions are allocated in reverse order for allow windows to see the data partition.

Code:

/dev/sdd1 -> data
/dev/sdd2 -> win7
/dev/sdd3 -> LUKS ( bt5 )
/dev/sdd4 -> /boot

there is any grub related option to give for get it working or it's another damned microsoft problem ?? ( i've tried to use both USB 2.0 and 3.0 controllers )

thanks in advance,
tux_mind.

jefro 06-22-2012 01:38 PM

Put the windows as the first partition I'd think.

tux_mind 06-24-2012 07:10 AM

putting the win7 partition as first worked, but i cannot see the data partition from windows, it see only the win7 one.

Code:

  Device Boot      Start        End      Blocks  Id  System                                                                     
/dev/sdd1        32485376    42973183    5243904    7  HPFS/NTFS/exFAT                                                             
/dev/sdd2        42973184  125042687    41034752    7  HPFS/NTFS/exFAT                                                             
/dev/sdd3        1026048    32485375    15729664  83  Linux                                                                       
/dev/sdd4  *          32    1026047      513008  83  Linux

Code:

/dev/sdd1 -> win7_installer
/dev/sdd2 -> data
/dev/sdd3 -> LUKS ( bt5 )
/dev/sdd4 -> /boot

why winzozz see only the first partition? maybe for the reverse mapping? ( look at the start block of each partition )
the only thing i can think is... M$ always causes me problems!

anyone known how winzozz read partition tables??

tux_mind 06-24-2012 10:18 AM

just for testing i've also tried another USB stick with this partitions and empty filesystems ( the FS exist but there is no files inside. ):

Code:

  Device Boot      Start        End      Blocks  Id  System
/dev/sdd1            2048    4196351    2097152    7  HPFS/NTFS/exFAT
/dev/sdd2        4196352    8390655    2097152    7  HPFS/NTFS/exFAT
/dev/sdd3        8390656    12584959    2097152  83  Linux
/dev/sdd4  *    12584960    15826943    1620992  83  Linux

Code:

/dev/sdd1 -> win7_installer
/dev/sdd2 -> data
/dev/sdd3 -> LUKS ( bt5 )
/dev/sdd4 -> /boot

partition are mapped "correctly", not in reverse or spread order, but winzozz see only the first one ( win7_installer ).
/dev/sdd1 and /dev/sdd2 are both ntfs filesystems make with mkntfs v2012.1.15 .

really windows cannot see more then one partition on a USB stick ???

tux_mind 06-24-2012 10:32 AM

ok, now i've figured out that windows are not capable to see more then one partition on removable devices......
there is a lot of threads on this, simply search on google and there is a tons of people having this issue....
http://superuser.com/questions/39117...ives-to-bootit
why M$ ??? whyyyyyy?????
uff!
linux 4 life!

jefro 06-24-2012 12:29 PM

Sorry, I knew that but I assumed you knew it too.

Yes, unless you change how the OS sees that usb as removable to normal storage you can't get MS to see the later partitions. Some programs might allow you to change the usb to a hard drive reported. I think it is a flip bit application.


All times are GMT -5. The time now is 04:41 PM.