Linux Related Configuration
to boot the Linux installation, you need to copy the relevant files in the relevant Linuxiso files, mainly the core files (vmlinuz) and the initial memory disk (INITRD.IMG) and Isolinux.cfg configuration file. There are the following differences:
centos5.x(RHEL 5.x,Oracle Linux 5.x)
need to copy the relevant files under Isolinux, installation can add method=hd:sda1:/ path to specify the location of the ISO file, it is important to note that during the installation of the GRUB Be sure to install to the local hard disk MBR(may need to adjust the order of disk recognition, adjust the local hard disk to the front)
centos6.x(RHEL 6.x,Oracle linux6.x)
need to copy the relevant files under the Isolinux and add images under the relevant files, installation needs to find the images directory install.img file, You can either add Askmethod manually in the installation parameters or specify stage2=path to specify the path to install.img, or specify repo=path or Method=path and ensure that the path contains install.img.
Suselinux 10/11
you need to copy the content under/boot/x86_64/loader.
Note: Where to adjust when installing
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/53/8D/wKiom1Rq2Mzj1q3PAAMsG-msIYo448.jpg "style=" float: Left; "title=" Qq20141118132621.png "alt=" Wkiom1rq2mzj1q3paamsg-msiyo448.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/53/8B/wKioL1Rq2UKwZeUxAANwvIh6Bfk557.jpg "style=" float: none; "title=" Qq20141118132712.png "alt=" Wkiol1rq2ukwzeuxaanwvih6bfk557.jpg "/>
Copy the configuration files from the relevant Linux ISO to the relevant directory of the/boot/linux/customization. My catalogue is under the/boot/linux ,
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/53/8D/wKiom1Rq2YHSpLUoAACBjZ2mgpo425.jpg "title=" Qq20141118133018.png "alt=" Wkiom1rq2yhspluoaacbjz2mgpo425.jpg "/>
new/boot/config/linux.cfg Linux master configuration file
include /boot/config/common.cfg #包含公用配置default redhat64x64 #默认菜单项label centos6364 #菜单项menu label Install CentOS 6.3 X86_64 #菜单显示标题kernel /boot/syslinux /vesamenu.c32 #加载图形菜单append /boot/linux/centos63/isolinux.cfg /boot/config/mainmenu.cfg # Load the specific profile menu separatorlabel suse10text help #帮助提示信息, which prompts the path to the ISO file iso path:/iso/linux/ suse1064.isoendtextmenu label install suse enterprise server 10 sp4 x86-64 #显示标题kernel /boot/syslinux/vesamenu.c32 #加载图形菜单append /boot/linux/suse1064/ isolinux.cfg /boot/config/mainmenu.cfg #加载suse配置文件menu separatorlabel Suse11sp3text Helpiso path:/iso/linux/suse11sp364.isoendtextmenu label install suse enterprise server 11 sp3 x86-64kernel /boot/syslinux/vesamenu.c32append /boot/linux/ suse11364/isolinux.cfg #加载具体配置文件menu separatorlabel redhat5432bittext helpiso path:/iso/linux/rh5432.isoendtextmenu label install redhat enterprise server 5.4 32bitkernel /boot/syslinux/ vesamenu.c32append /boot/linux/rh5432/isolinux.cfg /boot/config/mainmenu.cfg #加载具体配置文件menu separatorlabel redhat5464bittext helpiso path:/iso/linux/rh5464.isoendtextmenu label install redhat enterprise server 5.4 64bitkernel /boot/syslinux/ vesamenu.c32config /boot/linux/rh5464/isolinux.cfg /boot/config/mainmenu.cfg #加载具体配置文件menu separatorlabel redhat5864bittext helpiso path:/iso/linux/rh5864.isoendtextmenu label install redhat enterprise server 5.8 64bitkernel /boot/syslinux/ vesamenu.c32config /boot/linux/rh5864/isolinux.cfg /boot/config/mainmenu.cfg #加载具体配置文件menu separatorlabel redhat63x64text helpiso path:/boot/linux/rh6364/rhel6364.iso.install.img path is :/boot/linux/rh6364/ Imagesendtextmenu label install redhat enterprise server 6.3 64bitkernel /boot/syslinux/vesamenu.c32config /boot/linux/rh6364/isolinux.cfg /boot/config/mainmenu.cfg #加载具体配置文件menu separatorlabel redhat64x64text helpiso path:/boot/linux/rh6464/ Rh6464.iso.install.img path is :/boot/linux/rh6464/imagesendtextmenu label install redhat enterprise server 6.4 64bitkernel /boot/syslinux/vesamenu.c32append /boot/linux/rh6464/isolinux.cfg /boot/config/mainmenu.cfg #加载具体配置文件menu separatorlabel redhat65x64text helpiso path:/boot/linux/rh6564/rh6564.iso.install.img path is :/boot/linux/rh6564/imagesendtextmenu label install redhat enterprise server 6.5 64bitkernel /boot/syslinux/vesamenu.c32append /boot/linux/rh6564/isolinux.cfg /boot/config/mainmenu.cfg #加载具体配置文件menu separatorlabel oracle5864bittext helpiso path:/boot/linux/ol5864/ol5864.isoendtextmenu Label install oracle linux 5.8 64bitkernel /boot/syslinux/vesamenu.c32config /boot/linux/ol5864/isolinux.cfg /boot/config/mainmenu.cfg #加载具体配置文件menu separatorlabel oracle64x64text helpiso path:/boot/linux/ol6464/ol6464.iso.install.img path is :/boot/linux/ol6464/imagesendtextmenu label install oracle linux 6.4 64bitkernel /boot/syslinux/vesamenu.c32append /boot/linux/ol6464/isolinux.cfg /boot/config/mainmenu.cfg #加载具体配置文件menu separatorlabel oracle65x64text helpiso path:/boot/linux/ol6564/ Ol6564.iso.install.img path is :/boot/linux/ol6564/imagesendtextmenu label install Oracle Linux 6.5 64bitkernel /boot/syslinux/vesamenu.c32append /boot/linux/ol6564/isolinux.cfg /boot/config/ mainmenu.cfg #加载具体配置文件menu separatorlabel debian564menu hidemenu label install debian 5.04 amd64 kernel /boot/deb564/vmlinuz append vga= normal initrd=/boot/deb564/initrd.gz -- quietmenu separator label debian532menu hidemenu label install debian 5.04 i386 kernel / boot/deb532/vmlinuz append linux load_ramdisk=1 video=vesa:ywrap,mtrr initrd=/ Boot/deb532/initrd.gz -- quiet
Here's one thing in common: basically all Linux ISO or CD launcher are used Isolinux, configuration files are isolinux.cfg. The main differences in the configuration file are Append and config. Append is an additional option, and Config is reloading the boot loader with the new configuration file. I generally use config load at 5.x, it is convenient to enter the options provided by 5.x. The 6.x uses append to load the graphics menu provided by the ISO.
Let's take a look at a representative configuration under a few/boot/linux. (The main content is the original ISO content, we need to change the path according to the circumstances of our copy, if there are special needs, you can add parameters here)
/boot/linux/ol5864/isolinux.cfg
default linux #默认菜单项prompt 1timeout600 #超时时间display/boot/linux/ol5864/boot.msg #一些系统提示的信息F1/boot/linux/ol5864/boot.msgf2/boot/linux/ol5864/options.msgf3/boot/linux/ol5864/ general.msgf4/boot/linux/ol5864/param.msgf5/boot/linux/ol5864/rescue.msglabellinux kernel / boot/linux/ol5864/vmlinuz append linux load_ramdisk=1 initrd=/boot/linux/ol5864/ initrd.imgmethod=hd:sda1:/boot/linux/ol5864/ #method指定iso在U盘的路径labeltext kernel /boot/linux/ol5864/vmlinuz append linux load_ramdisk=1initrd=/boot/linux/ol5864/ initrd.img method=hd:sda1:/boot/linux/ol5864/ text #text指定文本方式安装label ks kernel /boot/linux/ol5864/vmlinuz append ksinitrd=/boot/linux/ol5864/initrd.img method=hd:sda1:/boot/linux/ol5864/ks=hd:sda1:/boot/linux/ol5864/pc.ks ksdevice=eth0 # Automatic installation via Kickstart answer. Labellocal localboot 1labelmemtest86 kernel /boot/linux/ol5864/memtest append -
Note: 5.x Linux if not found in the installation of USB flash drive, you can press F2 load Usbstorage driver. If you want to load additional drivers, you can also add DD to load the installation parameters.
/boot/linux/rh6564/isolinux.cfg
default linux#prompt1timeout600 display/boot/linux/rh6564/boot.msg menubackground /boot/ linux/rh6564/splash.jpg #菜单背景图片menutitle Welcome to Red Hat Enterprise linux 6.5!menucolor border 0 #ffffffff #00000000menucolor sel 7 # ffffffff #ff000000menucolor title 0 #ffffffff #00000000menucolor tabmsg 0 #ffffffff #00000000menucolor unsel 0 #ffffffff #00000000menucolor hotsel 0 #ff000000 #ffffffffmenucolor hotkey 7 #ffffffff #ff000000menucolor scrollbar 0 #ffffffff #00000000 labellinux menu label ^Install or upgrade an existing system kernel /boot/linux/rh6564/vmlinuz append initrd=/boot/linux/rh6564/initrd.img method=hd:LABEL=OEMDRV:/boot/linux/rh6564 labellinuxks menu label ^install or upgrade an existingsystem kickstart menu default kernel /boot/linux/rh6564/vmlinuz append initrd=/boot/linux/ rh6564/initrd.img ks=hd:sda1:/boot/linux/rh6564/pc.ks ksdevice=eth0 #通过kickstart应答自动安装. Labelvesa menu label install system with ^basic video driver kernel /boot/linux/rh6564/vmlinuz append initrd=/boot/linux/rh6564/initrd.img xdriver=vesa nomodesetlabelrescue menu label ^Rescue installed system kernel /boot/linux/rh6564/vmlinuz append initrd=/boot/linux/rh6564/ initrd.img rescuelabellocal menu label boot from ^local drive localboot 0xfffflabelmemtest86 menu label ^memory test kernel /boot/linux/rh6564/memtest append-
Note: The operating system 6.x of the Red Hat system can be loaded with multiple parameters such as ISO, Repo=path,method=path. There are also stage2=imagespath that specify the path to install.img. Alternatively, you can use the USB stick's label to load the USB drive.
/boot/linux/suse11364
defaultlinux#installlabellinux kernel /boot/linux/suse11364/linux #suse的核心是linux append initrd=/boot/linux/suse11364/initrdsplash=silent showopts vga=0x317 install= " Hd:/dev/sda1/iso/linux/suse11sp364.iso " #指定suse的ISO位置 labellinux with drivers Kernel /boot/linux/suse11364/linux append initrd=/boot/linux/suse11364/initrdsplash= Silent showopts vga=0x317 dud=1 install= "Hd:/dev/sda1/iso/linux/suse11sp364.iso" # If you want to load additional drivers, you need to specify dud=1 # repairlabelrepair kernel /boot/linux/suse11364/linux append initrd=/boot/linux/suse11364/initrdsplash=silent repair=1 showopts # Rescuelabelrescue kernel /boot/linux/suse11364/linux append initrd=/boot/linux /suse11364/initrdsplash=silent rescue=1 showopts #mediachecklabel mediachk kernel /boot/linux/suse11364/Linux append initrd=/boot/linux/suse11364/initrdsplash=silent mediacheck=1 showopts # biostestlabelfirmware kernel /boot/linux/suse11364/linux appendinitrd= /boot/linux/suse11364/biostest,/boot/linux/suse11364/initrdsplash=silent install=exec:/bin/run_biostest showopts # memorytestlabelmemtest kernel memtest ui /boot/syslinux/gfxboot.c32/boot/linux/ suse11364/bootlogo /boot/linux/suse11364/messageimplicit 1prompt 1timeout 600
Note: The location of the specified ISO at SUSE installation is Install=path, and the dud=1 parameter is required for additional drivers.
This article is from the "dream come true" blog, please be sure to keep this source http://zhile.blog.51cto.com/9599674/1579036
How to make a universal multi-system installation USB disk six (Linux-related configuration)