I have a customized LiveCD (created with kickstart) that I want to boot
The ISO works fine when used directly as boot device.
Converting the ISO to PXE gives me a non-working live operating system.
I use livecd-iso-to-pxeboot to create the file structure, then move it to
TFTP server directory
Here's what happens on the client:
-PXE boot detects the server and starts to download the 2 files: vmlinuz0
and then initrd0.img
-After some time I'm dropped to a dracut shell, complaining it couldn't
Doing this on the dracut shell solves the problem:
> mkdir cdrom; mount LiveCD.iso cdrom; exit
After this, the system starts to boot normally.
Tag 'livecd-tools-21.1' created by Brian C. Lane <bcl(a)redhat.com> at 2014-04-15 21:59 +0000
Tag as livecd-tools-21.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
Changes since livecd-tools-21.0:
Brian C. Lane (2):
Update syslinux files for syslinux 6.02-4
Makefile | 2 +-
imgcreate/live.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
docs/livecd-iso-to-disk.pod | 4 ++--
tools/livecd-iso-to-disk.sh | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Mon Apr 7 10:04:28 2014 -0700
Change vfat limit from 2047 to 4095
This is a backport of commit 16b6c36202f5a78.
The actual filesystem limit is 2^32−1
diff --git a/docs/livecd-iso-to-disk.pod b/docs/livecd-iso-to-disk.pod
index 1ccab66..4ddef23 100644
@@ -32,11 +32,11 @@ Disables the image validation process which occurs before the image is installed
-This option sets the overlay size in megabytes. The overlay is additional storage available to the live operating system if the operating system supports it. The USB storage device must have enough free space for the image and the overlay.
+This option sets the overlay size in mebibytes (integer values only). The overlay makes persistent storage available to the live operating system, if the operating system supports it. The persistent LiveOS overlay holds image-change snapshots (using write-once, difference-tracking storage) in the /LiveOS/overlay-<device_id> file, which, *one should note*, always grows in size due to the storage mechanism. (The fraction of allocated space that has been consumed may be displayed by issuing the 'dmsetup status' command in a terminal session of a running LiveOS installation.) One way to conserve the unrecoverable, overlay file space, is to specify a persistent home folder for user files, see --home-size-mb below. The target storage device must have enough free space for the image and the overlay. A maximum <size> of 4095 MiB is permitted for vfat-formatted devices. If there is insufficient room on your device, you will be given information to help in adjusting your setti
-Sets the home directory size in megabytes.
+Sets the home directory size in mebibytes (integer values only). A persistent home directory will be made in the /LiveOS/home.img filesystem image file. This file space is encrypted by default, but not compressed (one may bypass encryption with the --unencrypted-home installation option). Files in this home folder may be erased to recover and reuse their storage space. The target storage device must have enough free space for the image, any overlay, and the home directory. Note that the --delete-home option must also be selected to replace an existing persistent home with a new, empty one. A maximum <size> of 4095 MiB is permitted for vfat-formatted devices. If there is insufficient room on your device, you will be given information to help in adjusting your settings.
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 3e149d7..eb7be61 100755
@@ -560,22 +560,22 @@ checkMBR $USBDEV
if [ "$overlaysizemb" -gt 0 -a "$USBFS" = "vfat" ]; then
- if [ "$overlaysizemb" -gt 2047 ]; then
- echo "Can't have an overlay of 2048MB or greater on VFAT"
+ if [ "$overlaysizemb" -gt 4095 ]; then
+ echo "Can't have an overlay of 4095MB or greater on VFAT"
if [ "$homesizemb" -gt 0 -a "$USBFS" = "vfat" ]; then
- if [ "$homesizemb" -gt 2047 ]; then
- echo "Can't have a home overlay greater than 2048MB on VFAT"
+ if [ "$homesizemb" -gt 4095 ]; then
+ echo "Can't have a home overlay greater than 4095MB on VFAT"
if [ "$swapsizemb" -gt 0 -a "$USBFS" = "vfat" ]; then
- if [ "$swapsizemb" -gt 2047 ]; then
- echo "Can't have a swap file greater than 2048MB on VFAT"
+ if [ "$swapsizemb" -gt 4095 ]; then
+ echo "Can't have a swap file greater than 4095MB on VFAT"
Scientific Linux 6.5, 64 bit (Red Hat Enterprise Linux 6.5 clone)
$ rpm -qa \*livecd-tools\*
I love my Fedora Live USB a little too much. Can't get enough
space to add everything I want to it.
Do you know of a way to overcome the 4GB persistent
storage restriction? ("overlay-live-xxxxx" I presume.)
I am trying to do this:
livecd-iso-to-disk --overlay-size-mb 7194
But get told overlay can only be 2048 max.
I have Googled my rear end off with not luck. Closest
I have come was
But it does not work with Fedora Live USB.
I am presuming the problem is that fat32 does not allow files larger
than ~4 GB. Is there any way to point the persistent file
to a second EXT4 partition on the stick?
It ain't what you don't know that gets you into trouble. It's
what you know for sure that just ain't so.
Computers are like air conditioners.
They malfunction when you open windows