F7 general question about livecd-creator and timezones
by Skunk Worx
My ks scripts have the timezone set to PDT (America/Los_Angeles).
Installation to a hard drive works as expected. PDT in startup and in
shells, etc.
Creating a livecd-creator iso with the same tz setting, then booting,
shows A/L_A in the /etc/sysconfig/clock file, as expected.
However the date is always EDT in the boot messages, shells, etc.
During startup I see :
(lvm)
Press I to enter interactive startup
Setting clock (utc) Mon Jun 4 00:12:59 EDT 2007
(udev)
I'm not clear on what is happening between lvm and udev in the Linux
startup sequence.
If someone could give me a hint about what to look for and where to look
for it I would appreciate the help.
---
John
14 years, 10 months
Trying to build from GIT
by Jeroen van Meeuwen
Hi,
I'm building livecd-tools from the latest code in GIT, but rpmlint
complaints like there's no tomorrow:
[jmeeuwen@elwood devel]$ rpmlint
/var/lib/mock/fedora-8-x86_64/result/livecd-tools-013-1.fc8.x86_64.rpm
livecd-tools.x86_64: E: non-executable-script
/usr/lib/python2.5/site-packages/imgcreate/kickstart.py 0644
livecd-tools.x86_64: E: non-executable-script
/usr/lib/python2.5/site-packages/imgcreate/errors.py 0644
livecd-tools.x86_64: E: non-executable-script
/usr/lib/python2.5/site-packages/imgcreate/creator.py 0644
livecd-tools.x86_64: E: non-executable-script
/usr/lib/python2.5/site-packages/imgcreate/fs.py 0644
livecd-tools.x86_64: E: non-executable-script
/usr/lib/python2.5/site-packages/imgcreate/yuminst.py 0644
livecd-tools.x86_64: E: non-executable-script
/usr/lib/python2.5/site-packages/imgcreate/live.py 0644
livecd-tools.x86_64: E: non-executable-script
/usr/lib/python2.5/site-packages/imgcreate/__init__.py 0644
livecd-tools.x86_64: W: invalid-license GPL
livecd-tools.x86_64: E: no-binary
livecd-tools.x86_64: E: only-non-binary-in-usr-lib
Could these be fixed at some point in time please? Thanks, in advance.
Kind regards,
Jeroen van Meeuwen
-kanarip
16 years, 2 months
minimal with sshd
by gmvects
Hello there,
I want to create minimal fedora livecd with some local addons, I don't need
any desktop. I used minimal.ks but it has missed login things, somebody
could advise me what to add to livecd-fedora-minimal.ks in order it will
allow
me to log in with root on any other account, plus I want to run sshd on it.
Thanks, Gmvects
16 years, 2 months
Creating livecd without lvm2?
by Thiago Braga Santana
Hello to everyone on the list.
I am having a big problem with the lvm2 livecd, on computers that use the
Hard Disk SATA2. I need the help of someone of the list to make a livecd
without lvm2.
Someone help me? How should the configuration file kickstart?
I await response.
Thiago Santana
16 years, 2 months
Kernel panic while booting from live cd
by Sriram Kailasam
Hello all,
I have created a live cd with modified linux kernel using livecd-create tool. Just installing the kernel rpm on the system using rpm -ivh works fine.
But when I try booting from the livecd, it gives the following error.
Loading vlinuz0......................................................................
Loading initrd0.img.................................................................
Ready
Uncompressing Linux... OK, booting the kernel
ASPI: no DMI BIOS yesr, acpi=force is required to enable ACPI
PCI: PIX3: Enabling Passive Release on 0000:00:01.0
Red Hat nash version 6.0.9 starting
dm_mod: exports duplicate symbol dm_get_mapinfo (owned by kernel)
insmod: error inserting '/lib/dm-mod.ko': -1 Invalid module format
dm_mirror: exports duplicate symbol dm_register_dirty_log_type (owned by kernel)
insmod: error inserting '/lib/dm-mirror.ko': -1 Invalid module format
device-mapper: zero: register failed -17
insmod: error inserting '/lib/dm-zero.ko': -1 File exists
device-mapper: snapshots: snapshot target register failed -17
insmod: error inserting '/lib/dm-snapshot.ko': -1 File exists
Reading all physical volumes. This may take a while...
No volume groups found
Volume group "VolGroup00: not found
mount: could not find filesystem '/dev/root '
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc failed: No such file or directory
setuproot: error mounting /sys failed: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
I have checked all the RAID and LVM optiions presemt at the make menuconfig stage of kernel compilation.
Thanks in advance,
sriram
_________________________________________________________________
Post free property ads on Yello Classifieds now! www.yello.in
http://ss1.richmedia.in/recurl.asp?pid=219
16 years, 2 months
Creating a Fedora livecd with modified kernel source
by Sriram Kailasam
Objective:
To create a custom Fedora Live CD with modified kernel source.
Problem:
System:
- Fedora Core 7
Tools:
- livecd-creator
- createrepo
Steps performed:
1. I am creating a repository containing the modified kernel rpm + other required rpms using the createrepo command.
* createrepo /opt/repository
* /opt/repository contains modified kernel rpm and other required rpms.
2. Then we are creating an iso using livecd-creator with the minimal kickstart file provided.
* livecd-creator -c /usr/share/livecd-tools/livecd-fedora-minimal.ks
* The error we are getting is
umount: /var/tmp/livecd-creator-0I9s69/install_root: device is busy umount: /var/tmp/livecd-creator-0I9s69/install_root: device is busy ioctl: LOOP_CLR_FD: Device or resource busy Traceback (most recent call last): File "/usr/bin/livecd-creator", line 1603, in <module> sys.exit(main()) File "/usr/bin/livecd-creator", line 1575, in main target.install() File "/usr/bin/livecd-creator", line 948, in install self.installPackages() File "/usr/bin/livecd-creator", line 602, in installPackages
%(self.build_dir, subdir)): OSError: [Errno 2] No such file or directory: '/var/tmp/livecd-creator-0I9s69/install_root/etc/lvm/cache'
Please let me know the correct procedure of "how to create a Livecd with modified kernel source"
Thanks in advance
Sriram
_________________________________________________________________
Post free property ads on Yello Classifieds now! www.yello.in
http://ss1.richmedia.in/recurl.asp?pid=221
16 years, 2 months
[PATCH] Run e2fsck before resize2fs
by Mark McLoughlin
resize2fs barfs if you haven't run e2fsck on the filesystem
beforehand, so do this in the case of resizing an existing
image. We already do this when minimising an image.
Signed-off-by: Mark McLoughlin <markmc(a)redhat.com>
---
imgcreate/fs.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/imgcreate/fs.py b/imgcreate/fs.py
index 3efddcb..fa83c2c 100644
--- a/imgcreate/fs.py
+++ b/imgcreate/fs.py
@@ -225,6 +225,8 @@ class SparseExtLoopbackMount(SparseLoopbackMount):
if size > current_size:
self.expand(size)
+ self.__fsck()
+
resize2fs(self.lofile, size)
if size < current_size:
--
1.5.3.3
16 years, 3 months
Added a progress bar to livecd-iso-to-disk.sh
by Tan Swee Heng
The last few steps of livecd-iso-to-disk.sh usually take a long time
While waiting, one sees the message "Copying live image to USB stick"
without any indication of progress. It would be great if a progress
bar is displayed.
The attached patch implements a progress bar with ETA information. (I
was inspired by http://www.theiling.de/projects/bar.html for this
patch.) Hope everyone finds this useful.
Regards,
Swee Heng
16 years, 3 months