Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master cauldron by David Kowis (7dd7eaa5b13d01fcd2f5a73b5ba76c6c6088a55d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Kowis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master cauldron by David Kowis (7dd7eaa5b13d01fcd2f5a73b5ba76c6c6088a55d)
  • Date: Sat, 7 Jul 2007 15:02:57 -0500

GIT changes to master cauldron by David Kowis <dkowis AT shlrm.org>:

doc/creating-an-iso | 28 +++++++++++++++++++---------
1 files changed, 19 insertions(+), 9 deletions(-)

New commits:
commit 7dd7eaa5b13d01fcd2f5a73b5ba76c6c6088a55d
Author: David Kowis <dkowis AT shlrm.org>
Commit: David Kowis <dkowis AT shlrm.org>

doc/creating-an-iso
Updated documentation with notes I needed while building an iso

diff --git a/doc/creating-an-iso b/doc/creating-an-iso
index 0359b4d..f0b6007 100644
--- a/doc/creating-an-iso
+++ b/doc/creating-an-iso
@@ -1,15 +1,25 @@
Making an iso quickly, very-brief notes
These should be extended.
1. grab a chroot tarball
-2. unpack, chroot in, cast linux
+2. unpack, chroot in, cast linux (call this chroot iso-chroot)
+ * mount --bind /dev dev
+ * mount --bind /dev/pts dev/pts
+ * mount --bind /proc proc
3. clean up a bit (rm linux source tree, binary cache, linux source)
-4. copy the chroot (one copy for the iso, one the system the user will
install)
-5. copy the contents of the "iso" dir into the first chroot
-6. copy the contents of the "system" dir into the second chroot
-7. tar up the second chroot and copy it into the first
+ * rm /var/spool/sorcery/*
+ * rm /var/cache/sorcery/*
+ * rm /usr/src/linux* -rf
+4. copy the chroot (one copy for the iso, one the system the user will
install) (call second chroot system-chroot)
+ * umount dev/pts dev proc
+5. copy the contents of the "iso" dir into iso-chroot
+6. copy the contents of the "system" dir into system-chroot
+ * sanitize sorcery - set prompt delay, and others to default
+7. tar up system-chroot and copy it into iso-chroot
+7.5 Chroot back into iso-chroot to create the initrd
+ * be sure to set the appropriate kernel version in the mkinitrd script
8. run ./scripts/mkinitrd to create an initrd.gz
-9. copy that into iso-dir/boot/
-A. make sure iso-dir/isolinux/isolinux.cfg contains the right name for the
+9. copy that into iso-chroot/boot/
+A. make sure iso-chroot/isolinux/isolinux.cfg contains the right name for the
kernel image and the right (uncompressed) initrd size
-B. create an iso from your iso-dir, for example:
-mkisofs -quiet -R -b isolinux/isolinux.bin -c isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -o smgl-0.0.0.iso iso-dir
+B. create an iso from your iso-chroot, for example:
+mkisofs -quiet -R -b isolinux/isolinux.bin -c isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -o smgl-0.0.0.iso iso-chroot



  • [SM-Commit] GIT changes to master cauldron by David Kowis (7dd7eaa5b13d01fcd2f5a73b5ba76c6c6088a55d), David Kowis, 07/07/2007

Archive powered by MHonArc 2.6.24.

Top of Page