由于 CentOS 7 安装程序的映像采用了特殊的分区,而截至 2014 年 7 月,大部份 Windows 工具都不能正确地转移,因此利用 USB 存储器开机时会导致不能预知的结果。(暂时)已知不适用的工具包括 unetbootin 和 universal usb installler。已确定能正确运作的有 Fedora LiveUSB Creator、Win32 Disk Imager、Rawrite32 及 dd for Windows。
After applying method of trial and errors I’ve discovered that best tool to transfer ISO to USB key is Win32DiskImager.
Note: Writing ISO image to USB drive overwrites all data on the drive.
Put the path to downloaded ISO image in image file(1), choose USB key drive letter (2) and press write(3).
Now you are ready to boot and install from your USB key.
CentOS 7 minimal ISO下载,安装后以文本方式运行,无X-windows:
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso
修改网卡配置
cat /etc/sysconfig/network-scripts/ifcfg-eno16777728
TYPE=Ethernet
#BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
NAME=xxxx
UUID=d57469c9-ae8e-438a-b008-da4f820fdee4
DEVICE=xxxx
IPADDR=192.168.1.66
NETMASK=255.255.255.0
GATEWAY=192.168.1.118
DNS1=8.8.8.8
DNS2=114.114.114.114
ONBOOT=yes
立即生效
# service network restart
安装 ifconfig netstat
# yum install net-tools
参考:
http://www.sysadminguide.net/how-to-create-bootable-usb-key-for-centos-7-installation/
https://wiki.centos.org/zh/HowTos/InstallFromUSBkey
[
本帖最后由 linda 于 2015-12-1 15:25 编辑 ]