Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Rasengan

Is it possible to install XP from USB drive partition 2 or above?

Recommended Posts

ilko_t    3

What about if we map (hd1,1) to (hd1,2) if WIN_SETUP is in (hd1,0) after making hd0 as hd1, so both partitions have the same contents :unsure:

Check in grub4dos prompt where winsetup directory is:

find /WIN_SETUP/XP_MCE_Retail.ISO

use tab to auto complete names.

You would have something like this:

title Install XP MCE Retail

find --set-root /windefault

map --mem /WIN_SETUP/XP_MCE_Retail.ISO (0xff)

map (hd0) (hd1)

map (hd1) (hd0)

map (hd1,1) (hd1,2)

map --hook

root (0xff)

chainloader /I386/SETUPLDR.BIN

if WIN_SETUP directory is found in (hd1,1) or map (hd1,2) (hd1,1), if WIN_SETUP directory is found in (hd1,2).

Share this post


Link to post
Share on other sites
Rasengan    0
What about if we map (hd1,1) to (hd1,2) if WIN_SETUP is in (hd1,0) after making hd0 as hd1, so both partitions have the same contents :unsure:

Check in grub4dos prompt where winsetup directory is:

find /WIN_SETUP/XP_MCE_Retail.ISO

use tab to auto complete names.

You would have something like this:

title Install XP MCE Retail

find --set-root /windefault

map --mem /WIN_SETUP/XP_MCE_Retail.ISO (0xff)

map (hd0) (hd1)

map (hd1) (hd0)

map (hd1,1) (hd1,2)

map --hook

root (0xff)

chainloader /I386/SETUPLDR.BIN

if WIN_SETUP directory is found in (hd1,1) or map (hd1,2) (hd1,1), if WIN_SETUP directory is found in (hd1,2).

find /WIN_SETUP/XP_MCE_Retail.ISO

returned (hd0,1) (When booting a device from my BIOS's Boot Menu (F11), it mostly becomes hd0), yet the files are on partition 2. So, as I thought, the bootloader is ignorant to the presence of the EFI partition, so see's the XP partition first, but XP setup sees it as the second. So, what would be the correct map to use, and do I have to make any changes to txtsetup.sif?

Share this post


Link to post
Share on other sites
ilko_t    3

Try this:

title Install XP MCE Retail
find --set-root /windefault
map --mem /WIN_SETUP/XP_MCE_Retail.ISO (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map (hd1,1) (hd1,2)
map --hook
root (0xff)
chainloader /I386/SETUPLDR.BIN

or this:

title Install XP MCE Retail
find --set-root /windefault
map --mem /WIN_SETUP/XP_MCE_Retail.ISO (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
map (hd1,1) (hd1,2)
map --rehook
root (0xff)
chainloader /I386/SETUPLDR.BIN

txtsetup.sif:

SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(2)
BootDevice="multi(0)disk(0)rdisk(1)partition(2)"

or

SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(1)
BootDevice="multi(0)disk(0)rdisk(1)partition(1)"

or

SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(2)
BootDevice="multi(0)disk(0)rdisk(1)partition(1)"

BootPath and SetupSourcePath are not changed, leave them as they are.

Share this post


Link to post
Share on other sites
Rasengan    0
txtsetup.sif:

SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(2)
BootDevice="multi(0)disk(0)rdisk(1)partition(2)"

biosinfo.inf error code 18

or

SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(1)
BootDevice="multi(0)disk(0)rdisk(1)partition(1)"

biosinfo.inf error code 2

or

SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(2)
BootDevice="multi(0)disk(0)rdisk(1)partition(1)"

biosinfo.inf error 14

That's with the new map commands, and without :(

Share this post


Link to post
Share on other sites
ilko_t    3

:wacko:

title Install XP MCE Retail
find --set-root /windefault
map --mem /WIN_SETUP/XP_MCE_Retail.ISO (0xff)
map (hd0,1) (hd0,2)
map --hook
root (0xff)
chainloader /I386/SETUPLDR.BIN

SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(0)partition(2)
BootDevice="multi(0)disk(0)rdisk(0)partition(2)"

I guess BootPath is correct, right?

Share this post


Link to post
Share on other sites
Rasengan    0
:wacko:

title Install XP MCE Retail
find --set-root /windefault
map --mem /WIN_SETUP/XP_MCE_Retail.ISO (0xff)
map (hd0,1) (hd0,2)
map --hook
root (0xff)
chainloader /I386/SETUPLDR.BIN

SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(0)partition(2)
BootDevice="multi(0)disk(0)rdisk(0)partition(2)"

I guess BootPath is correct, right?

Yes, would you like me to post the SetupData section of the txtsetup.sif file so you can double-check it?

Share this post


Link to post
Share on other sites
Rasengan    0
The one just above, without map (hd0) (hd1) and with rdisk(0) as ARC path.

Sorry, didn't see that, will try it now

Ok, so tried that. No more biosinfo.inf error, it started loading, got to detecting disks for the partition menu, then poof, STOP 0xED again. Below are my current, semi-working menu.lst and txtsetup.sif (from XP Home Retail)

menu.lst

title Install XP Home Retail
find --set-root /windefault
map --mem /WIN_SETUP/XP_Home_SP3.ISO (0xff)
map --hook
root (0xff)
chainloader /I386/SETUPLDR.RTL

title Continue XP setup / Boot first internal hard disk
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
rootnoverify (hd0)
chainloader (hd0)+1

txtsetup.sif

[SetupData]
SetupSourcePath ="\WIN_SETUP\XP_Home_SP3\"
***snip***
SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(0)partition(1)
BootPath="\WIN_SETUP\XP_Home_SP3\I386\"
BootDevice="multi(0)disk(0)rdisk(0)partition(1)"

I'm going to try setting SetupSourceDevice to 2, as at boot time, and in grub4dos, the partition is seen as #1, but in the partition screen when booted from my pen drive instead), it's partition 2

EDIT: Doesn't seem to matter if SetupSourceDevice is 1 or 2, both produce a STOP 0x000000ED error at the partition screen, but I can confirm that BootDevice has to be rdisk(0)partition(1) to work

Edited by Rasengan

Share this post


Link to post
Share on other sites
ilko_t    3

You might be better off using this method:

http://www.msfn.org/board/7-t137714.html

Should get you past all these errors as long as grub4dos finds the ISO file, but I've had no luck with Firadisk and anything but XP 32 bit, MCE should be alright too.

Apparently Setup gets confused about this partitioning and throws those errors. With RAM disk method this will not be relevant, as all needed files are on a virtual CD.

Share this post


Link to post
Share on other sites
Rasengan    0
You might be better off using this method:

http://www.msfn.org/board/7-t137714.html

Should get you past all these errors as long as grub4dos finds the ISO file, but I've had no luck with Firadisk and anything but XP 32 bit, MCE should be alright too.

Apparently Setup gets confused about this partitioning and throws those errors. With RAM disk method this will not be relevant, as all needed files are on a virtual CD.

Hmm, since any system I will be installing on will have 1GB of RAM, and the XP source fiels were stripped down to about 400MB each, would it be more feasible to just map the entire ISO to memory instead, and possibly modifyit slightly to look for the OEM folder for BTS's driverpacks off the USB instead?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×