Automated “ubuntu-12.04.1-server-amd64” OS installation on physical machine
Posted
by
user285336
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user285336
Published on 2014-06-05T04:26:35Z
Indexed on
2014/06/05
9:43 UTC
Read the original article
Hit count: 594
12.04
|partitioning
We are using Physical server and are in process of Automated “ubuntu-12.04.1-server-amd64” OS installation on it.
There are two HDD for OS installation purpose and there are RAID1 relation between them. This setup has been done through BIOS.
The kickstart configuration file looks like this:
#Generated by Kickstart Configurator
#platform=AMD64 or Intel EM64T
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone Asia/Dili
#Root password
rootpw --iscrypted $1$Yl1QJyta$KzIT.kq3i9E5XaiQKcUJn/
#Initial user
user ankit --fullname "Ankit" --iscrypted --password $1$c6Yflpea$pi1QQ59/jgywmGwBv25z3/
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
url --url my_repo_location
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext4 --size 100 --ondisk sda
part / --fstype ext4 --size 10000 --ondisk sda
part /var --fstype ext4 --size 10000 --ondisk sda
part swap --size 1024 --ondisk sdb
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --enabled --trust=eth0 --http --ftp --ssh --telnet --smtp
#X Window System configuration information
xconfig --depth=8 --resolution=640x480 --defaultdesktop=GNOME
But I am getting the below error : No root file system is defined
Please suggest on this. Do we need to do any modification in kickstart configuration file. Any help in this regard will be very helpful for us.
The automated Ubuntu OS installation is successful in Virtual Machine(VM) with the above ks.cfg (kickstart configuration file ) but failing in case of physical machine. Please suggest on this and if possible provide the new ks.cfg file to resolve above problem.
Thanks & Regards, Rajesh Prasad
© Ask Ubuntu or respective owner