topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 6:21 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - m4rkiz [ switch to compact view ]

Pages: [1]
1
when mountingencrypted partition with truecrypt i have to use \Device\HarddiskX\PartitionX path

but there is a known problem with windows disk numbers - they are not always the same http://support.micro....com/kb/937251/en-us
so basically if i have three hdds there is no way to tell if partition i want to mount will be

\Device\Harddisk0\Partition1, \Device\Harddisk1\Partition1 or \Device\Harddisk2\Partition1

therefore i cant connect \device\harddisk paths to correct drive letters

what i come with so far is:

1. i can have list of disks and their serial numbers with some utils for ex. diskid32.exe http://www.winsim.com/diskid32/diskid32.html

2. to make it more clear lets do: diskid32.exe | findstr /C:"STORAGE_DEVICE_DESCRIPTOR" /C:"Serial Number ="

output is:

**** STORAGE_DEVICE_DESCRIPTOR for drive 0 **** Serial Number = [S13PJ90QA46513]
**** STORAGE_DEVICE_DESCRIPTOR for drive 1 **** Serial Number = [S13PJ9BQC04227]
**** STORAGE_DEVICE_DESCRIPTOR for drive 2 **** Serial Number = [S13PJ1KQ600179]

or simply:

drive 0  = [S13PJ90QA4X513]
drive 1  = [S13PJ9BQC04X27]
drive 2  = [S13PJ1KQ60X179]

command to actually mount a partition is

TrueCrypt.exe /V \Device\Harddisk S13PJ90QA4X513 \Partition1 /L D

where
/V is volume
/L is drive letter

but instead of \Device\Harddisk S13PJ90QA4X513 \Partition1

\Device\Harddisk0\Partition1 should be used

so, so far at every boot i need to create list of hhds numbers & serial numbers and replace serial numbers with disk numbers in my batch file that mounts partitions
it is working for me, but it have to be some way to combine everything (diskid32, findstr, sed, my own batch) to something simpler that will work for all the people

http://forums.truecrypt.org/viewtopic.php?t=15714

Pages: [1]