Problem booting live media
by Umarzuki Mochlis
Can't get into GUI, instead weird blocky images. Tried booting with
"vga=normal" and removing the rhgb, but nothing changed. Any help
appreciated.
--
Regards,
Umarzuki
15 years, 9 months
LiveCD to HDD with CentOS 5.1
by Hoy, Mark
I'm kind of new at this so....
I've built up a CentOS 5.1 LiveCD (thanks everyone) and booted into it
to test it out in VMWare. Nifty stuff.
I've run "liveinst" and indeed it gives me a gui and appears to do the
right thing. I've a number of questions still.
I really like the ability of the "livecd-creator" to resolve the rpm set
that I need. At times I'd like to add a component just to see the rpm
list change requirements without actually building an ISO. Is there a
man page on what livecd-creator can do?
Ideally I'd like to pass a kickstart file into "liveinst" to script what
it does so I don't have to do this numerous times. There is a thread
earlier in this list, but I've not seen any updates on it.
Re: [Fedora-livecd-list] Kickstart ignored?
Thanks in advance.
: Mark Hoy SR. SW Engineer SECURIFY
: www.securify.com Monitor and Verify Who, What & Where on your Network
15 years, 9 months
Changes to 'refs/tags/livecd-tools-015'
by Jeremy Katz
Tag 'livecd-tools-015' created by Jeremy Katz <katzj(a)redhat.com> at 2008-03-07 00:41 +0000
livecd-tools-015
Changes since livecd-tools-012-195:
---
0 files changed
---
15 years, 9 months
2 commits - livecd-tools.spec Makefile tools/livecd-iso-to-disk.sh
by Jeremy Katz
Makefile | 2 +-
livecd-tools.spec | 13 ++++++++++---
tools/livecd-iso-to-disk.sh | 13 +++++++++++--
3 files changed, 22 insertions(+), 6 deletions(-)
New commits:
commit 75bd5129a2ffb862529df8d7cd589a362c028353
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Mar 6 19:39:05 2008 -0500
Bump version
diff --git a/Makefile b/Makefile
index 6efe58c..22c9c2e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 014
+VERSION = 015
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
diff --git a/livecd-tools.spec b/livecd-tools.spec
index a789460..56b82d4 100644
--- a/livecd-tools.spec
+++ b/livecd-tools.spec
@@ -4,7 +4,7 @@
Summary: Tools for building live CD's
Name: livecd-tools
-Version: 014
+Version: 015
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Base
@@ -53,8 +53,6 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/livecd-creator
%{_bindir}/livecd-iso-to-disk
%{_bindir}/livecd-iso-to-pxeboot
-%dir /usr/lib/livecd-creator
-/usr/lib/livecd-creator/mayflower
%dir %{_datadir}/livecd-tools
%{_datadir}/livecd-tools/*
%{_bindir}/image-creator
@@ -64,6 +62,15 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/imgcreate/*.pyc
%changelog
+* Thu Mar 6 2008 Jeremy Katz <katzj(a)redhat.com> - 015-1
+- Support for using live isos with pxe booting (Richard W.M. Jones and
+ Chris Lalancette)
+- Fixes for SELinux being disabled (Warren Togami)
+- Stop using mayflower for building the initrd; mkinitrd can do it now
+- Create a minimal /dev rather than using the host /dev (Warren Togami)
+- Support for persistent overlays when using a USB stick (based on support
+ by Douglas McClendon)
+
* Tue Feb 12 2008 Jeremy Katz <katzj(a)redhat.com> - 014-1
- Rework to provide a python API for use by other tools (thanks to
markmc for a lot of the legwork here)
commit 6a4ea132ac61a74e6c066d44cdb077ec47164d4b
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Mar 6 19:35:47 2008 -0500
Fixes to avoid problems on VFAT usb sticks
If we're using a VFAT formatted stick, don't allow an overlay > 2 GB to avoid
corruption. Also, VFAT doesn't really allow for sparse files and the kernel
gets unhappy when you try to make one.
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 00465e3..5aeeca7 100644
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -197,6 +197,11 @@ checkPartActive $USBDEV
checkMBR $USBDEV
[ -n $resetmbr ] && resetMBR $USBDEV
+if [ -n "$overlaysizemb" -a "$USBFS" = "vfat" -a "$overlaysizemb" -gt 2047 ]; then
+ echo "Can't have an overlay greater than 2048MB on VFAT"
+ exitclean
+fi
+
# FIXME: would be better if we had better mountpoints
CDMNT=$(mktemp -d /media/cdtmp.XXXXXX)
mount -o loop $ISO $CDMNT || exitclean
@@ -238,8 +243,12 @@ sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/
if [ -n "$overlaysizemb" ]; then
echo "Initializing persistent overlay file"
OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( /lib/udev/vol_id -u $USBDEV )"
- dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE \
- count=1 bs=1M seek=$overlaysizemb
+ if [ "$USBFS" = "vfat" ]; then
+ # vfat can't handle sparse files
+ dd if=/dev/zero of=$USBMNT/LiveOS/$OVERFILE count=$overlaysizemb bs=1M
+ else
+ dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE count=1 bs=1M seek=$overlaysizemb
+ fi
sed -i -e "s/liveimg/liveimg overlay=${USBLABEL}/" \
$USBMNT/$SYSLINUXPATH/isolinux.cfg
sed -i -e "s/\ ro\ /\ rw\ /" \
15 years, 9 months
$0.02 idea- persistent desktops
by Douglas McClendon
I think I've mentioned this idea here sometime in the past couple years,
but for various reasons, I'll bring it up now just for the digital record-
feature: persistent desktops
example obvious non-portable implementation:
Use the recently merged persistence feature, along with software suspend
(aka hibernate) to a partition on the liveusb.
What this gets you, is a full system, including running state, on your
LiveUSB. The downside as mentioned is that you are tied to the specific
piece of hardware that you suspended on (swsusp isn't cooler than that
is it?)
dmc implementation:
your custom persisting livecd/liveusb, as part of its default boot
scripts, launches qemu during boot. It launches it from a saved memory
state image, booting perhaps against the same running livecd/liveusb
disk/os. That initial saved memory image is stored on the live media.
That running image is running a vncserver. After the livecd/usb starts
this qemu process from the saved state, it launches a vncviewer as part
of the autologin process, pointing at that server.
Now then, for persistence, during shutdown, a signal is automatically
sent to the qemu monitor to hibernate it (save ram state). Now that new
ramstate file, is stored via the current persistence mechanism (or
perhaps a dedicated partition on the liveusb).
going even further:
it may in some narrow use cases be useful to stare the new ramstate file
as an xdelta diff from the initial one stored on the media.
the persistence data, including these ramstate data could be stored on
public servers, perhaps fedorahosted, or gmailfs, or whatever.
later... -dmc/jdog
15 years, 9 months
livecd-iso-to-disk remote
by Thiago Braga Santana
Hello to everyone on the list.
I need that the program "livecd-iso-to-disk" is performed remotely, it is
possible?
Explanation: I created an image file of the type .iso with the program
livecd-creator in my PC, now I have a need for this file .iso be applied in
a usbdisk that is connected to another PC.
Anyone can make a suggestion on how I can do this?
Thank you for listening.
Thiago Santana
15 years, 9 months
LiveCD Workstation
by Tim Wood
In a slightly more fun posting, my LiveCD workstation LiveCD is now
being used to generate LiveCDs. Ah the geekly joy of massive
recursivity. Since Thunderbird's spell checker doesn't like
"recursivity" I may have a name ;-) Anyway, the kickstart isn't quite
ready for public consumption, but soon.
Tim
15 years, 9 months
fc7 livecd-creator/liveinst cannot handle yum install in ks file
by jie sun
Hi,
I have some yum install commands in my kickstart file and when I run livecd-creator --config=my.ks in fc7, I got this temp folder left on my box.
/dev/loop0 4128448 139380 3947128 4% /var/tmp/livecd-creator-Sy190t/install_root
And after burn the iso into a CD and install it, I got extra two (first two) partitions on the box.
rootfs ... /
udev ... /dev
/dev/mapper/livecd-rw
1511856 1089732 406764 73% /
tmpfs 1946924 0 1946924 0% /dev/shm
And the liveinst command will fail.
If there is no yum install commands in my.ks file, I only got the following on the box after install with the CD.
/dev/mapper/livecd-rw
1511856 1089732 406764 73% /
tmpfs 1946924 0 1946924 0% /dev/shm
And the liveinst command will success.
There is no problem in fedora 8 even with yum command in my.ks. livecd-creator/liveinst will success in f8
So looks like livecd-creator can only handle simple ks file but can not handle yum install commands in ks file.
Any ideas?
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
15 years, 9 months
tools/livecd-iso-to-disk.sh
by Jeremy Katz
tools/livecd-iso-to-disk.sh | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
New commits:
commit 9ec836f0f0f1c5848c3f9625d9d1e63b940cb792
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Tue Mar 4 21:33:11 2008 -0500
Add support to set up persistent overlay
Add support for persistent overlay. Patch is from Douglas
McClendon <dmc(a)viros.org> with style tweaks from me
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index b62792e..00465e3 100644
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -2,6 +2,8 @@
# Convert a live CD iso so that it's bootable off of a USB stick
# Copyright 2007 Red Hat, Inc.
# Jeremy Katz <katzj(a)redhat.com>
+#
+# overlay/persistence enhancements by Douglas McClendon <dmc(a)viros.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,7 +22,7 @@
export PATH=/sbin:/usr/sbin:$PATH
usage() {
- echo "$0 [--reset-mbr] [--noverify] <isopath> <usbstick device>"
+ echo "$0 [--reset-mbr] [--noverify] [--overlay-size-mb <size>] <isopath> <usbstick device>"
exit 1
}
@@ -149,6 +151,10 @@ fi
while [ $# -gt 2 ]; do
case $1 in
+ --overlay-size-mb)
+ overlaysizemb=$2
+ shift
+ ;;
--noverify)
noverify=1
;;
@@ -229,6 +235,17 @@ echo "Updating boot config file"
# adjust label and fstype
sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/" $USBMNT/$SYSLINUXPATH/isolinux.cfg
+if [ -n "$overlaysizemb" ]; then
+ echo "Initializing persistent overlay file"
+ OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( /lib/udev/vol_id -u $USBDEV )"
+ dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE \
+ count=1 bs=1M seek=$overlaysizemb
+ sed -i -e "s/liveimg/liveimg overlay=${USBLABEL}/" \
+ $USBMNT/$SYSLINUXPATH/isolinux.cfg
+ sed -i -e "s/\ ro\ /\ rw\ /" \
+ $USBMNT/$SYSLINUXPATH/isolinux.cfg
+fi
+
echo "Installing boot loader"
if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then
# syslinux expects the config to be named syslinux.cfg
15 years, 9 months
Makefile
by Jeremy Katz
Makefile | 1 -
1 file changed, 1 deletion(-)
New commits:
commit c41fbb5b2f5bfe34e1d1ae07bfed1376849be664
Author: Warren Togami <wtogami(a)redhat.com>
Date: Tue Mar 4 21:12:24 2008 -0500
[PATCH] remove mayflower from Makefile install
mayflower is no longer in livecd-tools.
diff --git a/Makefile b/Makefile
index 050fe88..6efe58c 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,6 @@ install:
$(INSTALL_PROGRAM) -D tools/image-creator $(DESTDIR)/usr/bin/image-creator
$(INSTALL_PROGRAM) -D tools/livecd-iso-to-disk.sh $(DESTDIR)/usr/bin/livecd-iso-to-disk
$(INSTALL_PROGRAM) -D tools/livecd-iso-to-pxeboot.sh $(DESTDIR)/usr/bin/livecd-iso-to-pxeboot
- $(INSTALL_PROGRAM) -D tools/mayflower $(DESTDIR)/usr/lib/livecd-creator/mayflower
$(INSTALL_DATA) -D AUTHORS $(DESTDIR)/usr/share/doc/livecd-tools-$(VERSION)/AUTHORS
$(INSTALL_DATA) -D COPYING $(DESTDIR)/usr/share/doc/livecd-tools-$(VERSION)/COPYING
$(INSTALL_DATA) -D README $(DESTDIR)/usr/share/doc/livecd-tools-$(VERSION)/README
15 years, 9 months