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

Jump to content



  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • 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

#41 User is online   cdob 

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

Posted 08 November 2009 - 03:44 AM

View Postrobekia, on Nov 7 2009, 06:05 PM, said:

5 - I tested the windows setup using the "AsusEee" and i successfully got Drive U:
6 - When i tried the same for "Acer5738" unfortunately, i got drive D:

The Acer5738 does map the drive different, e.g. as a USB floppy.
Or the BIOS set a fixed drive to the SD card at boot.
Hence the blank screen at ISO RAM load approach too.

Does exist a BIOS option to force USB hdd to the SD Card?


#42 User is offline   robekia 

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

Posted 08 November 2009 - 03:50 AM

View Postcdob, on Nov 8 2009, 12:44 PM, said:

Does exist a BIOS option to force USB hdd to the SD Card?


No, there is no options in bios for such funtion.
the only thing available is to choose the periority boot and the SATA mode (SATA or IDE) for the Hard Disk.

realy i got mad with this Labtop, it is suppose to be a new bios because it is new.


also, why the same happened to Memory Stick (Flash Memory)?
may be it is dealing defferently for ISO loaded that way.

#43 User is online   jaclaz 

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

Posted 08 November 2009 - 04:29 AM

View Postrobekia, on Nov 8 2009, 01:05 AM, said:

@jaclaz
.....
5 - I tested the windows setup using the "AsusEee" and i successfully got Drive U:
6 - When i tried the same for "Acer5738" unfortunately, i got drive D:

What you think?


View Postjaclaz, on Nov 6 2009, 06:39 PM, said:

However the Acer5738 appears as troublemaker. :w00t:


It seems like the SD card gets two Parent Id's. :unsure:
The Migrate.inf (rightly) gets 7&d7f206a&0.
This ParentIdPrefix is "understood" by the "AsusEee" rightly, but evidently NOT by the "Acer5738".
My guess is that it's something BIOS related.
Or maybe the "Acer5738" uses a different way to enumerate devices.

What happens, once the XP - one way or the other - is installed on the "Acer5738"?
What ParentIdPrefix does the SD card gets on the "Acer5738" already running XP?
Still the same 7&d7f206a&0 ?

Use this "updated" batch:
 
@ECHO OFF
::migrate2txt.cmd rudimental batch to extract ParentIdPrefix from migrate.inf file
::by jaclaz ALPHA 0.02 Release 7th November 2009
::supports both "removable" and "fixed" devices
SETLOCAL ENABLEDELAYEDEXPANSION
SETLOCAL ENABLEEXTENSIONS
SET TEXT=
SET SOURCE=%1
IF %SOURCE%.==. SET SOURCE=%~dp0MIGRATE.INF&SET CLeanSource=MIGRATE.INF
IF NOT defined CleanSource SET CLeanSource=%~nx1
IF /I NOT "%CLeanSource%"=="MIGRATE.INF" GOTO :MIA
FOR /F "tokens=* delims=" %%A IN ('MORE %SOURCE%^|FIND ",00,"') 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 BEGIN=%UNICODE:~0,8%
IF NOT "%BEGIN%"=="5C,00,3F" GOTO :Fixed
SET TEXT
ECHO.
SET Prefix="\??\STORAGE#RemovableMedia#"
SET BEGIN=%TEXT:~0,28%"
IF %BEGIN%==%Prefix% SET ParentIdPrefix="%TEXT:~28,11%"
SET ParentIdPrefix&GOTO :EOF
:Fixed
SET DiskSignature="%UNICODE:~0,2%%UNICODE:~3,2%%UNICODE:~6,2%%UNICODE:~9,2%"
SET DiskSignature
ECHO (as seen in a hex editor viewing the MBR)
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] 5F_ 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

:MIA
ECHO File MIGRATE.INF not found!
GOTO :EOF 


Is the SD card partitioned, right?

If the "Acer5738" thinks that the SD card is a "Fixed" Hard Disk, INSTEAD of ParentIdPrefix it will use Disk Signature in the MBR to identify it.

It costs nothing to try adding to MIGRATE.INF a mapping for the Disk Signature as "V:\" and see what happens.

Read the thread that "started it all":
http://www.911cd.net...showtopic=19663

Add to MIGRATE.INF these lines:
HKLM,"SYSTEM\MountedDevices","\DosDevices\V:",0x00030001,\
ww,xx,yy,zz,00,7E,00,00,00,00,00,00

Replacing the ww,xx,yy,zz values with the ones you can get by peeking with a hex/disk editor in the MBR or using a tool like MBRfix to read the SD card signature.

jaclaz

#44 User is online   cdob 

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

Posted 08 November 2009 - 07:02 AM

Once again. It's rather confusing still.

View Postrobekia, on Nov 7 2009, 07:05 PM, said:

today, i tried again with the same solution againest two labtops and is the results:

1 - I run the "usbHistory.exe" again with the below result for the SD card.
Which laptop give this result?
Can you run usbHistory.exe at both laptops?

Quote

(3) --- Generic- Multi-Card USB Device
Is this (3) the internal USB card device? http://www.msfn.org/board/index.php?s=&...st&p=891644
Is this a external USB card device?

Quote

4 - I copied the Assured "MIGRATE.INF" to the "$WIN_NT$.~BT" folder over the SD.
5 - I tested the windows setup using the "AsusEee" and i successfully got Drive U:
6 - When i tried the same for "Acer5738" unfortunately, i got drive D:

Did you used one SD card at two different Card devices?
Try one migrate.inf for the "AsusEee" and another migrate.inf for the "Acer5738".

Yes, a BIOS update is recommended http://customercare.acer-euro.com/customer...&IType=JV50

Quote

Under certain circumstances the power adapter on the affected units may overheat


More strange, Acer offers Realtek Card Reader drivers. RTS5121.inf contain the string "USB Mass Storage Device".
Which OS do you use at "Acer5738" currently, XP, Vista or other?
Does you windows use a windows default driver or a realtek RTS5121.sys driver?

#45 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 569
  • Joined: 21-March 07

Posted 08 November 2009 - 07:47 AM

You can try Install XP from SD card without booting from SD card, but instead boot all the time from the same drive,
being your internal harddisk on which you want to install XP.

First prepare your SD-card with Make_USB.exe using Format Stick and FAT FileSystem.
Then after booting with LiveXP BootSDI.img RAMBOOT Image, you can prepare your internal HDD for Install of XP,
using USB_XP_Setup.exe of U_XP_SET package and where XP Setup will be able to use the XP Setup Source located on SD-card.

NOT booting from USB or SD has great advantage and can make quite a difference.
There is no confusion anymore, since your boot device in XP Setup is always the same, e.g. your internal HDD. ;)

More Info:
http://www.msfn.org/board/install-xp-usb-a...sb-t121446.html

This post has been edited by wimb: 08 November 2009 - 08:50 AM


#46 User is offline   robekia 

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

Posted 08 November 2009 - 07:56 AM

View Postjaclaz, on Nov 8 2009, 01:29 PM, said:

It seems like the SD card gets two Parent Id's. :unsure:
The Migrate.inf (rightly) gets 7&d7f206a&0.
This ParentIdPrefix is "understood" by the "AsusEee" rightly, but evidently NOT by the "Acer5738".
My guess is that it's something BIOS related.
Or maybe the "Acer5738" uses a different way to enumerate devices.

That's exactly what i'm thinking too.

Quote

What happens, once the XP - one way or the other - is installed on the "Acer5738"?
What ParentIdPrefix does the SD card gets on the "Acer5738" already running XP?
Still the same 7&d7f206a&0 ?

1 - Yes still the same 7&d7f206a&0
2 - i installed another windows XP SP3 on Acer5736 in second partition (D:) using Stick 2GB in order to get a clean windows with Drive U: and the surprise for me is ParentIdPrefix still = 7&d7f206a&0 using both brevious batch files supplied.

Quote

Use this "updated" batch:

I'll use it and get back to you

Quote

Is the SD card partitioned, right?

No, i'm just using the "MULTIBOOT_USB_10.cmd" with option (H) to format the whole stick and it boots fine.

Quote

If the "Acer5738" thinks that the SD card is a "Fixed" Hard Disk, INSTEAD of ParentIdPrefix it will use Disk Signature in the MBR to identify it.
It costs nothing to try adding to MIGRATE.INF a mapping for the Disk Signature as "V:\" and see what happens.
Add to MIGRATE.INF these lines:
HKLM,"SYSTEM\MountedDevices","\DosDevices\V:",0x00030001,\
ww,xx,yy,zz,00,7E,00,00,00,00,00,00

Replacing the ww,xx,yy,zz values with the ones you can get by peeking with a hex/disk editor in the MBR or using a tool like MBRfix to read the SD card signature.
jaclaz

I'll do this also and get back to you as i'm talking to you now using the HP500 labtop in order to have other labtops free for testing (Acer5738 and Asuseee).

#47 User is online   jaclaz 

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

Posted 08 November 2009 - 08:03 AM

View Postrobekia, on Nov 8 2009, 02:56 PM, said:

Quote

Is the SD card partitioned, right?

No, i'm just using the "MULTIBOOT_USB_10.cmd" with option (H) to format the whole stick and it boots fine.


Well, then WHAT DO YOU THINK the "MULTIBOOT_USB_10.cmd" with option (H) does? :whistle:

jaclaz

This post has been edited by jaclaz: 08 November 2009 - 08:04 AM


#48 User is offline   robekia 

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

Posted 08 November 2009 - 08:06 AM

View Postwimb, on Nov 8 2009, 04:47 PM, said:

You can try Install XP from SD card without booting from SD card, but instead boot all the time from the same drive,
being your internal harddisk on which you want to install XP.

First prepare your SD-card with Make_USB.exe using Format Stick and NTFS FileSystem.
Then after booting with LiveXP BootSDI.img RAMBOOT Image, you can prepare your internal HDD for Install of XP,
using USB_XP_Setup.exe of U_XP_SET package and where XP Setup will be able to use the XP Setup Source located on SD-card.

NOT booting from USB or SD has great advantage and can make quite a difference.
There is no confusion anymore, since your boot device in XP Setup is always the same, e.g. your internal HDD. ;)

More Info:
http://www.msfn.org/board/install-xp-usb-a...sb-t121446.html


I already did a similar case before in order for me to test more cases and to be ready for any time to install XP SP2/3 on any labtop/PC using different possible solution (Stick/SD).

So, your suggesion is acceptable and can help in case (IF I JUST WANT TO INSTALL A WINDOWS XP).
But what i wanted to do is to try a new way for having Setup files applicable from any where to any where, hence i got the 'MULTIBOOT_USB_10" and i was so happy to play with it on my all labtops, but unfortunately, when i tried to install using Sticks/SD with it, I chocked with the results and i'm trying with all of you to come over that.

#49 User is offline   robekia 

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

Posted 08 November 2009 - 08:09 AM

View Postjaclaz, on Nov 8 2009, 05:03 PM, said:

Well, then WHAT DO YOU THINK the "MULTIBOOT_USB_10.cmd" with option (H) does? :whistle:

jaclaz

I didn't went thru the code for this batch file yet, i'm currently prepare the reply for your Questions and the Questions for cdob along with testing the all possible cases on both (Acer5738 and AsusEee) because they are the only labtops having Built in card reader.

This post has been edited by robekia: 08 November 2009 - 08:11 AM


#50 User is online   jaclaz 

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

Posted 08 November 2009 - 08:35 AM

View Postrobekia, on Nov 8 2009, 03:09 PM, said:

I didn't went thru the code for this batch file yet, i'm currently prepare the reply for your Questions and the Questions for cdob along with testing the all possible cases on both (Acer5738 and AsusEee) because they are the only labtops having Built in card reader.


You don't need to go through the code. :)

I will rephrase once again ;)

Given this:

View Postwimb, on Jan 23 2008, 02:22 PM, said:

....
  • H) - HP USB Disk Storage Format Tool V2.0.6 - NTFS Format - use X_CONTENT
    NTFS Format Supports DOS Boot Floppy Images via GRUB4DOS Menu
    Installing XP from USB takes 16 minutes - Corsair Flash Voyager 4 GB
    Do NOT use the HP Tool for USB-Harddisks having more than 1 Partition
    WARNING - HP Tool Formats whole Disk - Second Partition is Lost


.....


WHAT DO YOU THINK the HP USB Disk Storage Format Tool V2.0.6 does? :whistle:

jaclaz

#51 User is offline   robekia 

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

Posted 08 November 2009 - 09:33 AM

View Postjaclaz, on Nov 8 2009, 05:35 PM, said:

WHAT DO YOU THINK the HP USB Disk Storage Format Tool V2.0.6 does? :whistle:

jaclaz

Nothing more than Format the Stick because if i use Windows format and ignored this step, things will be the same.

#52 User is offline   robekia 

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

Posted 08 November 2009 - 09:57 AM

@ cdob
Which laptop give this result?
Acer5738

Can you run usbHistory.exe at both laptops?
i'm attaching the results
Attached File  usb_history.txt (565bytes)
Number of downloads: 3
for AsusEee, the ParentIdPrefix is : 7&49cb960&0
for Acer5738, still the same as before (No change).

Is this a external USB card device?
this is built in Card reader

Did you used one SD card at two different Card devices?
Yes, the SD card loaded windows setup files and used in Asus then acer5738

Try one migrate.inf for the "AsusEee" and another migrate.inf for the "Acer5738"
I did (got U: in Asus) (got D: in Asus).

Yes, a BIOS update is recommended
i already got that notice from Acer web site and updated my bios since 2 weeks although my labtop's serial number is not a one of the infected labtops.

Which OS do you use at "Acer5738" currently, XP, Vista or other?
ONLY XP.

This post has been edited by robekia: 08 November 2009 - 09:59 AM


#53 User is offline   robekia 

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

Posted 08 November 2009 - 10:19 AM

@jaclaz

i tried your last Batch update, and i got the same ParentIdPrefix which is: 7&d7f206a&0

#54 User is online   cdob 

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

Posted 08 November 2009 - 10:19 AM

Which windows source files do you use? Do you use a OEM verison?

Did you add any custom drivers?
How did you add drivers?
Did you add Realtek Card Reader drivers as textmode drivers?
Did you add Realtek Card Reader drivers as PNP drivers?

Does current XP use Realtek Card Reader drivers?
devcon.exe driverfiles *
http://support.micro....com/kb/311272/

Does a default XP USB massstorage driver support the internal reader?
Does a default XP USB massstorage driver result one ParentIdPrefix?
Does Realtek Card Reader drivers result another ParentIdPrefix?

#55 User is offline   robekia 

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

Posted 08 November 2009 - 10:45 AM

View Postcdob, on Nov 8 2009, 07:19 PM, said:

Which windows source files do you use? Do you use a OEM verison?

Yes

Quote

Did you add any custom drivers?
How did you add drivers?
Did you add Realtek Card Reader drivers as textmode drivers?
Did you add Realtek Card Reader drivers as PNP drivers?

Actually, i expected this question long time ago as i thought something wrong with it but when i used the same setup files with Stick 2 GB, everything went fine.
The Answers:
1- Yes, i used Custom drivers supplied by Acer.
2- I added the drivers by nLite through it's drivers injection function.
3- I'm only adding SATA Drivers as Text mode from nLite
4- Realtek Card Reader drivers added as PNP not Text Mode.

Quote

Does current XP use Realtek Card Reader drivers?
devcon.exe driverfiles *
http://support.micro....com/kb/311272/

attached results.
Attached File  devcon.txt (34.6K)
Number of downloads: 4

Quote

Does a default XP USB massstorage driver support the internal reader?

Yes, i tried Not to install Realtek and windows still see the SD

Quote

Does a default XP USB massstorage driver result one ParentIdPrefix?

Didn't try yet

Quote

Does Realtek Card Reader drivers result another ParentIdPrefix?

I don't know weither Windows is using this driver right now or not.
as i mentioned before Device Manager not listed any Realtek

This post has been edited by robekia: 08 November 2009 - 11:00 AM


#56 User is online   jaclaz 

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

Posted 08 November 2009 - 10:50 AM

View Postrobekia, on Nov 8 2009, 04:33 PM, said:

Nothing more than Format the Stick because if i use Windows format and ignored this step, things will be the same.

Here is the point you are missing. ;)

You can properly format a USB stick ONLY AFTER the HP utility (or other utility) PARTITIONED it at least once.

Quick guide:
  • usually (read ALWAYS) sticks are ONLY formatted (NOT partitioned) as a superfloppy device
  • usually (read ALWAYS) sticks are set as "Removable", thus Windows WON'T partition them
  • once a MBR and a partition table is written to the stick by one of the utilities, Windows will read them and will allow formatting the Volume in the Partition table (as opposed as formatting the whole stick as superfloppy)


jaclaz

#57 User is offline   robekia 

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

Posted 08 November 2009 - 11:13 AM

View Postjaclaz, on Nov 8 2009, 07:50 PM, said:

View Postrobekia, on Nov 8 2009, 04:33 PM, said:

Nothing more than Format the Stick because if i use Windows format and ignored this step, things will be the same.

Here is the point you are missing. ;)

You can properly format a USB stick ONLY AFTER the HP utility (or other utility) PARTITIONED it at least once.

Quick guide:
  • usually (read ALWAYS) sticks are ONLY formatted (NOT partitioned) as a superfloppy device
  • usually (read ALWAYS) sticks are set as "Removable", thus Windows WON'T partition them
  • once a MBR and a partition table is written to the stick by one of the utilities, Windows will read them and will allow formatting the Volume in the Partition table (as opposed as formatting the whole stick as superfloppy)


jaclaz

aaaaaaaaaaaaaah, that's means HP Format Tools Should run FIRST and ONCE then we can deal with the Stick after ward.
So, no need to run it each time i'm running "Multi boot 10"

#58 User is offline   robekia 

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

Posted 08 November 2009 - 11:31 AM

@ cdob

sorry, i run devcon while SD card not in the Reader.
i inserted the SD card and run the devcon again.
here is the correct attachement

Attached File  devcon.txt (35.29K)
Number of downloads: 8

My suggesion:

As jaclaz mentioned, it is something related to Bios
or
it is due to mising some OEM drivers not yet released by Acer for the subject controler through F6

if this is the case, so we are looking for some seniors to develop such drivers or ;) waiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiit
:no: :no: :no:

This post has been edited by robekia: 08 November 2009 - 12:14 PM


#59 User is online   cdob 

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

Posted 08 November 2009 - 02:34 PM

devcon.txt said:

USB\VID_0BDA&PID_0159\20071114173400000
Name: Realtek Card Reader(0159)
Driver installed from c:\windows\inf\oem10.inf [RSUSBSTOR]. 3 file(s) used by driver:
C:\WINDOWS\System32\Drivers\RTS5121.sys
C:\WINDOWS\system32\rts5121.dll
C:\WINDOWS\system32\rts5121icon.dll
A NON windows default driver is used. This driver cause a ParentIdPrefix.
A windows default driver may cause a different ParentIdPrefix. Or the same.
Currently at textmode setup default drivers are used.

Can you confirm: open device manager, change view per connection.
Is the SD card connected to this Realtek Card Reader(0159)?

Can you make another XP installation?
Remove the Realtek Card Reader(0159) driver (rename RTS5121.inf RTS5121.inf.txt). Install XP again.
Which driver and ParentIdPrefix goes now to USB\VID_0BDA&PID_0159 ?

#60 User is online   jaclaz 

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

Posted 09 November 2009 - 03:25 AM

View Postrobekia, on Nov 8 2009, 06:13 PM, said:

aaaaaaaaaaaaaah, that's means HP Format Tools Should run FIRST and ONCE then we can deal with the Stick after ward.
So, no need to run it each time i'm running "Multi boot 10"

Waiter come taste this soup .....
http://www.imdb.com/...98/crazycredits
Aha. Aha! ...

:P

View Postjaclaz, on Nov 8 2009, 11:29 AM, said:

Is the SD card partitioned, right?


robekia_fixed said:

NoYES, i'm just using the "MULTIBOOT_USB_10.cmd" with option (H) to partition and format the whole stick and it boots fine.


;)

jaclaz

P.S.: Attaching migrateinf2txt.cmd version ALPHA 003
It should now be much faster and able to parse also multi-device migrate.inf's, both in the "plain" format MkMigrateinf.cmd does and in the "complex" one MakeMigrateInf.exe create.

Attached File(s)


This post has been edited by jaclaz: 09 November 2009 - 08:09 AM


Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • 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