Thanks very much. The problem is I can't read python codes. So I have
to take instructions from livcd-creator's README file. And now my iso
image could boot up and show login prompt. However, the whole system
is read-only status. Some stuff in rc.sysinit show Failed.
And in this stage my question is how to fix that problem like how do I
make the whole fs is read write.
Thanks very much.
On Sun, May 30, 2010 at 12:04 PM, Bruno Wolff III <bruno(a)wolff.to> wrote:
You didn't copy this back to the list. Since the questions appear
targeted to the list, I am going to copy this back to the list.
On Sun, May 30, 2010 at 11:08:10 +0800,
Lee Eric <openlinuxsource(a)gmail.com> wrote:
> Thanks for your reply. My goal is simple, I just wanna make a live cd
> not using livecd-creator but take steps what livecd-creator does.
That's a pretty odd request. If you want to learn, a good place to start
would be looking at the installed python code that runs.
You might even be able to plugin the reiserfs stuff into a modifed version.
There will probably be some gotcha's along the way.
> Here's what I saw from livecd-creator README.
> o Sets up a file for the ext3 file system that will contain all the
> data comprising the live CD
> o Loopback mounts that file into the file system so there is an
> installation root
> o Bind mounts certain kernel file systems (/dev, /dev/pts, /proc,
> /sys, /selinux) inside the installation root
> o Uses a configuration file to define the requested packages and
> default configuration options. The format of this file is the same
> as is used for installing a system via kickstart.
> o Installs, using yum, the requested packages into the installation
> using the given repositories
> o Optionally runs scripts as specified by the live CD configuration file.
> o Relabels the entire installation root (for SELinux)
> o Creates a live CD specific initramfs that matches the installed kernel
> o Unmounts the kernel file systems mounted inside the installation root
> o Unmounts the installation root
> o Runs resize2fs to minimize and unminimize the ext3 file to remove data
> from deleted files
> o Runs resize2fs to minimize on a devicemapper snapshot, to generate a
> small minimized delta image file which can be used by anaconda to
> reduce installation time by not copying unused data to disk
> o Creates a squashfs file system containing only the ext3 file (compression)
> o Configures the boot loader
> o Creates an iso9660 bootable CD
> I wanna take steps it mentions then I can make a Live CD. I hope
> someone shoe me some tips for every commands.
> On Sun, May 30, 2010 at 12:09 AM, Bruno Wolff III <bruno(a)wolff.to> wrote:
> > On Fri, May 28, 2010 at 23:52:32 +0800,
> > Lee Eric <openlinuxsource(a)gmail.com> wrote:
> >> Hi all,
> >> I'm a user of Fedora 12. And I wanna make my own Live CD by using some
> >> ways. I noticed livecd-creator works well and I read its read me under
> >> /usr/share/doc, it looks like here's a chapter named "HOW THE LIVE
> >> CREATOR WORKS" tell us how to make a Live CD manually. So I'm very
> >> curious how this magic happened then a Live CD created.
> > What is your overall goal. It is unlikely (though it could be) that the
> > way you are trying to do this is the right approach.
> > Normally you want to work with the kickstart files. Those can contain more
> > than a list of packages to install. If you explain what your overall goal is
> > someone might be able to make some suggestions with how to achieve it using
> > a kickstart file.