PDA

View Full Version : [ubuntu] A question for kickstart.About Package Selection!



kamui0523
August 26th, 2008, 02:33 AM
does anybody familier with the kickstart of ubuntu?
When I open system-config-kickstart and click "Package Selection" tab,I can do nothing for this tab,I mean I cant chooson any packages here.Is this a service that need to pay money just like RHEL?or who can tell me the way to reslove it.thx!

btw,does kickstart for ubuntu cant select nfs method to install?I just found ftp,http,without nfs.

Partyboi2
August 26th, 2008, 03:47 AM
Its a known bug (https://bugs.launchpad.net/ubuntu/+source/system-config-kickstart/+bug/21214), you will need to add the packages manually to your ks.cfg file. So once you get to the package selection part save the file (File>Save File) then open up the file with a text editor and manually add the packages. Make sure you start with %packages then under that list the packages you want to install. eg

%packages
@ ubuntu-desktop
ftp
openssh-server
bsdmainutils
emacs21-common
emacs21-bin-common
libungif4g
xaw3dg
emacs21
emacsen-common
liblockfile1
libapr0
chess
binutils
gcc-4.0
So afterwards the ks.cfg file would look something like:

#Generated by Kickstart Configurator
#platform=x86

#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone America/New_York
#Root password
rootpw --disabled
#Initial user
user karl --fullname "karl" --iscrypted --password $1$tNU2BbnT$VX/2/60.GsgAoM6LEl8qs1
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#System authorization infomation
auth --useshadow --enablemd5
#Firewall configuration
firewall --disabled
#Do not configure the X Window System
skipx
#Package install information
%packages
@ ubuntu-desktop
ftp
openssh-server
bsdmainutils
emacs21-common
emacs21-bin-common
libungif4g
xaw3dg
emacs21
emacsen-common
liblockfile1
libapr0
chess
binutils
gcc-4.0

kamui0523
August 26th, 2008, 05:44 AM
thx for you help,now I know it.
but how can I select a destop to install?like gnome.
once I installed with a ks.cfg but without any packages choosen,I just got a no X window`s system.how can I find which packages name that I need to put them in ks.cfg?In red hat linux system I can know it by "yum grouplist" command.hope your help.