[CentOS] need help to build livecd and create success iso file but it hang

Sat Jan 28 04:45:46 UTC 2012
ha do <haloha201 at yahoo.com>

hi all 

sorry my bad english to resend because i am still have problem with it

i finally  know where is the problem and my problem is same with the bud_id: https://bugzilla.redhat.com/show_bug.cgi?id=757818
> 
> ""
> grubby fatal error: unable to find a suitable template
> grubby: doing this would leave no kernel entries. Not
> writing out new config.
> ""
> 


is there  a work around for the bug ???


Thank you


--- On Fri, 1/27/12, ha do <haloha201 at yahoo.com> wrote:

> From: ha do <haloha201 at yahoo.com>
> Subject: Re: [CentOS] need help to build livecd and create success iso file but it hang
> To: centos at centos.org
> Cc: centos-devel at centos.org
> Date: Friday, January 27, 2012, 9:40 PM
> 
> Hi all 
> 
> i finally  know where is the problem
> and my problem is same with the bud_id: https://bugzilla.redhat.com/show_bug.cgi?id=757818
> 
> ""
> grubby fatal error: unable to find a suitable template
> grubby: doing this would leave no kernel entries. Not
> writing out new config.
> ""
> 
> there is a work around
> 
> Thank you
> 
> and my livecd-tools version:
> [root at fedora ~]# rpm -qi livecd-tools
> Name        : livecd-tools
> Epoch       : 1
> Version     : 16.10
> Release     : 1.fc16
> 
> 
> my python-imgcreator version:
> [root at fedora ~]# rpm -qi python-imgcreate
> Name        : python-imgcreate
> Epoch       : 1
> Version     : 16.10
> Release     : 1.fc16
> 
> =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.01.28 09:00:19
> =~=~=~=~=~=~=~=~=~=~=~=
> livecd-creator --config=fedora.ks --fslabel=fedor 
> a-base.
> warning: fontpackages-filesystem-1.44-2.fc15.noarch: Header
> V3 RSA/SHA256 Signature, key ID a82ba4b7: NOKEY
> 
>   Installing: fontpackages-filesystem   
>   ##################### [  1/824] 
> .....
>   Installing: setup         
>              
> ##################### [  2/824] 
> .....
>   Installing: plymouth       
>          
>    ##################### [461/824] 
> Need 'inst' function, try setting
> PLYMOUTH_POPULATE_SOURCE_FUNCTIONS to a file that defines
> it
> 
>   Installing: dracut         
>                
>                
>    [462/824]warning: /etc/dracut.conf created
> as /etc/dracut.conf.rpmnew
> .....
>   Installing: ypbind         
>          
>    ##################### [508/824] 
> Running in chroot, ignoring request.
> ....
>   Installing: lldpad         
>          
>    ##################### [564/824] 
> ln -s '/lib/systemd/system/lldpad.service'
> '/etc/systemd/system/multi-user.target.wants/lldpad.service'
> warning: %post(lldpad-0.9.43-1.fc16.i686) scriptlet failed,
> exit status 1
> .....
>   
>   Installing: fcoe-utils       
>        
>    ##################### [565/824] 
> ln -s '/lib/systemd/system/fcoe.service'
> '/etc/systemd/system/multi-user.target.wants/fcoe.service'
> warning: %post(fcoe-utils-1.0.20-2.fc16.i686) scriptlet
> failed, exit status 1
> ...
>   Installing: mesa-dri-drivers     
>                
>          
>    [566/824]
>  
>   Installing: vconfig         
>            
> ##################### [824/824] 
> grubby fatal error: unable to find a suitable template
> grubby: doing this would leave no kernel entries. Not
> writing out new config.
> 
> Removing password for user root.
> passwd: Success
> Note: Forwarding request to 'systemctl enable
> NetworkManager.service'.
> Note: Forwarding request to 'systemctl disable
> sshd.service'.
> rm
> '/etc/systemd/system/multi-user.target.wants/sshd.service'
> Packages within this LiveCD
> psacct-6.5.5-3.fc16.i686
> .....
> vim-minimal-7.3.315-1.fc16.i686
> /usr/bin/mandb: warning: $PATH not set
> Processing manual pages under /usr/share/man...
> ....
>  98.44% done, estimate finish Fri Jan 27 21:41:45 2012
> Total translation table size: 2048
> Total rockridge attributes bytes: 3072
> Total directory bytes: 8192
> Path table size(bytes): 64
> Max brk space used 1a000
> 218415 extents written (426 MB)
> Inserting md5sum into iso image...
> md5 = 32e80008b9d55795261e00516f772d0d
> Inserting fragment md5sums into iso image...
> fragmd5 =
> a4cafba1613ac6ef812292e5fc6fa23554ab714ad1c99edfe97daec463ce
> frags = 20
> Setting supported flag to 0
> umount:
> /var/tmp/imgcreate-Vxod75/install_root/sys/fs/selinux/load:
> not found
> 
> 
> --- On Fri, 1/27/12, ha do <haloha201 at yahoo.com>
> wrote:
> 
> > From: ha do <haloha201 at yahoo.com>
> > Subject: need help to build livecd and create success
> iso file but it hang
> > To: centos at centos.org
> > Date: Friday, January 27, 2012, 7:23 AM
> > Hi all
> > 
> > my environment:
> >       1/ windows 7 OS system
> >       2/ use virtual box install the host
> > centos system
> > 
> > 
> > i try to make a centos livecd and i follow the step
> > 1/ create  file: vi
> /etc/yum.repos.d/centos-livecd.repo
> > and the content of file:
> > # Name: CentOS LiveCD repository
> > [livecd]
> > name = CentOS $releasever - LiveCD
> > baseurl = http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live
> > enabled=1
> > protect=0
> > gpgkey = http://www.nanotechnologies.qc.ca/propos/linux/RPM-GPG-KEY-PGuay2010
> > 2/ yum install livecd-tools syslinux anaconda-runtime
> > 
> > 3/ create file alochym.ks and content of file:
> > lang en_US.UTF-8
> > keyboard us
> > timezone US/Eastern
> > auth --useshadow --enablemd5
> > selinux --enforcing
> > firewall --disabled
> > repo --name=a-base    --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/os/$basearch
> > repo --name=a-updates --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/updates/$basearch
> > repo --name=a-extras  --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/extras/$basearch
> > repo --name=a-live    --baseurl=http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live
> > %packages
> > bash
> > kernel
> > syslinux
> > passwd
> > policycoreutils
> > chkconfig
> > authconfig
> > rootfiles
> > comps-extras
> > xkeyboard-config
> > openssh
> > 
> > 4/ run command : LANG=C livecd-creator
> > --config=/mnt/alochym.ks --fslabel=CentOS-mini
> > 
> > 5/ download the file CentOS-mini.iso to windows 7
> > 
> > 6/ use virtual box create new virtual machine with
> > CentOS-mini.iso as cdrom
> > 
> > the log of create livecd : http://pastebin.com/Z5BFASXa
> > 
> > the problem is when i use the CentOS-mini.iso with new
> > virtual machine and the virtual manchine hang when
> automatic
> > boot to 0 second
> > 
> > can somebody help me
> > 
> > Thank you
> > 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>