lurezero
asked on
WIndows XP DISKPART
Hello, i want to create this exact hard drive setup. How can i do this using diskpart command line?
Partition ### Type
Partition 1 Extended
Partition 2 Primary
Partition ### Type
Partition 1 Extended
Partition 2 Primary
ASKER
im booting the PC with a winpe CD...but, that wasent my question...again my question was how to create the partitions as i mention above
Check the section "Commands to Manage Basic Disks" from this knowledge base article: http://support.microsoft.com/kb/300415
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i forgot to mention not to give me any links that in the end do not answer my question. I already have these links.
let me rephrase my question.
the command to create a primary partiiton is "create partition primary". well once i input this command, it creates partition 0. i do not want 0 i want 2.
how can i play around with partitions that are not created in the first place with the correct number i am looking for?
let me rephrase my question.
the command to create a primary partiiton is "create partition primary". well once i input this command, it creates partition 0. i do not want 0 i want 2.
how can i play around with partitions that are not created in the first place with the correct number i am looking for?
all i can suggest is that you create a small primary partition as this will be set as 0, and then you create additional partitions how you would like.
As far as i know you cannot change the first partition number.
As far as i know you cannot change the first partition number.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
the real problem i am having, is that i received a PC that was imaged by someone with different sofrware. the partitions were set differently. i captured an image with imagex, then applied it. when i reboot the pc, i get a hardware error problem which i suspect its becuase the C drive was captured on partition 2, thats why its not booting. in other words, the boot,ini file in the image itself is pointing to partition 2. anyways, i will keep trying different ways..
can you not edit the boot.ini file in the image and change it accordingly? or change the boot.ini then re-image the hard drive?
ASKER
i would have to find a way to edit the image offline ...i am not sure how to do that yet...you know how?
its a windows image (.wim)
its a windows image (.wim)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
my hunch was correct, modifying the boot.ini file inside the image fixed the problem..therefore thanks for the link on how to modify images offline...
question, can i also install and remove software to an offline image? what about applying windows updates as well?
question, can i also install and remove software to an offline image? what about applying windows updates as well?
Not as such but you can edit a batch file that gets launched during setup. That's how I used to do it
How do you intend to run DISKPART, after OS install?
Are you using a PXE installer?
You might be better off with FDISK from a bootable disk.