The invention discloses a method and
system for partitioning a Kylin V10 hard disk and installing a
graphics card through a PXE network. The method comprises the steps that the computer hard disk capacity is obtained; calculating the capacity of each partition according to different computer properties and databases needing to be installed; carrying out automatic partitioning; a KSCFG file is changed, and a
system starting file is replaced; replacing and starting the login configuration file and executing the command to realize root command line login; carrying out PXE installation; the RC.LOCAL self-execution SH file is utilized to automatically install the independent
graphics card, the login configuration file is replaced and started, a command is executed, and emms
password login is achieved. According to the method, the hard disk can be partitioned and the display card can be automatically installed according to the property of the computer, manual modification is not needed, the
operation time is saved, the method can better adapt to the PCS9000 computer and other
electric power monitoring system computers with many semaphores, the problems caused by the pause time of manual installation are reduced, the installation accuracy is improved, and the installation efficiency is improved. And the method is suitable for the
assembly line of the PXE automatic computer installation workshop.