Bug in anaconda / kickstart...

Cris Rhea crhea at mayo.edu
Tue Feb 5 10:16:41 CST 2008


On Tue, Feb 05, 2008 at 09:24:56AM -0600, Linux PowerEdge wrote:
> any reason you do not use the existing partitioning mechanisms
> available to the installer?

A variety of reasons... I'm not a big believer in putting everything under
"/" as some distributions do by default, and for simple one-OS-disk systems,
I don't believe in adding the complexity of LVM. 

Using disk druid, partitions are in an order based on size, not the order
requested.  I'd like finer-grained control of what's where...

> i'm currently out of the office but willing to test further later this
> week when i return.  if you want to strip any env specific items from
> your ks.cfg that should not be shared with the outside world and send
> the ks.cfg i'll work off of that.

Thanks... I'd appreciate anything you could do.

Sure... here's a pretty basic KS that will show the problem
(rootpw is in cleartext... mine have them in --isencrypted format):


--------------------------------------------------------
install
url --url ftp://clustersw-212.mayo.edu//CentOS/5/os/x86_64
lang en_US.UTF-8
keyboard us
xconfig --startxonboot
network --device eth0 --onboot yes --bootproto dhcp
network --device eth1 --onboot no --bootproto dhcp
rootpw test1234
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc America/Chicago
bootloader --location=mbr --driveorder=sda --append="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 --drives=sda
part /boot --fstype ext3 --onpart sda1
part /tmp --fstype ext3 --onpart sda9
part /var --fstype ext3 --onpart sda8
part swap --onpart sda6
part /local1 --fstype ext3 --onpart sda10
part /usr --fstype ext3 --onpart sda7
part / --fstype ext3 --onpart sda5

reboot

%packages
@mysql
@development-libs
@editors
@system-tools
@gnome-software-development
@text-internet
@x-software-development
@legacy-network-server
@gnome-desktop
@dialup
@core
@authoring-and-publishing
@base
@ftp-server
@games
@legacy-software-development
@java
@java-development
@emacs
@base-x
@graphics
@web-server
@ruby
@printing
@kde-software-development
@kde-desktop
@mail-server
@development-tools
@graphical-internet
mysql-devel
emacs
audit
mesa-libGLU-devel
telnet-server
rsh-server
device-mapper-multipath
xorg-x11-server-Xnest
xorg-x11-server-Xvfb
kdegraphics
libsane-hpaio
imake
-sysreport

%pre

sfdisk -uM /dev/sda <<EOF
,150,L
,,E
;
;
,512,L
,2048,S
,8000,L
,2048,L
,10000,L
,,L
EOF

--------------------------------------------------------


-- 
 Cristopher J. Rhea                     
 Mayo Clinic - Research Computing Facility
 200 First St SW, Rochester, MN 55905
 crhea at Mayo.EDU
 (507) 284-0587



More information about the Linux-PowerEdge mailing list