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

Barrow H Kwan bhkwan at thoughtworks.com
Tue Jul 7 14:15:32 UTC 2009


same issue here ( with CentOS 5.2 ). 

Ian,
        do you have a patched version of thincrust?  From what Bryan 
Kearney said, there is a patch for CentOS/RedHat.

thanks

Barrow



From:
Greg Buzzard <gbuzzard at venturiwireless.com>
To:
<thincrust-devel at redhat.com>
Date:
06/26/2009 04:29 PM
Subject:
Re: [Thincrust-devel] applicance-creator on FC10 to create CentOS 5 image



Hi Ian, et.al.,

I?ve created a local repo to provide ace-banners (I also switched the 
CentOS repos in the ?.ks? file to use 5.3, added ace-banners to the ?.ks? 
file, added my local repo to the ?.ks? file and, just FYI, my host is 
FC-11).  The build from appliance-creator seems to work (snippet of the 
last part of console output is shown below).  But, when I try to run it 
with virt-image and connect via virt-viewer, all I see is a ?grub prompt?. 
 Sorry if this is a newbie question, I?m rather new to playing with redhat 
and these kinds of build issues.  What to do next?  Is there some way I 
can mount this virtual disk and see what is going on in the file system? 
The snippet below makes it appear as though the grub install actions 
succeeded.

...last part of output from ?appliance-creator?...

  Installing: ace                          ##################### [145/155] 

  Installing: ace-banners                  ##################### [146/155] 

  Installing: yum-fastestmirror            ##################### [147/155] 

  Installing: acpid                        ##################### [148/155] 

  Installing: dhclient                     ##################### [149/155] 

  Installing: base_appliance               ##################### [150/155] 

  Installing: kernel                       ##################### [151/155] 

  Installing: setools                      ##################### [152/155] 

  Installing: openssh-clients              ##################### [153/155] 

  Installing: openssh-server               ##################### [154/155] 

  Installing: dhcpv6-client                ##################### [155/155] 


Probing devices to guess BIOS drives. This may take a long time.


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the 
possible
   completions of a device/filename.]
grub> device (hd0) /dev/loop4
grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
grub> setup 
--stage2=/var/tmp/imgcreate-XldNQ3/install_root/boot/grub/stage2 
--prefix=/boot/grub  (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not 
fatal)
 Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not 
fatal)
 Running "install 
--stage2=/var/tmp/imgcreate-XldNQ3/install_root/boot/grub/stage2 
/boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/grub.conf "... 
succeeded
Done.
grub> quit
cp: cannot stat `tcsplash.xpm.gz': No such file or directory
ioctl: LOOP_CLR_FD: Device or resource busy
Finished
-----------
Thanks...  Greg_______________________________________________
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/20090707/d4867e31/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/20090707/d4867e31/attachment.bin>


More information about the Thincrust-devel mailing list