Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat /opt/tftpboot/grub.cfg
- set default="0"
- function load_video {
- insmod efi_gop
- insmod efi_uga
- insmod video_bochs
- insmod video_cirrus
- insmod all_video
- }
- load_video
- set gfxpayload=keep
- insmod gzio
- insmod part_gpt
- insmod ext2
- set timeout=10
- ### END /etc/grub.d/00_header ###
- search --no-floppy --set=root -l 'CentOS 7 x86_64'
- ### BEGIN /etc/grub.d/10_linux ###
- menuentry 'Install CentOS 7' --class fedora --class gnu-linux --class gnu --class os {
- linuxefi /scientific/71/x86_64/vmlinuz inst.cmdline console=ttyS1 sshd inst.loglevel=debug inst.syslog=mycentrallog.mycompany.ch:1514 inst.ksdevice=link inst.ks=http://mywebserver.mycompany.ch/kickstart/configs/centos71-t3.ks inst.gpt inst.selinux=0 ipv6.disable
- initrdefi /scientific/71/x86_64/initrd.img
- }
- menuentry 'Test this media & install CentOS 7' --class fedora --class gnu-linux --class gnu --class os {
- linuxefi /scientific/71/x86_64/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet
- initrdefi /scientific/71/x86_64/initrd.img
- }
- submenu 'Troubleshooting -->' {
- menuentry 'Install CentOS 7 in basic graphics mode' --class fedora --class gnu-linux --class gnu --class os {
- linuxefi /scientific/71/x86_64/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 xdriver=vesa nomodeset quiet
- initrdefi /scientific/71/x86_64/initrd.img
- }
- menuentry 'Rescue a CentOS system' --class fedora --class gnu-linux --class gnu --class os {
- linuxefi /scientific/71/x86_64/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rescue quiet
- initrdefi /scientific/71/x86_64/initrd.img
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement