Jump to content











Photo

Install XP from USB AFTER Booting with PE from HDD or USB


  • This topic is locked This topic is locked
316 replies to this topic

#26 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 20 August 2008 - 09:16 AM

That is VERY strange. :whistling:

Delete ALL files from the stick.
Copy to it (in this order):
NTLDR
NTDETECT.COM
BOOT.INI

Try booting from it, you should get to the BOOT.INI choices.

Is it possible that a BOOT.INI copied and pasted from the board is not valid?

Use NOTEPAD, and make sure that you save the file as a "normal" .txt file, ANSI, NOT UTF-8, NOT UNICODE, NOT Big-Endian UNICODE.

jaclaz


It's the same result. Complianting it can't read Boot.ini. I use Windows notepad and verify it was save as ANSI. I guess most likely have to do with the usb drive. At least I got one of them.

Kenneth

#27 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 20 August 2008 - 09:23 AM

magic12kenneth

in usb device section of your bios, change setting from auto to hd.

For example if you use asus p5b
Bios-->Advanced-->USB Configuration-->Legacy USB Support-->USB Mass Storage Device Configuration-->Emulation Type-->Auto
change Auto to Harddisk

ps: "asus p5b" bios is only for help purpose of what you are looking for in bios, if you have diff. motherboard/bios, you should find this in the way it writes in your bios.

:whistling:


Unfortunately my bios doesn't have that option. Thanks for the tip. It will be useful for the future.

Kenneth

#28 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 20 August 2008 - 09:26 AM

It's the same result. Complianting it can't read Boot.ini. I use Windows notepad and verify it was save as ANSI. I guess most likely have to do with the usb drive. At least I got one of them.

Kenneth


Is the PC you are testing with a notebook?

Many notebooks have "strange" BIOSes.

You can try if the "Removable" bit can be flipped.

First thing run against the USB sticks this app:
http://www.boot-land...?showtopic=4661

Post results, I may be able to find the appropriate "Manufacturer's tool".

Of course, should I be able to find it/them. installing the tool(s) and attempting to flip the bit is ENTIRELY at your own risk. :whistling:

jaclaz

#29 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 20 August 2008 - 10:02 AM

Hi All,

I successfully booting LiveXP from USB drive and install Windows XP with the XP source folder located in USB drive.

Next I wanted to learn and see if I can install Windows XP with the XP source folder located in the USB drive but boot off LiveXP from the hard drive. Here is my process of doing it.

1. Boot LiveXP from hard drive.
2. Once in LiveXP, I do a quick format.
3. Run USB_Setup_XP.cmd
4. I select E:\XP3 folder for Windows Source folder. (E: is usb drive)
5. I select C: drive as the target Windows XP installation drive.
6. Type Y to include the migrate.inf
7. I reboot my computer.
8. I select Windows XP setup from the boot menu.
9. While Windows Setup loading for 20 seconds or so I get this error message:

"Insert the CD labled: "Windows XP Professional Service Pack 3 CD" in the cde-rom drive.

Any reasons why I'm getting this?

Kenneth

#30 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 20 August 2008 - 10:04 AM

magic12kenneth

can you write your motherboard model, or notebook model..

#31 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 20 August 2008 - 10:42 AM

"Insert the CD labled: "Windows XP Professional Service Pack 3 CD" in the cde-rom drive.

Any reasons why I'm getting this?


That is typically related to missing "tag files", though they should not be needed if installing from $WIN_NT$.~BT.

Some info about tag files:
http://www.msfn.org/...o-M-t65541.html

jaclaz

#32 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 20 August 2008 - 03:43 PM

9. While Windows Setup loading for 20 seconds or so I get this error message:

"Insert the CD labled: "Windows XP Professional Service Pack 3 CD" in the cde-rom drive.

Any reasons why I'm getting this?

Kenneth

Could it be that you connected your USB-stick after Booting with LiveXP from C-HDD ?

Read Help_USB_XP_Setup.txt

List of Known Errors and Solution

TXT-mode Setup Memory/CD-Error means harddisk nr in SetupSourceDevice is incorrect
This is due to Hardware Configuration Change on Reboot.
Try to disconnect ZIP-drive, Cardreader or use different USB-port.

This can also occur when connecting USB-drive AFTER Booting with PE or XP
XP Setup may fail - due to XP Source Harddisk Number Change on Reboot
In this case Reboot with PE and USB-drive CONNECTED to Reset Harddisk Number
Run USB_XP_SETUP.cmd again to get correct SetupSourceDevice in TXTSETUP.SIF



#33 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 20 August 2008 - 06:27 PM

magic12kenneth

can you write your motherboard model, or notebook model..


The motherboard model is Asus A7N8X-VM. It's n-Force-2 chipset.

Kenneth

#34 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 20 August 2008 - 06:30 PM

Is the PC you are testing with a notebook?

Many notebooks have "strange" BIOSes.

You can try if the "Removable" bit can be flipped.

First thing run against the USB sticks this app:
http://www.boot-land...?showtopic=4661

Post results, I may be able to find the appropriate "Manufacturer's tool".

Of course, should I be able to find it/them. installing the tool(s) and attempting to flip the bit is ENTIRELY at your own risk. :whistling:

jaclaz


It's a desktop with the n-Force-2 chipset. I'll give it try and see what happen.

How does the BIOS determines if it a USB drive is a removable disk or fixed HDD?

Kenneth

#35 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 20 August 2008 - 07:23 PM

..
How does the BIOS determines if it a USB drive is a removable disk or fixed HDD?


Thanks a lot for board info
i checked the manuel, yes there is not an option for that in your bios, i wrote it down to my tips now. :whistling:.

Answer is, by looking size, I am not an expert about usb flash disks but it writes in my bios info tip ;).
For a short solution, try using usb flash disk at least 1gb as you already found out.

#36 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 21 August 2008 - 07:25 AM

Could it be that you connected your USB-stick after Booting with LiveXP from C-HDD ?

Read Help_USB_XP_Setup.txt


Method 1. This time I removed the USB drive before I reboot the computer to start the XP Setup. However, I still get the same error message but after it loads the drivers. The first time, it didn't go that far.

I thought that the migrated.inf will reassign the USB drive to U: So it wouldn't change the drive order after you reboot.

Method 2. I try again installing Windows XP with the source folder from usb drive after booting LiveXP from USB drive. I get the same error message after XP Setup finish loading the drivers. That's strange because it works before.

I use the same Windows XP setup files for the XP Source. The only thing change is that I use the latest version of USB_XP_Setup.exe from August 14. So maybe whatever change you made in the August 11 version as quoted below:

From your change log, u did change something in the August 11 version

Edit: August 11, 2008 - BOOT_IMG.cmd will make GRUB4DOS Boot Entry for Vista in Store C:\Boot\BCD
Some small changes in USB_XP_Setup for making boot.ini and setting SetupSourcePath in TXTSETUP.SIF


Can you provide a link for me to download the previous version that is dated before August 11? So I can test it again.

Thanks.

Kenneth

#37 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 21 August 2008 - 05:23 PM

I use the same Windows XP setup files for the XP Source.

The problem is NOT your XP Source on USB-drive but the value of Harddisk Number (that is NOT the Drive Letter) in SetupSourceDevice in TXTSETUP.SIF on your C-Harddisk which is set by Running USB_XP_Setup.cmd.

Try Again with:
In this case Reboot with PE and USB-drive CONNECTED to Reset Harddisk Number
Run USB_XP_SETUP.cmd again to get correct SetupSourceDevice in TXTSETUP.SIF

#38 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 21 August 2008 - 05:48 PM

The problem is NOT your XP Source on USB-drive but the value of Harddisk Number (that is NOT the Drive Letter) in SetupSourceDevice in TXTSETUP.SIF on your C-Harddisk which is set by Running USB_XP_Setup.cmd.

Try Again with:
In this case Reboot with PE and USB-drive CONNECTED to Reset Harddisk Number
Run USB_XP_SETUP.cmd again to get correct SetupSourceDevice in TXTSETUP.SIF


That didn't do it. I tried several times.

It might have to do with the latest version of USB_XP_Setup that you modify the USB_XP_Setup. Can you provide the previous version so I can verify if this also happens with the previous version that works for me?

Because I didn't have that issue when I first install it from USB drive booting LiveXP from USb drive.

Kenneth

#39 ilko

ilko

    Silver Member

  • Advanced user
  • 500 posts
  •  
    Bulgaria

Posted 21 August 2008 - 08:45 PM

Check for the correct entries in [data] section in winnt.sif- msdosinitiated and floppyless...The error may come from there too.

#40 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 22 August 2008 - 04:15 AM

It might have to do with the latest version of USB_XP_Setup that you modify the USB_XP_Setup. Can you provide the previous version so I can verify if this also happens with the previous version that works for me?

Because I didn't have that issue when I first install it from USB drive booting LiveXP from USb drive.


Previous Version Download USB_XP_Setup_11aug8

@ilko
msdosinitiated and floppyless are set to 0 by USB_XP_Setup for winnt.sif in $WIN_NT$.~BT folder on Install Drive, but If this file is Changed Afterwards then these values can be wrong ......

#41 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 22 August 2008 - 07:04 AM

Previous Version Download USB_XP_Setup_11aug8

@ilko
msdosinitiated and floppyless are set to 0 by USB_XP_Setup for winnt.sif in $WIN_NT$.~BT folder on Install Drive, but If this file is Changed Afterwards then these values can be wrong ......


When I run USB_XP_Setup.cmd in LiveXP, I get this warning message at the end:

"WARNING - Harddisk and Partition Number of XP Source Drive were NOT Found
SetupSourceDevice in TXTSETUP.SIF File could not be set for HDD
XP Setup may fail - Manually Change values in SetupSourceDevice TXTSETUP.SIF"


This is what I have for the [SETUPDATA] in the TXTSETUP.SIF.

[SetupData]
SetupSourcePath = "\"
MajorVersion = 5
MinorVersion = 1
DefaultPath=\WINDOWS


In the WINNT.SIF, I have this values:

[Data]
MsDosInitiated=0
floppyless=0


If there are any other debug information you need, let me know.

This is very strange. It works fine when I was writing the tutorial with the August 11 version.

Thanks wimb. I will try it tomorrow with the older version and let you know.

Kenneth

#42 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 22 August 2008 - 09:18 AM

**** NEW Release USB_XP_Setup - Version 2.0 ****

Make_USB.cmd copies USB_XP_Setup folder to USB-Drive
Make_USB.cmd can Install PE BootSDI.img file on USB-Drive and on C-Harddisk Install-Drive
Make_USB.cmd Supports to make MultiBoot USB-Drive

Multiple XP Source on USB-Drive e.g. Home + Prof + Tablet PC + Media Center Edition
is Supported by Running Make_USB.cmd several times.

Multiple PE RAMBOOT e.g. LiveXP + BartPE + UBCD4WIN is Supported
by Running Make_USB.cmd several times.

BOOT_IMG.cmd is only needed if you want to Create New PE Boot Image File
OR if you if you don't need to Make an USB-Drive, but just want to
Copy WinBuilder LiveXP BootSDI.img Image file to C-HDD or USB-Drive and want
to make Entry for boot.ini Menu and GRUB4DOS menu.lst for Booting with PE from RAMDISK

See Post #1

#43 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 August 2008 - 04:16 AM

When I run USB_XP_Setup.cmd in LiveXP, I get this warning message at the end:

"WARNING - Harddisk and Partition Number of XP Source Drive were NOT Found
SetupSourceDevice in TXTSETUP.SIF File could not be set for HDD
XP Setup may fail - Manually Change values in SetupSourceDevice TXTSETUP.SIF"

Your USB-stick is NOT seen as Harddisk due to wrong BIOS Setting.

Change your BIOS Setting OR use other USB-stick that is seen by BIOS as harddisk.

Reboot with LiveXP from HDD and Run USB_XP_Setup.cmd AGAIN.

#44 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 23 August 2008 - 08:55 AM

Your USB-stick is NOT seen as Harddisk due to wrong BIOS Setting.

Change your BIOS Setting OR use other USB-stick that is seen by BIOS as harddisk.

Reboot with LiveXP from HDD and Run USB_XP_Setup.cmd AGAIN.


Method 1: Boot and Install from USB drive
Method 2: Boot and Install from C: Hard drive

That's very strange. It works fine the first time when I use it for writing the tutorial.

Now I use both methods and it doesn't work at all.

As you might know from my previous posts here, the only working USB stick that can boot LiveXP is my 1G USB stick because my BIOS see it as USB hard drive. I didn't change any setting in my BIOS.

I also tried the Aug11 version and it's the same. I even reset the BIOS to default.

Method 2 should work since it is a regular hard drive. It shouldn't try to verify if it is a usb hard drive or not.

This can be confusing.

In the Disk Management, USB flash drive is labeled as Removable below the drive icon. But in my BIOS see it as USB hard drive because when I select my boot sequence I can only either select my regular hard drive or my usb flash drive as boot device for hard drive.

Oh well... Maybe I guess my only option is to manually edit textsetup.sif. Can you give me the code on what I need to edit for both methods?

Thanks again.

Kenneth

#45 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 August 2008 - 09:27 AM

Oh well... Maybe I guess my only option is to manually edit textsetup.sif. Can you give me the code on what I need to edit. One for the XP source on USB drive and the other one for XP source on partition 1 C: hard drive. Do I need to change the TEXTSETUP.TIF in root C: and C:\$WIN_NT$.~BT?

Connect your USB-stick, then Boot with LiveXP from HDD.

Use Disk Manager to determine harddisk nr of your USB-stick.
If your USB-stick is NOT visible in Disk Manager then your USB-stick is NOT seen as Harddisk
and your problem cannot be solved this way.

Otherwise:
Open C:\TXTSETUP.SIF in notepad.
Search for SetupSource and edit according to

[SetupData]
SetupSourcePath = "\XPPRO\"
SetupSourceDevice = \device\harddisk1\partition1

where you use for XPPRO your XP Source folder name and
for harddisk1 your harddisk nr of your XP Source.

Save TXTSETUP.SIF and Copy TXTSETUP.SIF of Root to C:\$WIN_NT$.~BT

#46 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 23 August 2008 - 10:46 AM

Connect your USB-stick, then Boot with LiveXP from HDD.

Use Disk Manager to determine harddisk nr of your USB-stick.
If your USB-stick is NOT visible in Disk Manager then your USB-stick is NOT seen as Harddisk
and your problem cannot be solved this way.

Otherwise:
Open C:\TXTSETUP.SIF in notepad.
Search for SetupSource and edit according to

[SetupData]
SetupSourcePath = "\XPPRO\"
SetupSourceDevice = \device\harddisk1\partition1

where you use for XPPRO your XP Source folder name and
for harddisk1 your harddisk nr of your XP Source.

Save TXTSETUP.SIF and Copy TXTSETUP.SIF of Root to C:\$WIN_NT$.~BT


I'll give it try.

But I still don't understand why I'm getting this error message if I boot LiveXP from hard drive with the XP source on C: (partition 1) hard drive. I don't have my USB drive inserted. I only have one hard drive with two partitions in the computer. The XP source folder is on Partion 1 called XP.

I'm trying to understand why it doesn't detect it. If it doesn't detect it, then USB_SETUP_XP.cmd shouldn't be able to see and copy the files from my C:\XP folder to create the boot folder.

Kenneth

#47 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 August 2008 - 05:25 PM

I'll give it try.

But I still don't understand why I'm getting this error message if I boot LiveXP from hard drive with the XP source on C: (partition 1) hard drive. I don't have my USB drive inserted. I only have one hard drive with two partitions in the computer. The XP source folder is on Partion 1 called XP.

I'm trying to understand why it doesn't detect it. If it doesn't detect it, then USB_SETUP_XP.cmd shouldn't be able to see and copy the files from my C:\XP folder to create the boot folder.

Kenneth

What value is the harddisk number with C-drive as visible in Disk Manager ?

What is written in TXTSETUP.SIF in Root of C-drive after Running USB_XP_Setup.cmd
instead of:

[SetupData]
SetupSourcePath = "\XPPRO\"
SetupSourceDevice = \device\harddisk1\partition1

Can you possibly supply an image of your Disk Manager window ?

Can you give as Attachment your file USB_XP_Setup\makebt\dplist.txt AFTER Reboot with LiveXP and running USB_XP_Setup.cmd.

The file USB_XP_Setup\makebt\dplist.txt is produced by MBRWiz.exe and is used to determine the harddisk number of your XP Source Drive.

You can check if MBRWiz.exe is doing its work well by:
- Open Command Window at USB_XP_Setup\makebt folder
- Run the command: MBRWiz /list

#48 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 24 August 2008 - 07:04 AM

What value is the harddisk number with C-drive as visible in Disk Manager ?

What is written in TXTSETUP.SIF in Root of C-drive after Running USB_XP_Setup.cmd
instead of:

[SetupData]
SetupSourcePath = "\XPPRO\"
SetupSourceDevice = \device\harddisk1\partition1

Can you possibly supply an image of your Disk Manager window ?

Can you give as Attachment your file USB_XP_Setup\makebt\dplist.txt AFTER Reboot with LiveXP and running USB_XP_Setup.cmd.

The file USB_XP_Setup\makebt\dplist.txt is produced by MBRWiz.exe and is used to determine the harddisk number of your XP Source Drive.

You can check if MBRWiz.exe is doing its work well by:
- Open Command Window at USB_XP_Setup\makebt folder
- Run the command: MBRWiz /list


What value is the harddisk number with C-drive as visible in Disk Manager?

As far I remember, the value of my hard drive see by Disk Manager is disk 0 with partition 1 and partition 2.


What is written in TXTSETUP.SIF in Root of C-drive after Running USB_XP_Setup.cmd

[SetupData]
SetupSourcePath = "\"
Major....


Can you possibly supply an image of your Disk Manager window?

I use WinBuilder 0.95 Beta 4 with the minium version. When you supply an image of your disk Manager window, do you mean a screenshoot? If so, I will have to install a snapshoot tool.

I will have to do it again to get the other information you need. I'll let you know tomorrow.

I did manually edit the textsetup.tif with disk0 and partition 1. Everything works.

Kenneth

#49 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 24 August 2008 - 07:41 AM

Can you possibly supply an image of your Disk Manager window?

I use WinBuilder 0.95 Beta 4 with the minium version. When you supply an image of your disk Manager window, do you mean a screenshoot? If so, I will have to install a snapshoot tool.

I will have to do it again to get the other information you need. I'll let you know tomorrow.

I did manually edit the textsetup.tif with disk0 and partition 1. Everything works.

Kenneth

Nice to hear that Manual Edit did work for you.
But now we have to find out why USB_XP_Setup.cmd with MBRWiz.exe did not work for you.

The dplist.txt file will give a lot of info for me and is may be sufficient.

The screenshot of Disk Manager is obtained by pressing [Alt][PrintScrn]
and then Paste the Clipboard in IrfanView or Paint.

So in LiveXP R-mouse on This Computer > Computer Management > Disk Manager
Enlarge Screen till you see all Disks and Press [Alt][PrintScrn]

You need an image program like IrfanView or Paint (launch from somewhere)
and use Paste to copy the Clipboard.
Then Save your Disk Manager Screenshot as JPG filetype.

But for now the dplist.txt will be already sufficient.

#50 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 24 August 2008 - 09:08 AM

Nice to hear that Manual Edit did work for you.
But now we have to find out why USB_XP_Setup.cmd with MBRWiz.exe did not work for you.

The dplist.txt file will give a lot of info for me and is may be sufficient.

The screenshot of Disk Manager is obtained by pressing [Alt][PrintScrn]
and then Paste the Clipboard in IrfanView or Paint.

So in LiveXP R-mouse on This Computer > Computer Management > Disk Manager
Enlarge Screen till you see all Disks and Press [Alt][PrintScrn]

You need an image program like IrfanView or Paint (launch from somewhere)
and use Paste to copy the Clipboard.
Then Save your Disk Manager Screenshot as JPG filetype.

But for now the dplist.txt will be already sufficient.


Here is the dplist.txt that you requested. I didn't disconnect my 2nd hard drive (disk 1) this time.

Disk 0 is the hard drive with two partitions
Disk 1 is the hard drive with one partition
Disk 2 is the USB drive

I couldn't take a screenshot because I didn't install any graphic viewer installed with LiveXP. However, I verify that it is the same as it is shown in Disk Manager.

Kenneth

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users