LinuxISO

From Vague Hope Wiki
Revision as of 08:02, 4 April 2013 by Haku (Talk | contribs) (Custom Live images)

Jump to: navigation, search

Custom Live images

assumed: clonezilla/ contains:

  • clonezilla-live-20130314-quantal-i386.iso
  • 06proxy
$ 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 .

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