https://blog.csdn.net/u014692474/article/details/98774668
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Install Kylin Linux Advanced Server V10' --class red --class gnu-linux --class gnu --class os {
linux /images/pxeboot/vmlinuz inst.ks=cdrom:/anaconda-ks.cfg
initrd /images/pxeboot/initrd.img
}
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x\86_64 rd.live.check quiet
linuxefi /images/pxeboot/initrd.img
然后修改红色部分hd:LABEL=CentOS\x207\x20x\86_64为hd:/dev/sd4(你u盘所在) quiet 回车就好
更可以======================================================
menuentry 'Test this media & install CentOS 7' --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet
initrdefi /images/pxeboot/initrd.img
}
将 inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet
修改为 inst.stage2=hd:LABEL=CENTOS_7 rd.live.check quiet
阅读(4539) | 评论(0) | 转发(0) |