Difference between revisions of "LinuxISO"
From Vague Hope Wiki
(Created page with "== Resources == * http://clonezilla.org/advanced/customized-clonezilla-live.php * http://www.clonezilla.org/clonezilla-live.php * http://www.clonezilla.org/create_clonezilla_...") |
|||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == Custom Live images == | ||
+ | |||
+ | assumed: clonezilla/ contains: | ||
+ | * clonezilla-live-20130314-quantal-i386.iso | ||
+ | * 06proxy | ||
+ | |||
+ | <pre> | ||
+ | $ 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 . | ||
+ | </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 == | ||
+ | |||
+ | *broken* | ||
+ | |||
+ | <pre> | ||
+ | $ 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 | ||
+ | </pre> | ||
+ | |||
== Resources == | == Resources == | ||
Latest revision as of 01:43, 8 April 2013
Contents
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
- 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
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