Bump
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Originally posted by lihaixia at 2008-12-27 11:42:
Use GDISK to make an automatic partition, similar to a foolproof one. Here, I want to ask for the batch code for this function. Please ask the experts for advice.
gdisk 1 /del /all
gdisk 1 /cre /pri /sz:12288 /for /q
gdisk 1 /del /all
::(Delete all hard disk partitions).
gdisk 1 /cre /pri /sz:20482 /for /q
::(Create a 20G primary partition)
gdisk 1 /cre /ext
::(Create an extended partition)
gdisk 1 /cre /log /sz:1020407 /for /q
::(Create a 100G logical partition)
gdisk 1 /cre /log /sz:1020407 /for /q
::(Create a 100G logical partition)
gdisk 1 /cre /log /sz:71681 /for /q
:;(Create a 70G logical partition)
gdisk 1 /cre /log /for /q
gdisk 1 disk /R
:;(The computer restarts and prompts to enter the system installation steps)