使用 Cobbler 安裝完系統后, 你們有沒有遇到這樣的情況?
是用 cobbler 安裝完系統后 fdisk
使用其它方式安裝, 就不會出現這種問題. 這個怎麼解決?
anaconda-ks.cfg 文件內容# cat anaconda-ks.cfg
# Kickstart file automatically generated by anaconda.
#version=DEVEL
install
url --url=ftp://192.168.1.207/CentOS-6.5-x86_64/
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --mtu=1500 --bootproto static --ip 192.168.1.253 --netmask 255.255.255.0 --gateway 192.168.1.1 --noipv6 --nameserver 8.8.8.8
rootpw --iscrypted $1$BF1Wr8yl$cx/51xDU19TuNMX41bI.S/
firewall --disabled
authconfig --useshadow --passalgo=sha512
selinux --disabled
timezone Asia/Shanghai
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all
#part /boot --fstype=ext4 --asprimary --size=100
#part / --fstype=ext4 --asprimary --size=6144
#part swap --asprimary --size=1024
repo --name="CentOS" --baseurl=ftp://192.168.1.207/CentOS-6.5-x86_64/ --cost=100
%packages --nobase
@Core
@core
%end
《解決方案》
本帖最後由 thinalai 於 2013-12-22 11:23 編輯
回復 1# TaxKiz
fdisk -cul /dev/sda 貌似CentOS的fdisk命令得這麼加參數
《解決方案》
回復 2# thinalai
我在其他的伺服器上, 直接 fdisk -l 就可以了. 這台伺服器是用 cobbler 安裝的, 其它的都是用U盤引導, 然後網路安裝, 就沒有這樣的問題.
《解決方案》
ks文件,信息粘貼來看看