David wrote:
>
>
> Hi Paul,
>
> Thank you very much for your reply, and the time and trouble to give the
> info.
>
> The laptop does not have a floppy, but I do have a copy of Hirens boot
> disc that can boot into "mini XP", but I would need to burn an ISO of
> that to the new hard drive somewhere ?
>
> Thanks again , and seasons greetings
>
>
> David
Well, you understand the requirements now. Something has to go on the
end of the disk, to function as the "Install OS" while the installer
is running. Normally, that would come from the WinXP installer CD and
its boot environment (CD based). In this example, I show "FreeDOS" as
a solution, but I have no first hand experience with FreeDOS.
+----------------------------+----------------------------+---------------+
|C: for WinXP (min 1.5GB) |D: for CD content (>700MB) |FreeDOS FAT16? |
|Format FAT32 for DOS access |Format FAT32 for DOS access |Install OS |
+----------------------------+----------------------------+---------------+
This looks very scary, so ignore for now. Don't get bogged down in
the details quite yet.
http://sourceforge.net/apps/mediawiki/freedos/index.php?title=Install
Have a look at the download site.
http://www.freedos.org/freedos/files/
There is a fdbasecd.iso . I expect that's how you
transfer freedos to a hard drive, but I'm not sure.
Your steps would be something like:
1) Use a separate PC. Disconnect the regular hard drives for safety.
Connect the laptop drive. Leave the optical drive connected. Total
of two devices connected. This will prevent the FreeDOS CD from damaging
anything else.
2) Boot a Linux LiveCD, and prepare the three partitions shown. You
could try GParted as a LiveCD, which is smaller and pretty limited.
I don't know if it would do a good job for this project.
3) Copy at least the WinXP installer CD into D:, including at minimum,
the i386 folder and the 5000 files. If you're using a Linux LiveCD,
it's possible to transfer the entire CD into RAM (TORAM=yes for Ubuntu),
and then the CD drive can be emptied so you can fit other CDs into it.
4) Boot the fdbasecd.iso, install FreeDOS into the last partition.
5) Verify the disk boots to FreeDOS prompt in the "build" computer.
6) Move the hard drive back to the laptop, and attempt to boot FreeDOS
there.
7) Use "D:", "cd i386", then run the ntsetup command (which ever one
of the two will work), and start the install to C:. If the FreeDOS
drive lettering is screwed up, it'll only take a few checks like
"E:" and "dir" to figure out which partition contains the WinXP CD
contents.
8) The first stage of install, will destroy the ability to boot FreeDOS
again. On the next reboot (half way through the install), you'll be
booting the prototype C: and the install will finish. If something
fouls up at this point, and you want to start over again, you'll
have to reinstall FreeDOS (to fix the MBR).
Note: I don't know if FreeDOS has any restrictions on how far out
on the disk it can be, and still boot. Years ago, there were CHS geometry
based restrictions, that prevented booting above 8GB (or some lesser
number).
The reason I've picked a particular order for the partitions, is
so when the WinXP install commences, you actually end up with
C: being the Windows partition. If you use some other partition
order, then the WinXP drive letter could end up D: or E:. I got that
wrong when I did it, and my first attempt ended up with WinXP
being on letter D:. So I had to do it over again.
So that is an example of the approach I'd attempt, but I have
no idea how hard this is going to be to set up.
*******
You never know, there might be some other technique for properly staging
files into C:, effectively doing the first copy stage instead of
letting the WinXP CD do it. Have a look around. The tricky part,
is the WinXP installer writes the MBR and sets the boot flag, so
the next time it boots, it's ready to go.
When I did my "bit of fun", it took an entire day of work
to complete the project. So don't expect this effort to be
a ten minute job. You'll need some tools and a good CD
collection (Linux LiveCDs or whatever), to prep things.
To get a Linux LiveCD to run from RAM, you need a machine with
around 1.5GB minimum RAM. That leaves 700MB of RAM to store the
CD, plus some RAM for the runtime environment. I boot LiveCDs into
RAM, if I expect to be running the OS for more than a few hours
that way. It saves wear and tear on the CD drive. On Ubuntu,
the kernel boot line has the "quiet" thing on the end of the
line removed, and then you can put TORAM=yes there. It takes
about three minutes to boot that way, while the entire 700MB
CD is transferred to RAM. The only LiveCD where that isn't
practical, is my Knoppix DVD which is over 3GB in size. That
would take too much RAM to store entirely. But the other LiveCDs are
small enough to do that. I even use that technique, when scanning
my computer with a Kaspersky scanning CD, boot to RAM so I can
pop out the CD, and the scan can proceed quietly without the
noise of CD grindage.
If your "build" machine has two optical drives, you don't need
any "TORAM" stuff. You can boot the LiveCD in one optical drive,
install the WinXP CD in the second optical drive, and copy the
files over into the target (laptop) hard drive.
HTH,
Paul