MSFN Forum: SD Card (4GB) - Boot as preffered Drive U: Possible? - MSFN Forum

Jump to content



  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

SD Card (4GB) - Boot as preffered Drive U: Possible? Using multiboot_10_usb

#1 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 04 November 2009 - 06:43 PM

Sorry to open a new Topic for the subject mentioned (and it might be a stupid question also) but actually, i'm looking for this facility since the time i read the Topic of CDOB.

I was looking for his solution "How to install multi operating system by the use of USB Flash and finally i got it from his Topic (thanks CDOB).

i Bought a new Labtop (Acer Aspire 5738) whitch has a built in SD Card reader.

When i used Flash memory 2GB to simulate his solution, the Flash seen as Preffered Boot Drive U:

My problem is:
1 - When i used Flash memory > 2GB to simulate his solution, the Flash seen as Drive D:
2 - When i used SD memory Card, the SD always seen as Drive D:

the above results is not suitable for me as i always needs the Windows Setup Drive to be HIGHER than H:

Is it possible? How??

This post has been edited by robekia: 04 November 2009 - 07:00 PM



#2 User is offline   ilko_t 

  • MSFN Expert
  • Group: Super Moderator
  • Posts: 1,458
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 04 November 2009 - 07:40 PM

Have a look:
http://www.msfn.org/.../2-t137508.html
http://www.msfn.org/.../2-t131770.html

Try latest MkMigrateInf.cmd:
http://www.msfn.org/board/index.php?act=at...st&id=27356

What is ParentIDprefix of this SD card on the computer you prepare it on, and on the computer you are installing from it?

#3 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 04 November 2009 - 07:54 PM

Where i can find ParentIDprefix ?

i'm using the SD in the same Labtop right now (Acer ASPIRE 5738).

do i have to use this file instead of the one included in multiboot_10_usb?

I Found that reference in REG:

7&d7f206a&0


This is the results when i run the CMD:

[Version]
Signature = "$Windows NT$"

[Addreg]
HKLM,"SYSTEM\MountedDevices",,0x00000010
HKLM,"SYSTEM\ControlSet001\Control\StorageDevicePolicies","WriteProtect",0x00010001,1
HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001,\
5C,17,5C,17,00,5E,C6,52,07,00,00,00

This post has been edited by robekia: 04 November 2009 - 08:47 PM


#4 User is offline   ilko_t 

  • MSFN Expert
  • Group: Super Moderator
  • Posts: 1,458
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 04 November 2009 - 08:51 PM

Did you run the script against your drive letter of the sd card?
MkMigrateInf_c.cmd G: c:\migrate_inf.txt
Replace G: with whatever letter the SD card is.


Quote

Where i can find ParentIDprefix ?

Posted Image

Or http://sourceforge.n...cts/usbhistory/
usbhistory.exe > c:\usb_history.txt

Please attach this file, it's quite interesting to dig deeper into this.

Quote

do i have to use this file instead of the one included in multiboot_10_usb?
Yes, replacing the one in ~BT folder.
Clarification- migrate.inf is generated by older version of MkMigrateInf.cmd from your local registry, usb_multiboot does not have a 'generic' migrate.inf included.

#5 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 04 November 2009 - 09:33 PM

the previous "MkMigrateInf_c.cmd" run wasn't with any parameters.

When i run "MkMigrateInf_c.cmd H: migrate_inf.txt" --> i got the attached.
Attached File  migrate_inf.txt (722bytes)
Number of downloads: 7

I run "usbhistory.exe > c:\usb_history.txt" --> i got the attached.
Attached File  usb_history.txt (1.57K)
Number of downloads: 7
Number (3) is my drive (H:) Built in Card reader



please tell me what to do right now? and whether the procedure that you'll tell me can be applied to any Labtop?

#6 User is offline   ilko_t 

  • MSFN Expert
  • Group: Super Moderator
  • Posts: 1,458
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 04 November 2009 - 10:04 PM

Quote

My problem is:
1 - When i used Flash memory > 2GB to simulate his solution, the Flash seen as Drive D:
2 - When i used SD memory Card, the SD always seen as Drive D:
Which one is a typo and which one is correct?

Are contents of the previous migrate.inf similar, the one which did NOT work properly and gave you letter D during setup?

Did you produce migrate_inf.txt on the laptop in question, with freshly installed Windows?

We need to compare what prefix was used where you prepared the SD card, and the prefix used on the machine where Windows is being installed onto.

#7 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 05 November 2009 - 07:05 AM

Sorry, My Internet connection dropped down yesterday.

View Postilko_t, on Nov 5 2009, 07:04 AM, said:

Which one is a typo and which one is correct?
No typo, both cases happened
Mainly, any (Flash or SD) used over 2GB causes the problem.


View Postilko_t, on Nov 5 2009, 07:04 AM, said:

Are contents of the previous migrate.inf similar, the one which did NOT work properly and gave you letter D during setup?
Both contents similar except the OLD one has extra fields as folow:
[Strings]
;Handy macro substitutions non-localizable
REG_SZ = 0x00000000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
REG_SZ_APPEND = 0x00010008
REG_EXPAND_SZ = 0x00020000


View Postilko_t, on Nov 5 2009, 07:04 AM, said:

Did you produce migrate_inf.txt on the laptop in question, with freshly installed Windows?
NO, i need to prepare the Fresh Setup first before re-build my system.
BTW, i have 5 labtops at my home (AsusEee, HP500, HP530, Acer1640 and Acer5738) and all giving the same

I tried just now, and got Drive (D:) :angry:

View Postilko_t, on Nov 5 2009, 07:04 AM, said:

We need to compare what prefix was used where you prepared the SD card, and the prefix used on the machine where Windows is being installed onto.
Do you suggest to use the newly generated migrate.inf although they are almost the same?

This post has been edited by robekia: 05 November 2009 - 07:24 AM


#8 User is offline   ilko_t 

  • MSFN Expert
  • Group: Super Moderator
  • Posts: 1,458
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 05 November 2009 - 11:38 AM

Quote

When i used Flash memory 2GB to simulate his solution, the Flash seen as Preffered Boot Drive U:
Did you use RAM loaded setup in this case too, not USB_multiboot.cmd/WinSetupFromUSB?

In RAM loaded setup there is no reference so far for preserving USB drive letter, I wonder how you made it appear as U in the case above?

#9 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 05 November 2009 - 02:41 PM

Quote

Did you use RAM loaded setup in this case too, not USB_multiboot.cmd/WinSetupFromUSB?

In RAM loaded setup there is no reference so far for preserving USB drive letter, I wonder how you made it appear as U in the case above?


i already try "RAM LOADED ISO" by cdob since days but unfortunately, windows seems to hang at the step of identifing the Hard disks "SETUP LOADING WINDOWS" and a blank screen appear for long long time till i shutdown the Labtop.
this is for both types (flash memory and SD), nothing success with me

I already post a message in http://www.msfn.org/board/install-xp-ram-l...ge-t137714.html
but guys there says that it is a strange bios.

i assure that SATA drives are slipstreamed with the ISO file and a correct IMG and GRUB deffinition are there and everything is ok but the ISO file hangs when reach that step.

i prefere Loading ISO RAM Setup because there is no need for many customization but i got no luck.

i still insist (THERE IS ALWAYS A SOLUTION).
:)

This post has been edited by robekia: 05 November 2009 - 06:39 PM


#10 User is offline   ilko_t 

  • MSFN Expert
  • Group: Super Moderator
  • Posts: 1,458
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 05 November 2009 - 08:13 PM

I'll try to summarize:
- you are using USB_multiboot10
- with USB flash stick 2GB you can get letter U: of it during setup on all machines
- with USB flash stick > 2GB or SD card of any size it does NOT get U: during setup, on all machines

Did I get it right?

#11 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 9,084
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2009 - 02:52 AM

View Postrobekia, on Nov 5 2009, 09:41 PM, said:

i still insist (THERE IS ALWAYS A SOLUTION).
:)


Well, NO. :(

I INSIST that "there is always a solution" IF the asking member PROVIDES a clear, detailed, report of what he did.

Look, we are at post #10 in this thread and not ilko, not myself have a clear idea of what the heck is the problem.
You seem to jump back and forward from USB_multiboot10 to cdob's RAM based method completely faling to properly report the steps you have taken.

They may be very clear in your mind :), but rest assured they are not in ours, possibly because wre are a bit thick :ph34r:, but maybe also because you failed to explain the issue.

Why don't you forget anything you've posted till now and make a new post reporting in order all the steps you taken, the problems you had, etc., etc., I am sure you already did so in fragments, but we seem unable to put all the fragments together properly. :blink:


jaclaz

#12 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 757
  • Joined: 29-September 05

Posted 06 November 2009 - 03:12 AM

Given a 4GB SanDisk SD Plus USB, this is both a SD card and a USB stick.

USB SD card reader, no card inserted: XP assign a drive letter F:
The drive letter goes to the card reader, not the SD card itself.
ParentIdPrefix: 7&776bc3a&1

USB SD card reader disconnected.
SD card inserted to another USB SD card reader.
XP assign a drive letter F:, however MountedDevices is changed.
ParentIdPrefix: 7&524fc66&0

USB SD card reader disconnected.
Flash card connected as USB stick:
XP assign a drive letter F:, MountedDevices is changed again.
ParentIdPrefix: 7&3157a48c&0

The same SD card may use different ParentIdPrefix.
Migrate.inf goes to the SD card storage controller, not to the SD card.

View Postrobekia, on Nov 5 2009, 08:05 AM, said:

i have 5 labtops at my home (AsusEee, HP500, HP530, Acer1640 and Acer5738)

Which laptop do you use to prepare the SD card?
Which laptop do you like to install XP to?

#13 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 06 November 2009 - 06:18 AM

View Postilko_t, on Nov 6 2009, 05:13 AM, said:

I'll try to summarize:
- you are using USB_multiboot10
- with USB flash stick 2GB you can get letter U: of it during setup on all machines
- with USB flash stick > 2GB or SD card of any size it does NOT get U: during setup, on all machines

Did I get it right?


Exactly.

#14 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 06 November 2009 - 06:27 AM

View Postcdob, on Nov 6 2009, 12:12 PM, said:

Which laptop do you use to prepare the SD card?
Which laptop do you like to install XP to?


The answer for all is "Acer5738"

I have the folowing labtops and thier preferred installation type:
1 - AsusEee --> Need to Use either Flash Memory (DataTraveler 8GB) or (scandisk SDHC 4GB using internal Card reader).
2 - HP500 --> Need to Use either Flash Memory (DataTraveler 8GB) only.
3 - HP530 --> Need to Use either Flash Memory (DataTraveler 8GB) only.
4 - Acer1640 --> Need to Use either Flash Memory (DataTraveler 8GB) only.
5 - Acer5738 --> Need to Use either Flash Memory (DataTraveler 8GB) or (scandisk SDHC 4GB using internal Card reader) this is the important one and this is the Labtop that used to Create/Install the image

#15 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 06 November 2009 - 06:50 AM

View Postjaclaz, on Nov 6 2009, 11:52 AM, said:

I INSIST that "there is always a solution" IF the asking member PROVIDES a clear, detailed, report of what he did.

Look, we are at post #10 in this thread and not ilko, not myself have a clear idea of what the heck is the problem.
You seem to jump back and forward from USB_multiboot10 to cdob's RAM based method completely faling to properly report the steps you have taken.

They may be very clear in your mind :), but rest assured they are not in ours, possibly because wre are a bit thick :ph34r:, but maybe also because you failed to explain the issue.

Why don't you forget anything you've posted till now and make a new post reporting in order all the steps you taken, the problems you had, etc., etc., I am sure you already did so in fragments, but we seem unable to put all the fragments together properly. :blink:


jaclaz


@jaclaz
i'm not jumping back and forward :wacko:

please find hereunder the whole story (please be Patient):

I have the folowing labtops and thier preferred installation type:
1 - AsusEee --> Need to Use either Flash Memory (DataTraveler 8GB) or (scandisk SDHC 4GB using internal Card reader).
2 - HP500 --> Need to Use either Flash Memory (DataTraveler 8GB) only.
3 - HP530 --> Need to Use either Flash Memory (DataTraveler 8GB) only.
4 - Acer1640 --> Need to Use either Flash Memory (DataTraveler 8GB) only.
5 - Acer5738 --> Need to Use either Flash Memory (DataTraveler 8GB) or (scandisk SDHC 4GB using internal Card reader) this is the important one and this is the Labtop that used to Create/Install the image

in order to acheive that, i tried MULTIBOOT_USB_10 with another Flash Memory (Kingston Data Traveler 2GB).
as i'm using the Acer5738 for developing and building, the MUTIBOOT_USB_10 using 2GB is doing Great for all of the rest Labtops.
i was happy to be able to install my Nlited Windows XP SP3 on all these Labtops with one flash memory.

after they success, i decided to do the same for the main Labtop (Acer5738).
i decided to re-partition the hard disk and install the same windows using the Flash Memory 8GB not the 2GB in order to have one Flash having multiboot with deferent types of Nlited setup, so i rebuilt the 8GB and start to use the Acer 5738.
(I'M STILL IN MULTIBOOT_USB_10)
after booting the Acer5738 using the new 8GB and reach the step of getting the drive letter in text mode, i got it (D: even when i used the option 0 "usb stick") which is not prefered to me as i may need to install windows later on the second partition of any labtop.

i took the 8GB flash and re-try for the previous success labtops, then i found usb flash drive in all is seen as (D:) also.

then i tried to look for another solution to have one 1 way for all labtops and i found the "RAM_LOAD_ISO"

i built the ISO from the same source that used earlier using 2GB and 8GB flash memory for all the mentioned labtops, then i got the mentioned problem.
i tried with the SDHC memory card using the built-in card reader for (AsusEee and Acer5738), i got the same problem.


i hope that clarify the issue and sorry to waste your time jaclas.

i'm not intened to let people get confused, i'm trying to be always clear for descriping any problem and i feel that there is a solution (maybe it is not discovered yet) but with tries and well reading, we will have a solution not only to fix my problems but to help all people that may fail in my situation in the future, hence i said (THER IS ALWAYS A SOLUTION).


so finaly here is a clear fast track description:


1 - Using MULTIBOOT_USB_10 and 2GB Flash Memory:
A - for AsusEee --> Flash Memory seen as Drive U: --> whole story Success --> OK
B - for HP500 --> Flash Memory seen as Drive U: --> whole story Success --> OK
C - for HP530 --> Flash Memory seen as Drive U: --> whole story Success --> OK
D - for Acer1640 --> Flash Memory seen as Drive U: --> whole story Success --> OK
E - for Acer5738 --> Flash Memory seen as Drive U: --> whole story Success --> OK

2 - Using MULTIBOOT_USB_10 and 8GB Flash Memory:
A - for AsusEee --> Flash Memory seen as Drive D: --> Not OK
B - for HP500 --> Flash Memory seen as Drive D: --> Not OK
C - for HP530 --> Flash Memory seen as Drive D: --> Not OK
D - for Acer1640 --> Flash Memory seen as Drive D: --> Not OK
E - for Acer5738 --> Flash Memory seen as Drive D: --> Not OK

3 - Using MULTIBOOT_USB_10 and 4GB SDHC in built-in card reader:
A - for AsusEee --> SDHC Memory Card seen as Drive D: --> Not OK
B - for Acer5738 --> SDHC Memory Card seen as Drive D: --> Not OK

4 - Using RAM ISO LOADED and 4GB SDHC in built-in card reader:
A - for AsusEee --> Blank screen (Mentioned problem) --> whole story Failed.
E - for Acer5738 --> Blank screen (Mentioned problem) --> whole story Failed.

This post has been edited by robekia: 06 November 2009 - 07:15 AM


#16 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 757
  • Joined: 29-September 05

Posted 06 November 2009 - 07:08 AM

View Postrobekia, on Nov 6 2009, 07:27 AM, said:

The answer for all is "Acer5738"

Do you use always the internal Card reader?
How is the internal Card reader connected?
Does this internal Card reader use a USB connection?

Do you use a external USB Card reader?

Which ParentIdPrefix does current windows use at Acer5738?
Which ParentIdPrefix does exist at migrate.inf?
Which ParentIdPrefix does ůse a freshly installed windows?

BTW: to enhance the confusion.
There is a new firadisk 0.0.1.14 http://www.boot-land.net/forums/index.php?...ost&p=83637

#17 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 06 November 2009 - 07:25 AM

Quote

Do you use always the internal Card reader?
How is the internal Card reader connected?
Does this internal Card reader use a USB connection?

No, please read the previous post that i replied to jaclaz, i clearly descripe my proccess in there.
it is Built-in Card Reader in Acer5738.

Quote

Do you use a external USB Card reader?

I inserted the SDHC card in External Card reader and connect it to one of the normal 4 USB
in the labtop with the same problem

Quote

Which ParentIdPrefix does current windows use at Acer5738?
Which ParentIdPrefix does exist at migrate.inf?
Which ParentIdPrefix does ůse a freshly installed windows?

They are always the same as i attached previously the Generated files
i'm attaching them again for reference:
Attached File  usb_history.txt (1.57K)
Number of downloads: 2Attached File  MIGRATE.INF (722bytes)
Number of downloads: 4

Quote

BTW: to enhance the confusion.
There is a new firadisk 0.0.1.14 http://www.boot-land.net/forums/index.php?...ost&p=83637

Thank you for this information, i'm gonna try it nowwwwww

#18 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 9,084
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2009 - 07:26 AM

So, if I get it right:
  • everything goes well with the 2 Gb stick
  • everything goes wrong with the 8 Gb stick
  • everything goes wrong with the SD card


Let's for the moment FORGET about the SD card, we will get there later (or if you prefer, please talk with me about the sticks and talk with cdob about the SDcard, everyone has his own "specialities" - or at least sometimes different approaches)

You still have the 2Gb stick, do you? :unsure:

If yes it would be interesting to have the output of Chipgenius:
http://www.boot-land...?showtopic=4661
http://www.mydigit.cn/chipgenius.htm

for both sticks AND the result of running mkmigrateinf.exe:
http://www.msfn.org/board/profiles-directo...819-page-9.html
http://www.msfn.org/board/forcing-system-d...973-page-7.html
on a system with BOTH sticks connected.

jaclaz

This post has been edited by jaclaz: 06 November 2009 - 07:27 AM


#19 User is offline   robekia 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 06-May 07

Posted 06 November 2009 - 07:52 AM

View Postjaclaz, on Nov 6 2009, 04:26 PM, said:

So, if I get it right:
  • everything goes well with the 2 Gb stick
  • everything goes wrong with the 8 Gb stick
  • everything goes wrong with the SD card

Exactly

Quote

Let's for the moment FORGET about the SD card, we will get there later (or if you prefer, please talk with me about the sticks and talk with cdob about the SDcard, everyone has his own "specialities" - or at least sometimes different approaches)

I agree for now........thanks

Quote

You still have the 2Gb stick, do you? :unsure:

yes i still have

Quote

If yes it would be interesting to have the output of Chipgenius:
http://www.boot-land...?showtopic=4661
http://www.mydigit.cn/chipgenius.htm

I downloaded the program.
for 2GB hereunder the results:
Device Name: ?[J:]?USB Mass Storage Device(Kingston DataTraveler 2.0 USB Device)

PnP Device ID: VID = 0951 PID = 1607
Serial Number: 5B82050053DD
Revision: PMAP

Device Type: Standard USB device - USB2.0 High-Speed

Chip Vendor: phison
Chip Part-Number: PS2232

Product Vendor: (N/A)
Product Model: (N/A)



for 8GB, here is the results:
Device Name: ?[K:]?USB Mass Storage Device(Kingston DataTraveler 120 USB Device)

PnP Device ID: VID = 0951 PID = 1623
Serial Number: 00137297175CF971862F0A39
Revision: 1.00

Device Type: Standard USB device - USB2.0 High-Speed

Chip Vendor: skymedi
Chip Part-Number: SK6211

Product Vendor: (N/A)
Product Model: (N/A)


for SDHC Card:
Device Name: ?[H:]?Realtek Card Reader(0159)(Generic- Multi-Card USB Device)

PnP Device ID: VID = 0BDA PID = 0159
Serial Number: 20071114173400000
Revision: 1.00

Device Type: Standard USB device - USB2.0 High-Speed

Chip Vendor: (No match record)
Chip Part-Number: (No match record)

Product Vendor: Generic-
Product Model: Multi-Card

Quote

for both sticks AND the result of running mkmigrateinf.exe:
http://www.msfn.org/board/profiles-directo...819-page-9.html
http://www.msfn.org/board/forcing-system-d...973-page-7.html
on a system with BOTH sticks connected.

I'll do it and get back to you soon.......

#20 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 9,084
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2009 - 10:29 AM

OK, the 2 Gb is a Phison (and you don't want to touch it since it works allright), the 8 Gb is a Skymedi.

Both are re-branded with Vid 0951 (Kingston) and Pid 1607 and Pid 1623 respectively (Kingston internal model designation).

If you go to a machine where the sticks were connected and open with Regedit the key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\

You are likely to find keys named something like:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\Disk&Ven_Kingston&Prod_Data_Traveler&Rev_1.00
or
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\Disk&Ven_Kingston&Prod_Data_Traveler&Rev_

and in a sub-key with the name of the serial number, most probably, and respectively:
\5B82050053DD&0
\00137297175CF971862F0A39&0
(the above is pretty much unuseful, as we already know this data from the USBhistory.txt you posted, but now you know how it works, more or less) ;)
2Gb ParentIdPrefix=7&1554d726&0
8Gb ParentIdPrefix=7&d825748&0

The migrate.inf you posted is for a ParentIdPrefix=7&d7f206a&0 which corresponds to the drive H:\ (Generic- Multi-Card USB Device) in the USBhistory

This may be of use:
 
@ECHO OFF
::migrate2txt.cmd rudimental batch to extract ParentIdPrefix from migrate.inf file
::by jaclaz ALPHA 0.01 Release 6th November 2009
SETLOCAL ENABLEDELAYEDEXPANSION
SETLOCAL ENABLEEXTENSIONS

SET TEXT=
FOR /F "skip=7 tokens=* delims=" %%A IN (MIGRATE.INF) DO (
SET UNICODE=%%A
)
SET UNICODE
ECHO.
SET SPACESUNICODE=%UNICODE:,= %
FOR %%? IN (%SPACESUNICODE%) DO (
IF NOT %%?.==00. (
CALL :bin2txt %%?
SET /P Var=!s!<NUL
SET TEXT=!TEXT!!s!
)
)
CLS
SET UNICODE
ECHO.
SET TEXT="%TEXT:@=&%"
SET TEXT=%TEXT:§=?%
SET TEXT
ECHO.
SET Prefix="\??\STORAGE#RemovableMedia#"
SET BEGIN=%TEXT:~0,28%"
IF %BEGIN%==%Prefix% SET ParentIdPrefix="%TEXT:~28,11%"
SET ParentIdPrefix
GOTO :EOF

:bin2txt
Set s=%1

For %%A In (
23# 26@ 2D- 300 311 322 333 344 355 366 377 388 399
3A: 3B; 3D= 3F§ 41A 42B 43C 44D 45E 46F 47G 48H 49I
4AJ 4BK 4CL 4DM 4EN 4FO 50P 51Q 52R 53S 54T 55U 56V
57W 58X 59Y 5AZ 5B[ 5C\ 5D] 61a 62b 63c 64d 65e 66f
67g 68h 69i 6Aj 6Bk 6Cl 6Dm 6En 6Fo 70p 71q 72r 73s
74t 75u 76v 77w 78x 79y 7Az 7B{ 7D}
) Do Call :DoPairs %%A
GOTO :EOF

:DoPairs
Set _=%1
Call Set s=%%s:%_:~0,2%=%_:~2,4%%%
Goto :EOF 


Cannot say why the migrate.inf resulted for another device. :unsure:

jaclaz

This post has been edited by jaclaz: 06 November 2009 - 10:30 AM


Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy