Difference between revisions of "LinuxISO"

From Vague Hope Wiki
Jump to: navigation, search
(Custom Live images)
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
<pre>
 
<pre>
 +
$ sudo aptitude install mkisofs squashfs-tools
 
$ sudo su -
 
$ sudo su -
 
# cd clonezilla/
 
# cd clonezilla/
Line 11: Line 12:
 
# mount -o loop -t iso9660 clonezilla-live-20130314-quantal-i386.iso mnt/
 
# mount -o loop -t iso9660 clonezilla-live-20130314-quantal-i386.iso mnt/
 
# mkdir unsquash && cd unsquash
 
# mkdir unsquash && cd unsquash
# unsquashfs../mnt/live/livefs.squashfs
+
# unsquashfs ../mnt/live/livefs.squashfs
 
# cp ../06proxy squashfs-root/etc/apt/apt.conf.d/
 
# cp ../06proxy squashfs-root/etc/apt/apt.conf.d/
 
# cd squashfs-root
 
# cd squashfs-root
Line 30: Line 31:
 
# mkisofs -o ../newiso.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V disks .
 
# mkisofs -o ../newiso.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V disks .
 
</pre>
 
</pre>
 +
 +
=== References ===
 +
* http://junktrap.naihl.net/doku.php?id=redhat:kickstartbootcd
 +
* http://blog.sleeplessbeastie.eu/2012/05/27/how-to-modify-squashfs-image/
 +
* http://www.asylumnation.com/blogs/amerikanjunkie/post-2775.html
 +
 +
== CentOS ==
 +
 +
* http://blog.roozbehk.com/post/35277329160/rhel-centos-6-setup-networking
 +
* http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html
 +
 +
== Editing CloneZilla images ==
 +
 +
* http://blog.christosoft.de/2012/05/mount-clonezilla-image-to-restore-single-file-browse/
  
 
== Custom CloneZilla builds ==
 
== Custom CloneZilla builds ==

Latest revision as of 01:43, 8 April 2013

Custom Live images

assumed: clonezilla/ contains:

  • clonezilla-live-20130314-quantal-i386.iso
  • 06proxy
$ sudo aptitude install mkisofs squashfs-tools
$ sudo su -
# cd clonezilla/
# midir mnt
# mount -o loop -t iso9660 clonezilla-live-20130314-quantal-i386.iso mnt/
# mkdir unsquash && cd unsquash
# unsquashfs ../mnt/live/livefs.squashfs
# cp ../06proxy squashfs-root/etc/apt/apt.conf.d/
# cd squashfs-root
# mount -t proc proc proc/
# mount -t sysfs sys sys/
# mount -o bind /dev dev/
# cd ..
# chroot squashfs-root
# apt-get update
# apt-get --no-install-recommends install openjdk-6-jre-headless
# exit
# umount squashfs-root/proc squashfs-root/sys squashfs-root/dev
# mksquashfs squashfs-root/ filesystem.squashfs -noappend -always-use-fragments
# cd ..
# mkdir newiso && cp -av mnt/* newiso/
# cp unsquash/filesystem.squashfs newiso/live/filesystem.squashfs
# cd newiso/
# mkisofs -o ../newiso.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V disks .

References

CentOS

Editing CloneZilla images

Custom CloneZilla builds

  • broken*
$ sudo su - 
# prep-ocsroot
# cd /home/partimag && cp 06proxy /etc/apt/apt.conf.d/
# apt-get --no-install-recommends install openjdk-6-jre-headless
# ocs-iso -g en_GB.UTF-8 -k NONE -s -a cz-modav-20130404-0.iso -i modav

Resources