网络安装Red Hat Enterprise Linux 7.0
网络安装RHEL的文档,网络上比较多了。这里主要说的是,在通过网络安装时,7.0和以前的系统相比,需要在APPEND后面通过inst.repo指定安装源,否则会出现如下错误:
dracut-initqueue[530]:mount no media found on /dev/sr0 dracut-initqueue[530]:warning couldn't mount /dev/sr0 dracut-initqueue[530]:warning no suitable image dracut-initqueue[530]:warning could not boot dracut-initqueue[530]:warning /dev/root doesnt not exist.
以前的pxelinux配置如下:
LABEL rhel7u0-x86_64
KERNEL vmlinuz-rhel7u0-x86_64
APPEND initrd=initrd-rhel7u0-x86_64.img
新的pxelinux配置如下:
LABEL rhel7u0-x86_64
KERNEL vmlinuz-rhel7u0-x86_64
APPEND initrd=initrd-rhel7u0-x86_64.img inst.repo=http://192.168.1.2/rhel7u0-x86_64