GDISK


GDISK is een programma om de partities aan te maken op een harde schijf, het is een verbeterde versie van FDISK

!!!! let op na gebruik ben je alle gegevens op de disk kwijt !!!!

te krijgen op site (<-- klik op de url voor de site)


gebruik:

Bekijken van alle commando's en hun switchen (zonder hulp-teksten)
gdisk /? <enter>


Bekijken van alle commando's en hun switchen (met hulp-teksten)

gdisk /? /cre <enter> geeft informatie over /cre opdracht
gdisk /? /del <enter> geeft informatie over /del opdracht
gdisk /? /status<enter> geeft informatie over /status opdracht
gdisk /? /act <enter> geeft informatie over /act opdracht
gdisk /? /hide <enter> geeft informatie over /hide opdracht
gdisk /? /mbr <enter> geeft informatie over /mbr opdracht
gdisk /? /batch<enter> geeft informatie over /batch opdracht


De /mbr switch zorgt ervoor dat de Master-Boot-Record opnieuw gecreerd wordt.

Dit heeft grote gevolgen voor alle informatie op de hard-disk want die worden allemaal ontoegankelijk voor het systeem, dus gebruik deze optie alleen als je:

1e Een geheel nieuw systeem wilt opzetten nadat je een ander soort Operating Systeem hebt gehad op de machine, (bv. Win-NT, Linux, Unix of OS/2).
De eerste drie OS'n hebben de mogelijkheid om een zgn. Multi -Boot te maken op de hard-disk, hiervoor worden er aanpassingen gemaakt in de MBR (vermoedelijk wordt de MBR ook groter gemaakt als standaard gezien de problemen om het te verwijderen met Fdisk)
Om deze zaken weer te corrigeren werkt de Fdisk-programma niet goed.

2e Snel en goed de oude MBR wilt wissen en herstellen.
Met het GDISK programma gaat het wel en ook snel en goed.
gebruik hiervoor:
    gdisk     (dit geeft gegevens over de fysieke harde schijven)
    gdisk n /mbr /wipe  (dit maakt een nieuwe MBR aan en verwijderd de oude)
( de 'n' staat voor het nummer van de schijf die je ziet met commando gdisk <enter> )

Hierna de nieuwe primaire partitie maken & formateren
         gdisk /cre /pri /for             (FAT 32 formaat)
of      gdisk /cre /pri /for /-32     (FAT 16 formaat)


GDISK disk /CRE:  Creates fixed disk partitions and logical drives.

GDISK disk /CRE {/PRI|/EXT|/LOG} [/SZ:{mbytes|pcent%}] [/FOR [/Q] [/V[:label]]] [/-32] [/-CE] [/X] [/Y]
disk The physical fixed disk (1-8).
/CRE Create a DOS partition or logical DOS drive.
/PRI Create a primary DOS partition.
/EXT Create an extended DOS partition.
/LOG Create a logical DOS drive in the extended DOS partition.
/SZ:mbytes Specifies the size of the partition. Default is to create a partition of the largest possible size.
/SZ:pcent% Specifies the size of the partition as a percentage of the disk size.
/FOR Format the new partition once it has been created.
/Q Perform a quick format on the new partition.
/V[:label] Specifies the volume label. Default is no label.
/-32 Ignore large-disk support (FAT32). Limits maximum size of new primary DOS partitions and logical DOS drives to 2048 MB.
/-CE Ignore any free space in the Customer Engineering (CE) cylinder.
/X Ignore extended disk-access support.
/Y Suppress prompting to confirm you wish the action to be performed. /SURE has the same meaning.
/SURE Suppress prompting to confirm you wish the action to be performed. /Y has the same meaning.


GDISK disk /DEL: Deletes fixed disk partitions and logical drives.

GDISK disk /DEL {/PRI[:nth]|/EXT[:nth]|/LOG:nth|/P:partn-no|/ALL} [/X] [/Y]
disk The physical fixed disk (1-8).
/DEL Delete a DOS partition or logical DOS drive.
/PRI[:nth] Delete the 'nth' primary DOS partition (1-n). Default is 1.
/EXT[:nth] Delete the 'nth' extended DOS partition. Default is 1.
/LOG:nth Delete the 'nth' logical DOS drive from the extended DOS partition (1-n).
/P:partn-no Delete any partition. Use /STATUS to select the number of the partition to delete.
/ALL Delete all partitions.
/X Ignore extended disk-access support.
/Y Suppress prompting to confirm you wish the action to be performed. /SURE has the same meaning.

Batchfile om automatisch een systeem aan te maken met 2 partities: instsys.bat


Reacties & suggesties : adjes@startmail.nl


Ad Slijkerman.
Copyright © 2002  Alle rechten voorbehouden.