<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 03/23/2010 08:52 PM, bill pemberton wrote:
<blockquote
 cite="mid:5af693821003231752v1a166108w8866ff691c075189@mail.gmail.com"
 type="cite">i would like to modify a live cd to have a root and user
account and to mount a home directory for the user.&nbsp; i have taken a
fedora 12 iso, broken it apart, made my changes and need to create the
bootable iso image.&nbsp; that is where i'm running into a problem.&nbsp; i have
tried using the grub stage2_eltorito file but that didn't work (maybe
the command i copied was incorrect).&nbsp; i have thought about snagging the
first sector (i think that is right) of a good iso and merging that
with what i have but i have a feeling that won't work.&nbsp; from what i can
tell i need a boot image file to use but i have not been able to locate
one of the correct size (per the mkisofs man page) in the files i have
for the iso.&nbsp; the docs i have been reading today so far haven't
indicated where i can find this file and web searches haven't been very
fruitful.&nbsp; since i'm not changing the packages but just the contents of
the passwd, shadow, and fstab i would think this would be an easy thing
to accomplish.&nbsp; i have looked into using a persistent image but after
waiting nearly an hour for the image to be written (using
livecd-creator) i felt that that must not be working correctly either.&nbsp;
i can get an sd card to boot via writing the iso using dd and so far
that is the only way to get an sd card or usb drive to boot.&nbsp; so i must
be missing something with this livecd-creator (and i think the
livecd-iso-to-disk script as well).<br>
  <br>
the main idea is to have a bootable livecd on an sdcard, use a usb
drive for the home dir for a user and this way have a dual boot machine
and be able to test different distros from time to time.<br>
  <br>
would someone mind pointing me in the right direction to accomplish
this goal?<br clear="all">
  <br>
-- <br>
wapembe<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
livecd mailing list
<a class="moz-txt-link-abbreviated" href="mailto:livecd@lists.fedoraproject.org">livecd@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/livecd">https://admin.fedoraproject.org/mailman/listinfo/livecd</a></pre>
</blockquote>
<br>
If putting the iso back together is the biggest problem try the patch I
sent earlier to the list for edit-livecd. It will mount it and present
you into the chroot'ed file system and them repackage it all for you as
an edited iso file.<br>
<br>
Here's a link to the script if you want to give it a shot<br>
<br>
<a class="moz-txt-link-freetext" href="http://fedorapeople.org/~jboggs/edit-livecd.py">http://fedorapeople.org/~jboggs/edit-livecd.py</a><br>
<br>
Then you can use livecd-iso-to-disk to write it to disk<br>
</body>
</html>