Trilogy 4.2

Discussion in 'MDL Projects and Applications' started by timesurfer, Feb 11, 2011.

Thread Status:
Not open for further replies.
  1. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    Although I don't have all the drives that you do, I am running into the same issue. Bluray/DVD/CD drives also play into this drive letter issue. All I can say is I'm still working on it. :confused:
     
  2. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
  3. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    Unfortunately, short of suggesting a fresh reinstall, I don't have any other suggestions. I would recommend waiting for some others to respond or doing a fresh install. Good luck.
     
  4. wiro-sableng

    wiro-sableng MDL Novice

    Apr 3, 2011
    11
    0
    0
    Just insert a coin for another 2 hours :(
    Fresh install, ouuch :eek:
    I think i'll wait for other suggestion or method, as i will use fresh install only as a last resort

    Thanks again for your respond tomah.
     
  5. wiro-sableng

    wiro-sableng MDL Novice

    Apr 3, 2011
    11
    0
    0
    #749 wiro-sableng, Apr 4, 2011
    Last edited: Apr 4, 2011
    Previously i'm a XP Pro user for years, and skip the Vista
    Using 7 just for couple of months now, and still not used which so many version naming available now.

    Not so sure which version i use..
    i'll check and posted it soon.

    Note :
    Dx diag result = Windows 7 Ultimate 32bit (6.1, build 7601)
    I'll post a screenshot if you need it

    Thanks
     
  6. chnix

    chnix MDL Member

    May 16, 2010
    147
    71
    10
    #753 chnix, Apr 4, 2011
    Last edited by a moderator: Apr 20, 2017
    @timesurfer @tomah

    I'm investigating the command that retorn the path to put IR5.bat in Drive and i found something interesting.
    (Tested on Win 7 64 Ultimate with the 100MB Hidden System Partition)

    This command:

    Code:
    wmic volume where SystemVolume="true" get DeviceId /format:list
    Returns the DeviceId to the Hidden System Partition:

    Code:
    DeviceID=\\?\Volume{50a9c559-4786-11e0-ac3d-806e6f6e6963}\
    Look the difference to this other command:

    Code:
    wmic volume where DriveLetter="%SystemDrive%" get DeviceId /format:list
    It returns the DeviceId to the System Drive ( in my case C: )

    Code:
    DeviceID=\\?\Volume{50a9c558-4786-11e0-ac3d-806e6f6e6963}\
    I found this executing and reading the output of this:

    Code:
    wmic volume get > wmicvolumeget.txt
    I'm not sure but i think that could be a problem to someone that don't have the Hidden System Partition.

    Can you do a test for us? Replace this line:

    Code:
    for /f "tokens=2 delims==" %%A in ('"wmic volume where SystemVolume="true" get DeviceId /format:list"') do set sd=%%A 
    For this:

    Code:
    for /f "tokens=2 delims==" %%A in ('"wmic volume where DriveLetter="%SystemDrive%" get DeviceId /format:list"') do set sd=%%A 
    And report if you can find IR5.bat in C:
     
  7. Claysoft65

    Claysoft65 MDL Member

    Sep 4, 2009
    136
    51
    10
    #754 Claysoft65, Apr 4, 2011
    Last edited by a moderator: Apr 20, 2017
    On the contrary, I think that such a problem could happen to ppl that HAVE the Hidden System Partition, cause in a configuration like mine is,
    "SystemVolume" and "SystemDrive" are always the same...
    I never had any problem about it... I always had the BAT in C: (while in Windows...) and with both of those command i have it in C: anyway...
    This is the test batch file i used, with both commands and creation of 2 different files :
    Code:
    @echo off
    for /f "tokens=2 delims==" %%A in ('"wmic volume where DriveLetter="%SystemDrive%" get SerialNumber /format:list"') do set sn=%%A
    for /f "tokens=2 delims==" %%A in ('"wmic volume where SystemVolume="true" get DeviceId /format:list"') do set sd=%%A
    for /f "tokens=2 delims==" %%A in ('"wmic volume where DriveLetter="%SystemDrive%" get DeviceId /format:list"') do set sd1=%%A
    SET sfile=%sd%\IR5.txt
    SET sfile1=%sd%\IR51.txt
    set s
    echo @echo off>%sfile% 
    echo @echo off>%sfile1% 
    dir C:\IR*.*
    
    and here it is the output in the Command Prompt windows :
    Code:
    C:\Users\Backups>00AssegnaSNSD.cmd
    sd=\\?\Volume{6eaeb48b-47f0-11e0-9f20-806e6f6e6963}\
    sd1=\\?\Volume{6eaeb48b-47f0-11e0-9f20-806e6f6e6963}\
    sfile=\\?\Volume{6eaeb48b-47f0-11e0-9f20-806e6f6e6963}\\IR5.txt
    sfile1=\\?\Volume{6eaeb48b-47f0-11e0-9f20-806e6f6e6963}\\IR51.txt
    sn=817457937
    SystemDrive=C:
    SystemRoot=C:\Windows
     Il volume nell'unità C è SYS_OCZ_1
    
     Directory di C:\
    
    04/04/2011  17:29                12 IR5.txt
    04/04/2011  17:29                12 IR51.txt
                   2 File             24 byte
    
    Besides that, if there's the need to modify that line, this one is useless :
    Code:
    for /f "tokens=2 delims==" %%A in ('"wmic volume where DriveLetter="%SystemDrive%" get DeviceId /format:list"') do set sd=%%A 
    Cause, as we are still working in Windows and it's used just to define the %sd% variable, I think we could simply use :
    Code:
    set sd=%SystemDrive%
    As I already wrote, what i was looking for is a solution to the WinRE "revolution" of the assigned drive letters...

    Clay
     
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #755 timesurfer, Apr 4, 2011
    Last edited: Apr 4, 2011
    (OP)
    Thanks guys for your contribution to Trilogy

    What do you think of us first remarking all the pertinent lines in IR5 so we know where we are starting from. I noticed you saw the hidden partition line of code

    I just want maybe these two things

    1. A consistent code that always find the drive that in RE the IR5.bat will be run in

    2. Perhaps we could at least in testing use an output .txt file to help explain what went wrong and can we apply error checking so that if IR5.bat is put in place it won't be run in RE then another attempt to place in correct place

    Whatcha think about that

    Also I don't need the hidden partition code my self as don't have one and not certain why MasterDisaster put that their?

    I think we can get this to work with even more success

    Daz gets his consistantly to place loader so why can't we place our bat file as consistantly
     
  9. chnix

    chnix MDL Member

    May 16, 2010
    147
    71
    10
    #756 chnix, Apr 4, 2011
    Last edited by a moderator: Apr 20, 2017
    In my case if IR5.bat is in the Hidden System Partition, i need to go to C: in WinRE to find it.

    If i put it in System Drive ( C:, my case ), i need to go to D: in WinRE.

    Analyzing your case and mine, i guess we should leave as is for now. Who don't have the hidden partition will have no problem since the systemdrive and systemvolume are the same. Whoever continues acessing IR5.bat in C:

    If we change, those who have the hidden partition will not find IR5.bat in C:, at least D:...

    The problem is when the system is installed on another partition and also a few cases like yours (I can not understand why the partitions are out of order within the WinRE).

    P.S.: I did a test similar to yours...Good testing code.

    I think MD has done that to avoid cases like mine. If he had placed in the system partition (C:, in my case), i would not find in C: but in D:

    I agree with you: we really need to find a way to consistantly place IR5.bat and then check if it's correctly placed (solve our problems, at least for now).
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    In MD and my testing if someone had d,e,f drive by entering C:IR5 it would still work as he made c cover every drive and this is why I think it's good idea to remark every line then we could redesign the install add checks and raise success with install
     
  11. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
  12. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10