9.移动isolinux目录到dos分区并且重命名 [root@tomcat1 srv]# cp -a /mnt/iso/isolinux/ /mnt/usb1/syslinux 10.拷贝自动安装读取的文件到dos分区 [root@tomcat1 srv]# cp -a /root/anaconda-ks.cfg /mnt/usb1 11.复制系统ISO文件 [root@tomcat1 srv]# cp -a RHEL4.8-x86_64-AS-DVD.iso /mnt/usb2 12.进去dos分区重命名文件并且编辑 [root@tomcat1 srv]# cd /mnt/usb1/syslinux/ [root@tomcat1 syslinux]# mv isolinux.cfg syslinux.cfg [root@tomcat1 syslinux]# chmod +w syslinux.cfg(原本为只读文件) [root@tomcat1 syslinux]# vi syslinux.cfg 把
图片:32_3710_d0dbfe47a1b5331.jpg
修改为
图片:32_3710_315db8e94a81706.jpg
13.然后修改自动启动的配置文件 [root@tomcat1 syslinux]# cd /mnt/usb1 [root@tomcat1 usb1]# vi anaconda-ks.cfg # Kickstart file automatically generated by anaconda. install harddrive --partition=sdb2 --dir= lang en_US.UTF-8 keyboard us text rootpw 123456 firewall --enabled --port=22:tcp authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc America/New_York bootloader --location=partition --driveorder=sda # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work clearpart --linux part / --fstype ext3 --size=20000 part /var --fstype ext3 --size=20000 part /usr --fstype ext3 --size=20000 part /data --fstype ext3 --size=1 --grow part swap --size=4096 %packages @development-libs @system-tools @core @base @network-server @admin-tools @development-tools audit kexec-tools device-mapper-multipath imake 在windows操作系统操作 1. 从linux服务器上把U盘拔出插在windows上,本文配识别为I盘