摘要:
本发明公开了一种龙芯平台的LINUX操作系统安装方法. The present invention discloses a Godson platform LINUX operating system installation method. 该方法包括:生成用于安装待安装LINUX操作系统的初始化文件;将所述待安装LINUX操作系统内核所生成的初始化文件以及系统压缩文件制作成镜像文件;确定所述待安装LINUX操作系统的目标安装分区;将所述待安装LINUX操作系统内核和初始化文件加载至内存中;在启动根据初始化文件和镜像文件中的图形安装程序执行的图形安装时或之后,判断所述目标安装分区是否为第一硬盘分区;若判断结果为否,则将被安装于所述目标安装分区的内核复制至第一硬盘分区并在第一硬盘分区中设置能够加载所述内核的启动配置文件. The method comprising: generating installation to be installed LINUX operating system initialization file is used; the operating system to be installed LINUX kernel initialization file generated by the system and made into a compressed file image file; targeting the LINUX operating system to be installed installation partition; install LINUX operating system kernel and the initialization file to be loaded into memory; then when you start to perform according to the initialization files and image files in the graphical installer or graphical installation, determine the target partition is installed as the first a hard disk partition; if the judgment result is negative, it will be installed on the target installation partition copy the kernel to the first hard disk partition and set the first hard disk partition can be loaded in the kernel boot configuration file. 本发明能够避免在除第一硬盘分区以外的其它硬盘分区安装LINUX操作系统后无法启动新安装的系统. The present invention can be avoided after the other hard disk partition other than the first hard disk partition is installed LINUX operating system can not start the newly installed system.
展开