[multiboot-media-creator] added stable version
by Dave Riches
commit fbc59ed96ae17368afa4d8dae9a1f9ba4bd7b04b
Author: Dave <dcr226(a)fedoraproject.org>
Date: Tue Nov 9 01:07:03 2010 +0000
added stable version
create_multiboot | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/create_multiboot b/create_multiboot
new file mode 100644
index 0000000..f5086c3
--- /dev/null
+++ b/create_multiboot
@@ -0,0 +1,50 @@
+#/bin/bash
+# MultiImage-Media-Creator multiboot dvd creation tool.
+# inital work done by Dave Riches, Bob Jensen, Dennis Johnson
+# version 0.1
+VERSION=0.1
+#clean up old mess
+rm -rfv tmp image
+echo "MultiImage-Media-Creator - multiboot iso creation tool version: "$VERSION
+echo "I'm going to create a iso from the following iso's:"
+echo ""
+ls -lh *iso
+mkdir -pv image/boot/grub tmp
+cat > image/boot/grub/grub.conf <<EOT
+timeout=10
+default=0
+EOT
+
+for i in *iso
+do
+ BN=$(basename $i .iso)
+ mkdir -pv image/${BN}/{boot,images}
+ mount -o loop $i tmp
+ grep -q live tmp/isolinux/isolinux.cfg && status="Live" || status="NotLive"
+ echo $status
+ if [ $status = "Live" ]; then
+ cp -rfv tmp/* image/${BN}/
+ cat >> image/boot/grub/grub.conf <<EOT
+title ${BN}
+ kernel /${BN}/isolinux/vmlinuz0 root=live:LABEL=Multi-Boot live_dir=/${BN}/LiveOS/ rootfstype=auto ro liveimg quiet rhgb check
+ initrd /${BN}/isolinux/initrd0.img
+EOT
+ else
+ cp -fv tmp/isolinux/vmlinuz image/${BN}/boot/
+ cp -fv tmp/isolinux/initrd.img image/${BN}/boot/
+ cp -fv tmp/images/install.img image/${BN}/images/
+ cat >> image/boot/grub/grub.conf <<EOT
+title ${BN}
+ kernel /${BN}/boot/vmlinuz repo=hd:LABEL=Multi-Boot:/${BN}/
+ initrd /${BN}/boot/initrd.img
+EOT
+ cp -fv $i image/${BN}/
+ umount -v tmp
+ fi
+done
+ln -s grub.conf image/boot/grub/menu.lst
+cp -fv /usr/share/grub/i386-redhat/stage2_eltorito image/boot/grub/
+mkisofs -R -v -V "Multi-Boot" -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -allow-limited-size -o Multi-Boot.iso image
+echo "Cleaning up in 5 seconds, hit <ctrl>-C to stop me"
+sleep 5
+rm -rf tmp/ image/
\ No newline at end of file
13 years, 5 months
[multiboot-media-creator] added wishlist
by Dave Riches
commit 0a5cc8a9b32a06dc7d43a8365de9cbba65a86bfb
Author: Dave <dcr226(a)fedoraproject.org>
Date: Tue Nov 9 01:03:31 2010 +0000
added wishlist
create_multiboot_wishlist | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/create_multiboot_wishlist b/create_multiboot_wishlist
new file mode 100644
index 0000000..0098da3
--- /dev/null
+++ b/create_multiboot_wishlist
@@ -0,0 +1,5 @@
+Grub2 option?
+Investigate using diffs against master image
+Make less verbose and offer -v option
+use squashfs <- this would be very cool
+estimate available space and space needed - done, needs fixing to account for the kernels,initramfs and install.img. I vote calculate + 10%
13 years, 5 months