Jump to content

WinPE repartition Linux Disk?


dau

Recommended Posts

hey @ll,

i need some help here im stuck... how can i repartition a harddrive whats now running linux to a NTFS disk??

im trying with WinPE's WINBOM.INI (factory -winpe)

[DiskConfig]
Disk1 = Disk1.Config

[Disk1.Config]
WipeDisk = Yes
Size1 = 25000
PartitionType1 = Primary
FileSystem1 = NTFS
QuickFormat1 = Yes
SetActive1 = Yes
Size2 = *
PartitionType2 = Extended
FileSystem2 = NTFS
QuickFormat2 = Yes
SetActive2 = Yes

as soon as PE starts i get the error that drive C: cannot be formatet. so how can i solve this prob??

Link to comment
Share on other sites


did you try removing the existing partition first then creating a new partition, then reformatting NTFS?

hey @ll,

i need some help here im stuck... how can i repartition a harddrive whats now running linux to a NTFS disk??

im trying with WinPE's WINBOM.INI (factory -winpe)

[DiskConfig]
Disk1 = Disk1.Config

[Disk1.Config]
WipeDisk = Yes
Size1 = 25000
PartitionType1 = Primary
FileSystem1 = NTFS
QuickFormat1 = Yes
SetActive1 = Yes
Size2 = *
PartitionType2 = Extended
FileSystem2 = NTFS
QuickFormat2 = Yes
SetActive2 = Yes

as soon as PE starts i get the error that drive C: cannot be formatet. so how can i solve this prob??

Link to comment
Share on other sites

did you try removing the existing partition first then creating a new partition, then reformatting NTFS?

well No the whole process has to run fully unattended the server is booting via PXE to the WinPE without any user action so i need to find a way to get rid of the linux partition in WinPE

Link to comment
Share on other sites

did you try removing the existing partition first then creating a new partition, then reformatting NTFS?

well No the whole process has to run fully unattended the server is booting via PXE to the WinPE without any user action so i need to find a way to get rid of the linux partition in WinPE

Running diskpart /s [script]

with the script

select disk 0

clean

will wipe the drive but the problem might be with the MBR..

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...