Jump to content

Install multiple versions of XP


Aylen

Recommended Posts

Hey guys,

Been a while since I've posted anything. Now I am looking for a little help. Been searching for days on how to do this and I have an idea, but I think I am missing something.

I am trying to install 4 versions of xp (pro, pro corp, home, mce) from grub4dos (v. 0.4.5b) using isos. Below is my menu.lst for my xp installs.

Just a side note... reason I need all 4 versions is I am a goto your home and help you out technician and in store tech.

I have firadisk.img on the root of my usb key. Now the home OEM and pro OEM does start the txt install but the corp and mce does not start. I am using the same code to make it work. I am also going to be adding a few other menu options, such as windows 7 aio (32 &64bit) which works, as well as ubuntu distros, ubcd, which are all working. If you can suggest a way of doing this, I`d greatly appreciate it.

Now just to throw one other issue into the mix... I may have to bypass a hidden recovery partition, so the (hdx) settings would need to be changed.

Now I believe one issue is (correct me if I am wrong) (hd0,0) would be my usb stick as its the current default hdd.

title 1. Install Windows XP Home OEM\nInstall WIN XP Home OEM - Step One
find --set-root /homeoem.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /firadisk.img (fd1)
map --mem (md)0x6000+800 (fd0)
map --mem /homeoem.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xff)

title 1a. Install Windows XP Home OEM\nInstall WIN XP Home OEM - Step Two
find --set-root /homeoem.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /homeoem.iso (0xff)
map --hook
chainloader (hd0)+1

title \n
root

title 2. Install Windows XP Prof OEM\nInstall WIN XP Professional OEM - Step One
find --set-root /profoem.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /firadisk.img (fd1)
map --mem (md)0x6000+800 (fd0)
map --mem /profoem.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xff)

title 2a. Install Windows XP Prof OEM\nInstall WIN XP Professional OEM - Step Two
find --set-root /profoem.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /profoem.iso (0xff)
map --hook
chainloader (hd0)+1

title \n
root

title 3. Install Windows XP Prof Corp\nInstall WIN XP Pro Corp - Step One
find --set-root /profoemcorp.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /firadisk.img (fd1)
map --mem (md)0x6000+800 (fd0)
map --mem /profoemcorp.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xff)

title 3a. Install Windows XP Prof Corp\nInstall WIN XP Pro Corp - Step Two
find --set-root /profoemcorp.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /profoemcorp.iso (0xff)
map --hook
chainloader (hd0)+1

title \n
root

title 4. Install Windows MCE\nInstall WIN XP MCE - Step One
find --set-root /mce.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /firadisk.img (fd1)
map --mem (md)0x6000+800 (fd0)
map --mem /mce.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xff)

title 4a. Install Windows MCE\nInstall WIN XP MCE - Step Two
find --set-root /mce.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /mce.iso (0xff)
map --hook
chainloader (hd0)+1

title \n
root

title 5. Install Windows XP Prof Cor\nInstall My WIN XP - Step One - My copy of XP Pro
find --set-root /mycorpxppro.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /firadisk.img (fd1)
map --mem (md)0x6000+800 (fd0)
map --mem /mycorpxppro.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xff)

title 5a. Install Windows XP Prof Cor\nInstall My WIN XP - Step Two - My copy of XP Pro
find --set-root /mycorpxppro.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /mycorpxppro.iso (0xff)
map --hook
chainloader (hd0)+1

Thank you, Aylen

Edited by ilko_t
Inserted code snippet
Link to comment
Share on other sites


but the corp and mce does not start
Could you shed some light on that? How far does it go? Do you get a BSOD or what? What error code if yes?

Are there differences in winnt.sif between the working and non working ones?

Link to comment
Share on other sites

Thanks ilko_t.

On the corp version, I get error 15

Press any key to continue....

---- which results in restarting the pc and loads back into grub

The working isos, would load into the text setup. the winnt.sif would be slightly different due to the prod version. the discs are original except for my own version.

Link to comment
Share on other sites

That message is from grub4dos. Type the commands manually and report the output after each one:

find --set-root /mycorpxppro.iso
map (hd0) (hd1)
map (hd1) (hd0)
map --mem /firadisk.img (fd1)
map --mem (md)0x6000+800 (fd0)
map --mem /mycorpxppro.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xff)
boot

You get grub4dos command prompt by pressing "c" key. Pay attention to the last command "boot", it's not needed when using menu file but is needed when typing those manually.

Link to comment
Share on other sites

Okay, I made a small mistake and I just noticed. My iso for both files were embedded in a rar archive. Dumb of me not to have noticed. g4d starts to load the iso`s no problem now.

However when I try to launch the setup, I am getting another error. I`ll have to report the findings a little later as its getting late.

I`ll follow up tomorrow.

Link to comment
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.
×
×
  • Create New...