UEFI Centos7
UEFI Centos7 7 google windows linux
grub grub2 BIOS UEFI MBR GPT centos6 centos7
1/ centos6.4
2/ centos7.2 BIOS 2T 4T UEFI liveCD
UEFI centos7 4-B 3-B 4-B Fedora Ubuntu
1 T110 600G SAS BIOS centos
2 F11 UEFI ubuntu14
3 sda5 centos
4 Execute a shell in /dev/sda5
5 mount /dev/sda3 /boot/e? ( ESP )
6 vi /etc/resolv.conf nameserver 114.114.114.114
7 yum install e?bootgmr shim grub2-e?
8 /boot/e? EFI/centos/XXXXX grub.cfg grub2-mkcon?g -o /boot/e?/EFI/centos/grub.cfg
9
10 UEFI
centos UEFI
11
12 grub2 more /boot/e?/EFI/centos/grub.cfg
### BEGIN /etc/grub.d/10_linux ###
menuentry 'CentOS Linux (3.10.0-514.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-514.el7.x86_64-advan
ced-24d2ee03-3580-44ea-8d57-95a4c1ea2dc3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-?oppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-e?=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'
f0a3ab93-ceea-4f84-ba19-7545ced00ccc
else
search --no-?oppy --fs-uuid --set=root f0a3ab93-ceea-4f84-
ba19-7545ced00ccc
?
linuxe? /vmlinuz-3.10.0-514.el7.x86_64
root=UUID=24d2ee03-3580-44ea-8d57-95a4c1ea2dc3 ro crashkernel=auto rhgb quiet
initrde? /initramfs-3.10.0-514.el7.x86_64.img
}
menuentry 'CentOS Linux (0-rescue-5a39f276e8194f6bb7bd2f76714e373b) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescu
e-5a39f276e8194f6bb7bd2f76714e373b-
advanced-24d2ee03-3580-44ea-8d57-95a4c1ea2dc3' {
load_video
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-?oppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-e?=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'
f0a3ab93-ceea-4f84-ba19-7545ced00ccc
else
search --no-?oppy --fs-uuid --set=root f0a3ab93-ceea-4f84-
ba19-7545ced00ccc
?
linuxe? /vmlinuz-0-rescue-5a39f276e8194f6bb7bd2f76714e373b
root=UUID=24d2ee03-3580-44ea-8d57-95a4c1ea2dc3 ro crashkernel=auto rhgb quiet
initrde? /initramfs-0-rescue-5a39f276e8194f6bb7bd2f76714e373b.img }
13
[root@localhost ~]# more anaconda-ks.cfg
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Use graphical install
graphical
# Run the Setup Agent on ?rst boot
?rstboot --enable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=em1 --onboot=o? --ipv6=auto --no-activate
network --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $6$kVNJXC22bbK.Uvxl$OHTDQGMGw/DEizFs4./
kb6qxsL9hzsebhHeS7kkOW4FbzN5Y7bhr/
121iueQvvl1bS6PsqUD3dVwcE1bKkUdL/
# System services
services --enabled="chronyd"
# System timezone
timezone America/New_York --isUtc
# System bootloader con?guration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda # Partition clearing information
clearpart --all --initlabel --drives=sda
# Disk partitioning information
part swap --fstype="swap" --ondisk=sda --size=8065
part /boot --fstype="xfs" --ondisk=sda --size=1024
part / --fstype="xfs" --ondisk=sda --size=51200
part /boot/e? --fstype="e?" --ondisk=sda --size=200 --
fsoptions="umask=0077,shortname=winnt"
%packages
@^minimal
@core
chrony
kexec-tools
%end
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
%anaconda
pwpolicy root --minlen=6 --minquality=50 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=50 --notstrict --nochanges --notempty
pwpolicy luks --minlen=6 --minquality=50 --notstrict --nochanges --notempty
%end
@ 413999317@https://www.doczj.com/doc/655047262.html,
聚圣源公主恋人ova夏洛特篇公司起名测试分数线大连链家地产怎么样天官赐福全文免费阅读起店名大全免费名字个人企业公司起名宁姓女孩起名字吗战地风云2饺子馆起店名多多钱包的钱怎样提到微信刘卓辉剑三答题器乔唯一厉夜廷免费阅读小说吴亦凡最新事件进展存折查询弈字起名寓意好吗水产公司起名大全免费版公众号起名字网上八字起名大全垓下照片名字怎么起名字合作社起名大全免费焰娘周易女起名良辰多喜欢为工程机械公司起名字神探夏洛克第二季1起个霸气得网名铁艺旋转楼梯10月10号淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻让美丽中国“从细节出发”清明节放假3天调休1天男孩疑遭霸凌 家长讨说法被踢出群国产伟哥去年销售近13亿网友建议重庆地铁不准乘客携带菜筐雅江山火三名扑火人员牺牲系谣言代拍被何赛飞拿着魔杖追着打月嫂回应掌掴婴儿是在赶虫子山西高速一大巴发生事故 已致13死高中生被打伤下体休学 邯郸通报李梦为奥运任务婉拒WNBA邀请19岁小伙救下5人后溺亡 多方发声王树国3次鞠躬告别西交大师生单亲妈妈陷入热恋 14岁儿子报警315晚会后胖东来又人满为患了倪萍分享减重40斤方法王楚钦登顶三项第一今日春分两大学生合买彩票中奖一人不认账张家界的山上“长”满了韩国人?周杰伦一审败诉网易房客欠租失踪 房东直发愁男子持台球杆殴打2名女店员被抓男子被猫抓伤后确诊“猫抓病”“重生之我在北大当嫡校长”槽头肉企业被曝光前生意红火男孩8年未见母亲被告知被遗忘恒大被罚41.75亿到底怎么缴网友洛杉矶偶遇贾玲杨倩无缘巴黎奥运张立群任西安交通大学校长黑马情侣提车了西双版纳热带植物园回应蜉蝣大爆发妈妈回应孩子在校撞护栏坠楼考生莫言也上北大硕士复试名单了韩国首次吊销离岗医生执照奥巴马现身唐宁街 黑色着装引猜测沈阳一轿车冲入人行道致3死2伤阿根廷将发行1万与2万面值的纸币外国人感慨凌晨的中国很安全男子被流浪猫绊倒 投喂者赔24万手机成瘾是影响睡眠质量重要因素春分“立蛋”成功率更高?胖东来员工每周单休无小长假“开封王婆”爆火:促成四五十对专家建议不必谈骨泥色变浙江一高校内汽车冲撞行人 多人受伤许家印被限制高消费