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, 11 months
Using both EFI and MBR at once on Live USB images
by Stewart Adam
Hi,
I've been trying to get the Fedora 10 Snapshot ISO to work boot via a USB key
on my MacBook Pro using the --mactel option, and while I think GRUB's EFI
image has a bug in it since no kernels boot [1], it gave me another idea.
I thought it would be pretty cool if we could synchronize the GPT and
MSDOS partition tables (complete with MBR), similar to how it's used in
BootCamp/rEFIt so that any given live media could be used with EFI or with
BIOS. I've packaged rEFIt [2] (which includes gptsync) but since there's
only one partition on the Live USB media, gptsync immediately says "nothing
to do" and exits. One way around this would be to use two-partitions on the
live media, but that would troublesome since Windows will only recognize the
first readable partition. The other way would be to patch gptsync and have
it translate the EFI partition to "FAT32" for the MSDOS partition table.
I'd like to hear your comments/feedback on this - Do you think it's a
feature worth spending time on? Any other ideas for workarounds?
Stewart
[1] https://bugzilla.redhat.com/show_bug.cgi?id=466954
[2] http://downloads.diffingo.com/refit-0.11-1.fc9.src.rpm
15 years, 2 months
RFE: allow multi live medium
by Till Maas
Hiyas,
I would like to create a usb device that contains several live mediums.
Afaics, this is currently not possible, unless I use a separate partition for
each live medium, because they all expect LiveOS to be the directory
containing some images. Attached is a patch agains mkliveinitrd from the
current rawhide cvs repository that makes it possible to pass a "live_dir"
kernel parameter, that is then used instead of LiveOS.
How do you like this patch and do I have to submit it via bugzilla to the
mkinitrd component to get it included? Do you know other places on the live
medium that use a hardcoded LiveOS directory?
Regards,
Till
15 years, 3 months
Persistence issues in F9, fixed in F10?
by Todd N
Hello,
There are some issues in Fedora 9 when using a bootable USB stick with a persistent overlay (created using livecd-iso-to-disk). Filling up the overlay renders the USB stick non-bootable. Whatever the reason for this, has the issue been resolved in Fedora 10?
Also, once desired changes have been made to files on the USB, using the persistent overlay, is there a way (in Fedora 9 or 10) to disable further writes to the overlay, basically "freezing" it so that no further permanent changes can be made?
Thanks in advance for any input.
Todd
15 years, 4 months
imgcreate/kickstart.py livecd-tools.spec tools/livecd-creator
by Jeremy Katz
imgcreate/kickstart.py | 4 +++-
livecd-tools.spec | 1 +
tools/livecd-creator | 6 +++---
3 files changed, 7 insertions(+), 4 deletions(-)
New commits:
commit 26e3c100f567e0132847e0ef0ac6b42b8d35f727
Author: Bryan Kearney <bkearney(a)redhat.com>
Date: Tue Nov 25 10:55:25 2008 -0500
Allow URLs for kickstart config
Allow for http://, ftp://, or file:// urls to be passed in to the
image creators using urlgrabber. This verison delagets all work to
urlgrabber and all error checking to the kickstart parser
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index c97eb08..58171c4 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -22,6 +22,7 @@ import shutil
import subprocess
import time
import logging
+import urlgrabber
import rhpl.keyboard
@@ -47,7 +48,8 @@ def read_kickstart(path):
version = ksversion.makeVersion()
ks = ksparser.KickstartParser(version)
try:
- ks.readKickstart(path)
+ ksfile = urlgrabber.urlgrab(path)
+ ks.readKickstart(ksfile)
except IOError, (err, msg):
raise errors.KickstartError("Failed to read kickstart file "
"'%s' : %s" % (path, msg))
diff --git a/livecd-tools.spec b/livecd-tools.spec
index 7ab1468..215b576 100644
--- a/livecd-tools.spec
+++ b/livecd-tools.spec
@@ -21,6 +21,7 @@ Requires: pykickstart >= 0.96
Requires: dosfstools >= 2.11-8
Requires: isomd5sum
Requires: rhpl
+Requires: python-urlgrabber
%ifarch %{ix86} x86_64
Requires: syslinux
%endif
diff --git a/tools/livecd-creator b/tools/livecd-creator
index b401190..6d84e4c 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -36,7 +36,7 @@ def parse_options(args):
imgopt = optparse.OptionGroup(parser, "Image options",
"These options define the created image.")
imgopt.add_option("-c", "--config", type="string", dest="kscfg",
- help="Path to kickstart config file")
+ help="Path or url to kickstart config file")
imgopt.add_option("-b", "--base-on", type="string", dest="base_on",
help="Add packages to an existing live CD iso9660 image.")
imgopt.add_option("-f", "--fslabel", type="string", dest="fs_label",
@@ -67,8 +67,8 @@ def parse_options(args):
help=optparse.SUPPRESS_HELP)
(options, args) = parser.parse_args()
- if not options.kscfg or not os.path.isfile(options.kscfg):
- raise Usage("Kickstart config '%s' does not exist" %(options.kscfg,))
+ if not options.kscfg:
+ raise Usage("Kickstart file must be provided")
if options.base_on and not os.path.isfile(options.base_on):
raise Usage("Live CD ISO '%s' does not exist" %(options.base_on,))
if options.fs_label and len(options.fs_label) > imgcreate.FSLABEL_MAXLEN:
15 years, 4 months
Resending the Patch
by Bryan Kearney
This is a resend with all file loading being delegated ot urlgrabber, and all error checking delegated to hte kickstart parser.
15 years, 4 months
tools/livecd-iso-to-disk.sh
by Jeremy Katz
tools/livecd-iso-to-disk.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4adb05da112f9040e5923bd569b2b40bd6ed1ffa
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Mon Nov 24 09:50:58 2008 -0500
Shell escaping
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index b11c0aa..4414c4e 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -547,7 +547,7 @@ if [ -n "$xo" ]; then
if [ ! -d $USBMNT/boot ]; then mkdir -p $USBMNT/boot ; fi
cat > $USBMNT/boot/olpc.fth <<EOF
\ Boot script for USB boot
-hex rom-pa fffc7 + 4 $number drop h# 2e19 < [if]
+hex rom-pa fffc7 + 4 \$number drop h# 2e19 < [if]
patch 2drop erase claim-params
: high-ramdisk ( -- )
cv-load-ramdisk
15 years, 4 months
Error module loop not found
by Junior Tomazelli
I tried reinstall livecd-tools, download again the cache necessary and
generate using olds kickstarts. But I have this error always, someone can
help me?
--
Wolnei Cândido Tomazelli Junior (Charged)
Brazil Fedora Ambassador
Designer and TI
E-mail : linux.charged(a)gmail.com
Linux User #477062
15 years, 4 months
Persistent usb device rules
by Orion Poplawski
After booting my F10 usb stick with persistent storage I accumulate a
bunch of persistent-net usb rules and have network device names like
"eth0_rename". Any way to avoid.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
15 years, 4 months