?
Solved

Want to make one cd with a bootable WinXP and automatically making partitions.

Posted on 2005-04-14
5
Medium Priority
?
310 Views
Last Modified: 2008-02-01
Hi all,

I am trying to make one cd, with on it a bootable Unattended Windows XP with SP2, but also I want to use the gdisk on it to automatically make 3 partions. (must be NTFS, so I will add an fat32 to NTFS converter into the winnt.sif)

1: I have a script for making the partitions and
2: I can make a bootable Windows XP with SP2 (using Nlite for this)
but how can I add both things on ONE cd.

So when I put the cd in it I want to first create 3 partitions and when that has happened it must automatically start the unattended Windows XP installation.

1: using gdisk to make 3 partitions.
    problem is: how can I make this bootable.
2: getting one cd with both the bootable gdisk and the bootable windows xp.
    problem is: how to make a bootable disk with both on it.
3: getting the gdisk.bat to automatically start the unattended windows XP installation.
    problem: how to create a script that first will run the gdisk and after that redirects to the winnt.exe on the Windows XP.

Gdisk to create the partitions (not yet know how to make it start the Windows XP installation):

gdisk.exe 1 /del /all
gdisk.exe 1 /cre /pri /sz:10240 /for /q
gdisk.exe 1 /cre /ext
gdisk.exe 1 /cre /log /sz: /for /q
gdisk.exe 1 /cre /log /sz:10240 /for /q
gdisk.exe /r

Maybe I can add something here that the script will run this and after that make a .txt file when restarting and then checking if a .txt file is there so it will go to an install section where a script must be to start the Unattended Windows XP.

Hope you guys and/or girls can help me.

thnx alot so far.

regards Pieter
0
Comment
Question by:Seal9
  • 2
3 Comments
 
LVL 21

Accepted Solution

by:
JBlond earned 2000 total points
ID: 13782435
I would use an image of a dos boot disk as a "boot sector" for the CD. (for example the Ultimate boot disk - http://www.startdisk.com/Web1/ubd/ubd.htm)
In nearly every cd burning program you can choose drive A: as the source for the boot sector.

Customize the autoexec.bat of the disk to your needs so it creates the partitions from there and at the end of the file start the setup with the appropriate switches. To make this work you have to know which drive letter your cdrom drive gets.

This links to a dos script to detect the drive letter... http://www.msfn.org/board/index.php?showtopic=9453

Hope that helps...

0
 

Author Comment

by:Seal9
ID: 13841105
Thnx for your help,

I used Barts way to make a bootable cd and now I have

\
|-I386
|-rest of windows dir.
|autorun.bat (customized to my needs)

The gdisk thing worked very good only when Windows XP starts his installation I get errors that he can't copy certain files that are needed. When I try the standalone WinXP cd it gives no errors and when I make the customized cd I get these copy errors.

Allready tried to copy the files from the orignial cd to my cd but still the errors are there.

cyclad-z.inf
cylom-y.inf
utopia~1.wav
utopia~2.wav
utopia~3.wav
utopia~4.wav
sv-262... .png files

those files give the copy errors so I tried to get them from the origninal cd (this cd works) but I still get those errors.

have no idea how to sort this out.

btw my partitions are all FAT32 and I will convert them to NTFS when I am in windows.

I hope anyone can help me :(.

thnx so far
0
 

Author Comment

by:Seal9
ID: 13858789
Ok I fixed the problem above.

Had to set the burning software making the bootable dvd on DOS mode.

So I want to JBlond for responding to my problem, its all fixed now.

thnx alot
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question