View Issue Details

IDProjectCategoryView StatusLast Update
0003738CentOS-5-OTHERpublic2010-11-15 20:40
Reporterpigmon Assigned To 
Status acknowledgedResolutionwon't fix 
Product Version5.2 
Summary0003738: livecd-tools mksquashfs error
Descriptionlivecd-creator says error.
"Error creating Live CD : mksquashfs exited with error (1)"

in case fo changing stdout, livecd-creator says error.

i tried like below

LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=withRedirect_log > log.withRedirect_log
===> error <===

LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=withRedirect_stdout 2>&1
===> success <===

LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=withRedirect_stdErroutTofile 2>log.withRedirect_stdErroutTofile
===> success <===

I use kickstart configuration file provided by centos livecd project site.

Both success iso image files can boot on vmware server1.0.6 logical machine.

My environment and livecd-creator's stdout messages written in attached files.
TagsNo tags attached.


2009-07-17 07:32


livecd_report.txt (5,406 bytes)   
[root@hp test]# uname -a
Linux hp #1 SMP Mon May 11 07:04:55 EDT 2009 i686 i686 i386 GNU/Linux
[root@hp test]# rpm -qi squashfs-tools
Name        : squashfs-tools               Relocations: (not relocatable)
Version     : 3.0                               Vendor: CentOS
Release     : 4                             Build Date: Sun 07 Jan 2007 03:39:36 AM JST
Install Date: Thu 11 Jun 2009 04:10:52 PM JST      Build Host:
Group       : System Environment/Base       Source RPM: squashfs-tools-3.0-4.src.rpm
Size        : 160923                           License: GPL
Signature   : DSA/SHA1, Wed 04 Apr 2007 09:27:44 AM JST, Key ID a8a447dce8562897
URL         :
Summary     : squashfs utilities
Description :
Squashfs is a highly compressed read-only filesystem for Linux.  This package
contains the utilities for manipulating squashfs filesystems.
[root@hp test]# rpm -qi livecd-tools
Name        : livecd-tools                 Relocations: (not relocatable)
Version     : 013                               Vendor: (none)
Release     : 9                             Build Date: Tue 07 Apr 2009 11:37:08 PM JST
Install Date: Wed 08 Jul 2009 04:26:45 PM JST      Build Host: localhost.localdomain
Group       : System Environment/Base       Source RPM: livecd-tools-013-9.src.rpm
Size        : 167228                           License: GPL
Signature   : DSA/SHA1, Wed 08 Apr 2009 02:28:06 AM JST, Key ID 8c25f8d2fabea322
Packager    : Patrice Guay
URL         :
Summary     : Tools for building live CD's
Description :
Tools for generating live CD's on Fedora based systems including
derived distributions such as RHEL, CentOS and others. See for more details.
[root@hp test]#
[root@hp test]# ls
centos-livecd-minimal.ks  noRedirect.iso
[root@hp test]# LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=withRedirect_log > log.withRedirect_log
mke2fs 1.39 (29-May-2006)
warning: setup-2.5.58-4.el5: Header V3 DSA signature: NOKEY, key ID e8562897
/var/tmp/rpm-tmp.98178: line 6: cat: command not found
/var/tmp/rpm-tmp.98178: line 7: rm: command not found
/var/tmp/rpm-tmp.98178: line 22: install: command not found
/var/tmp/rpm-tmp.98178: line 25: install: command not found
error: %post(pam- scriptlet failed, exit status 127
warning: syslinux-3.36-4.2: Header V3 DSA signature: NOKEY, key ID fabea322
e2fsck 1.39 (29-May-2006)
Installation target minimized to 560268K
resize2fs 1.39 (29-May-2006)
genMinInstDelta data length is 2208 512 byte sectors
/sbin/mksquashfs: invalid option

SYNTAX:/sbin/mksquashfs source1 source2 ...  dest [options] [-e list of exclude

Options are
-version                print version, licence and copyright message
-info                   print files written to filesystem
-b <block_size>         set data block to <block_size>.  Default 65536 bytes
-noI                    do not compress inode table
-noD                    do not compress data blocks
-noF                    do not compress fragment blocks
-no-fragments           do not use fragments
-always-use-fragments   use fragment blocks for files larger than block size
-no-duplicates          do not perform duplicate checking
-noappend               do not append to existing filesystem
-keep-as-directory      if one source directory is specified, create a root
                        directory containing that directory, rather than the
                        contents of the directory
-root-becomes <name>    when appending source files/directories, make the
                        original root become a subdirectory in the new root
                        called <name>, rather than adding the new source items
                        to the original root
-all-root               make all files owned by root
-force-uid uid          set all file uids to uid
-force-gid gid          set all file gids to gid
-le                     create a little endian filesystem
-be                     create a big endian filesystem
-nopad                  do not pad filesystem to a multiple of 4K
-check_data             add checkdata for greater filesystem checks
-root-owned             alternative name for -all-root
-noInodeCompression     alternative name for -noI
-noDataCompression      alternative name for -noD
-noFragmentCompression  alternative name for -noF
-sort <sort_file>       sort files according to priorities in <sort_file>.  One
                        file or dir with priority per line.  Priority -32768 to
                        32767, default priority 0
-ef <exclude_file>      list of exclude dirs/files.  One per line
Error creating Live CD : mksquashfs exited with error (1)
[root@hp test]#
[root@hp test]# pwd
[root@hp test]# ls -lh
total 359M
-rw-r--r-- 1 root root  837 Jul 17 14:18 centos-livecd-minimal.ks
-rw-r--r-- 1 root root  21K Jul 17 15:03 log.withRedirect_log
-rw-r--r-- 1 root root 1.5K Jul 17 15:51 log.withRedirect_stdErroutTofile
-rw-r--r-- 1 root root 120M Jul 17 14:38 noRedirect.iso
-rw-r--r-- 1 root root 120M Jul 17 15:51 withRedirect_stdErroutTofile.iso
-rw-r--r-- 1 root root 120M Jul 17 15:24 withRedirect_stdout.iso
[root@hp test]#
livecd_report.txt (5,406 bytes)   


2009-08-21 23:00

reporter   ~0009787

I reproduced the behavior


2010-11-15 20:39

reporter   ~0012058

won't fix


2010-11-15 20:39

reporter   ~0012059

won't fix


2010-11-15 20:40

reporter   ~0012060

won't fix

Issue History

Date Modified Username Field Change
2009-07-17 07:32 pigmon New Issue
2009-07-17 07:32 pigmon File Added: livecd_report.txt
2009-07-23 06:33 pigmon Status new => assigned
2009-08-01 03:17 pigmon Status assigned => feedback
2009-08-01 03:18 pigmon Status feedback => assigned
2009-08-21 23:00 isotrope Note Added: 0009787
2009-08-22 23:36 isotrope Status assigned => acknowledged
2010-11-15 20:39 isotrope Note Added: 0012058
2010-11-15 20:39 isotrope Note Added: 0012059
2010-11-15 20:40 isotrope Note Added: 0012060
2010-11-15 20:40 isotrope Resolution open => won't fix