Seite 1 von 1

Frage zur Windows 7 setup.py

Verfasst: 20 Nov 2009, 08:21
von mr.quickly
Hallo,

ich habe mal eine Frage bzgl. der setup.py für Windows 7.

Warum steht da vista?:

Code: Alles auswählen

disk.writeMasterBootRecord(system='vista')
Kann ich die 2. Partition nicht mit NTFS anlegen oder bootet der nur von FAT32?:

Code: Alles auswählen

# Create partitions
disk.createPartition(start="0M", end="40500", fs="ntfs")
disk.createPartition(start="40501M", end="100%", fs="fat32", boot=True)

# Create fat32 filesystem on partition
disk.createFilesystem(partition=2, fs="fat32")

# Write Master Boot Record
disk.writeMasterBootRecord(system='vista')

# Write Partition Boot Record
disk.writePartitionBootRecord(partition=2, fsType='fat32nt60')