Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th February 2008, 11:50 AM
pobbz Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 190
A question about livecd-creator

Hello.

First off, I'm sorry for the undescriptive title.

My question deals with the livecd-creator tool. I want to create a custom live CD. Well, a DVD actually. I think I understand the .ks file format well enough to make that happen. However, the disk space on my root filesystem is scarce, so I think I might run into problems during the live CD creation, as the tool creates the filesystem of the live CD under /tmp during the process. I have plenty of free space on other filesystems though.

So my question is that how do I tell to livecd-creator to create the temporary filesystem structure somewhere else than under /tmp? livecd-creator --help doesn't seem to indicate any options for that. The livecd-creator tool seems to be a python program, so if everything else fails, I'm ready to try and hack it to do what I want (thank <insert your favorite deity here> for open source!).

Thanks in advance.

EDIT: OOPS! The directory structure seems to get created under /var/tmp and not /tmp.

EDIT2: Ok, I found this code:
Code:
 # setup temporary build dirs
        try:
            self.build_dir = tempfile.mkdtemp(dir="/var/tmp", prefix="livecd-creator-")
at the line 379 of the livecd-creator. This seems to be the place where the directory of the temporary file structure is specified. I'm going to try and change that later today, or tomorrow. Oh, and I'm talking about the F7 version of the livecd-creator, should there be differences between F8 and F7 versions.

EDIT3: The piece of code I posted indeed seems to be the place to specify the root directory of the temporary directory structure. Unfortunately I'm not able to test the modifications to that piece of code because I only have FAT32 filesystems that have enough space for the temporary directory structure and FAT32 filesystem seems to cause problems when livecd-creator is operating on files (the program crashes on os.lseek() function with exit code 22 -- invalid argument; it was able to create the file in question, but seeking on it seems to cause trouble).

Oh well... seems like I have to remove a a lot of programs to make room on my root filesystem (which is the only ext3 filesystem I have) for the livecd creation process.

Last edited by pobbz; 25th February 2008 at 03:58 PM.
Reply With Quote
Reply

Tags
livecdcreator, question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
livecd-creator help. Apple Fedora Spins & Remixes 7 19th October 2009 03:05 PM
F11 Livecd-creator abohsin Using Fedora 1 9th October 2009 07:34 PM
Not able to create bootable liveCD with livecd-creator baloon Installation and Live Media 3 9th July 2009 12:44 PM
where to get liveCD-creator? xianwu Using Fedora 1 6th February 2009 09:01 PM
Need Help on livecd-creator rossini23 Using Fedora 0 3rd September 2007 10:37 AM


Current GMT-time: 07:25 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat