bbmak Posted February 15, 2007 Share Posted February 15, 2007 (edited) Hi:Just want to contribute back to this forum by sharing my experience of using win ris to deploy linux unattendly. I try to briefly explain my process. I tested it with the Centos 4.4 and VmwareI put the instruction into 3 steps.1. do everything in this guide here. It teaches you how to put the linux boot image into ris, but do not use ftp server to store your linux source file, use http server.http://wiki.cdyne.com/index.php/PXE_Bootin...m_Microsoft_RISNote* I use http server, apache, for the centos source. FTP does not allow unattended setup.I would stop right here and test the installation. If the installation fail, do not go to the 2nd step2. create an answer file, which use the kickstart utility in linux. The file will be save as ks.cfgput this file in the centos source file where you can browse this file via the http browser.You can make your own answer file with the kickstart utility.my ks.cfg as an example#Generated by Kickstart Configurator#platform=x86, AMD64, or Intel EM64T#System languagelang en_US#Language modules to installlangsupport zh_HK zh_CN zh_TW --default=en_US#System keyboardkeyboard us#System mousemouse#Sytem timezonetimezone America/Los_Angeles#Root passwordrootpw --iscrypted $1$8PObVT6A$E/2VfrKjUGdyZ227ko0oI.#Reboot after installationreboot#Install OS instead of upgradeinstall#Use Web installationurl --url http://test.bbmak.com/linux/centos#System bootloader configurationbootloader --location=mbr #Clear the Master Boot Recordzerombr yes#Partition clearing informationclearpart --all --initlabel #Disk partitioning informationpart /boot --fstype ext3 --size 100 --asprimarypart swap --recommendedpart / --fstype ext3 --size 2048 --grow#System authorization infomationauth --useshadow --enablemd5 #Firewall configurationfirewall --disabled #Do not configure XWindowsskipx#Package install information%packages --resolvedeps@ base-x@ gnome-desktop@ editors@ graphical-internet@ office@ sound-and-video@ server-cfg@ smb-server@ legacy-network-server@ development-tools@ gnome-software-development@ legacy-software-development@ admin-tools@ system-tools3. edit the default file in pxelinux.cfg folder to add the url where you put the ks.cfg fileks=http://test.bbmak.com/linux/centos/ks.cfgexample belowdefault linuxprompt 1timeout 20display boot.msgF1 boot.msgF2 options.msgF3 general.msgF4 param.msgF5 rescue.msgF7 snake.msglabel linux kernel vmlinuz append initrd=initrd.img ramdisk_size=8192 ks=http://test.bbmak.com/linux/centos/ks.cfglabel i586 kernel vmlzi586 append initrd=initi586.img ramdisk_size=8192 ks=http://test.bbmak.com/linux/centos/ks.cfglabel text kernel vmlinuz append initrd=initrd.img text ramdisk_size=8192 ks=http://test.bbmak.com/linux/centos/ks.cfglabel expert kernel vmlinuz append expert initrd=initrd.img ramdisk_size=8192 ks=http://test.bbmak.com/linux/centos/ks.cfglabel ks kernel vmlinuz append ks initrd=initrd.img ramdisk_size=8192 ks=http://test.bbmak.com/linux/centos/ks.cfglabel lowres kernel vmlinuz append initrd=initrd.img lowres ramdisk_size=8192 ks=http://test.bbmak.com/linux/centos/ks.cfglabel memtest86 kernel memtest append -Well, this is my simple guide of deploying linux unattendly with win ris. I hope you enjoy it.If anyone who wishes to write a much more detail guide, please do so. I am a lazy person. Do not like to upload screenshots Edited February 18, 2007 by bbmak Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now