[Thincrust-devel] applicance-creator on FC10 to create CentOS 5 image

Barrow H Kwan bhkwan at thoughtworks.com
Fri Jun 19 01:07:19 UTC 2009


I have verified that the raw image created by appliance-creator is not 
working.  When I load the image with virt-image, I got

GRUB Loading stage1.5.
GRUB loading, please wait...
Error 2

Again, I was trying to create CentOS 5 image from FC10 ( since thincrust 
has no support on CentOS/RHEL yet ).

here is my ks file

#version=RHEL5# System authorization information
auth --useshadow --enablemd5
# Firewall configuration
firewall --disabled
# System keyboard
keyboard us
# System language
lang C
# SELinux configuration
selinux --disabled

repo --name=released --baseurl=http://<centos site>/centos/5/os/i386
repo --name=updates --baseurl=http://<centos site>/centos/5/updates/i386

# System services
services  --enabled=network
# System timezone
timezone  US/Central
# Network information
network  --bootproto=dhcp --device=eth0 --onboot=on
# System bootloader configuration
bootloader --location=mbr
# Disk partitioning information
part /  --fstype="ext3" --ondisk=sda --size=4096 

%packages
bash
grub
kernel
system-config-securitylevel-tui
e2fsprogs
passwd
policycoreutils
chkconfig
rootfiles
yum
vim-minimal
acpid
#needed to disable selinux
#lokkit

#Allow for dhcp access
dhclient
iputils

#
# Packages to Remove
#

# no need for kudzu if the hardware doesn't change
-kudzu
-prelink
-setserial
-ed

# Remove the authconfig pieces
-authconfig
-rhpl
-wireless-tools

# Remove the kbd bits
-kbd
-usermode

# these are all kind of overkill but get pulled in by mkinitrd ordering
-mkinitrd
-kpartx
-dmraid
-mdadm
-lvm2
-tar

# selinux toolchain of policycoreutils, libsemanage, ustr
-policycoreutils
-checkpolicy
-selinux-policy*
-libselinux-python
-libselinux

# Things it would be nice to loose
-redhat-logos
-redhat-release-notes




From:
Barrow H Kwan <bhkwan at thoughtworks.com>
To:
thincrust-devel at redhat.com
Date:
06/18/2009 05:32 PM
Subject:
[Thincrust-devel] applicance-creator on FC10 to create CentOS 5 image



anyone have that working?  I have tried to build the image then use the 
thincrust tool to convert the raw image to VMware vmdk file.  When I load 
the image in VMware, it stuck on GRUB with Failed 2.  I am not sure if it 
is the image conversation to vmdk has problem or the image already has 
problem when appliance-creator create it. 

any help will be appreciated 
[attachment "smime.p7s" deleted by Barrow H 
Kwan/Corporate/ThoughtWorks/US] 
_______________________________________________
Thincrust-devel mailing list
Thincrust-devel at redhat.com
https://www.redhat.com/mailman/listinfo/thincrust-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/thincrust-devel/attachments/20090618/989f03af/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2952 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/thincrust-devel/attachments/20090618/989f03af/attachment.bin>


More information about the Thincrust-devel mailing list