<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br><div><br>
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">
<p class="ecxMsoNormal" style="margin-bottom:0.0001pt;text-align:center;line-height:normal" align="center"><font style="font-size:16pt" size="4"><b><br></b></font><font style="font-size:16pt" size="4"><b><span style="font-size:14pt;font-family:"Courier New""></span></b></font></p><p class="ecxMsoNormal" style="margin-bottom:0.0001pt;text-align:center;line-height:normal" align="left"><font style="font-size:16pt" size="4"><b>கிழ் உள்ள command மூலம் எவ்வாறு</b></font><font style="font-size:16pt" size="4"><b><span style="font-size:14.0pt;font-family:"Courier New""> customizing</span> செய்ய முடியம் என்று தமிழ் விளக்கத்துடன் தரமுடியுமா.</b></font></p><p class="ecxMsoNormal" style="margin-bottom:0.0001pt;text-align:center;line-height:normal" align="left"><font style="font-size:16pt" size="4"><b>see the my attachment also</b></font></p><p class="ecxMsoNormal" style="margin-bottom:0.0001pt;text-align:center;line-height:normal" align="left"><font style="font-size:16pt" size="4"><b><br></b></font></p><p class="ecxMsoNormal" style="margin-bottom:0.0001pt;text-align:center;line-height:normal" align="left"><br><b><span style="font-size:14pt;font-family:"Courier New""></span></b></p><p class="ecxMsoNormal" style="margin-bottom:0.0001pt;text-align:center;line-height:normal" align="center"><br><b><span style="font-size:14pt;font-family:"Courier New""></span></b></p><p class="ecxMsoNormal" style="margin-bottom:0.0001pt;text-align:center;line-height:normal" align="center"><b><span style="font-size:14pt;font-family:"Courier New""><br></span></b></p><p class="ecxMsoNormal" style="margin-bottom:0.0001pt;text-align:center;line-height:normal" align="center"><b><span style="font-size:14pt;font-family:"Courier New""><br></span></b></p><p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;text-align:center;line-height:normal;tab-stops:0in;text-autospace:none" align="center"><b><span style="font-size:14.0pt;font-family:"Courier New"">customizing_</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;text-align:center;line-height:normal;tab-stops:0in;text-autospace:none" align="center"><b><span style="font-size:14.0pt;font-family:"Courier New""> </span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;tab-stops:0in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;tab-stops:0in;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">#install requirements</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudo
apt-get install squashfs-tools genisoimagechroot</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">#create new working directory</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">cd
~</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">mkdirlivecdtmp</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""># copying the isofile to the working directory</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">cp
Desktop/edubuntu-10.04-dvd-i386.iso livecdtmp/</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">cdlivecdtmp</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">#mount the iso image</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">mkdirmnt</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudo
mount -o loop edubuntu-10.04-dvd-i386.iso mnt/</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">#extractiso contents</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">mkdir
extract-cd</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">rsync
--exclude=/casper/filesystem.squashfs -a mnt/ extract-cd</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">#Extract the SquashFSfilesystem</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudounsquashfsmnt/casper/filesystem.squashfs</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudo
mv squashfs-root edit</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""><span style=""> </span>#if this provide an
error use this way</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">mkdir
squash</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">mkdir
edit</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudomodprobesquashfs</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudo
mount -t squashfs -o loop mnt/casper/filesystem.squashfs</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudocp
-a squashfs/* edit/</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">#making network available for live image</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudocp
/etc/resolv.conf edit/etc/</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">#copying needed files</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif"">sudocp
/etc/hosts edit/etc/</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Bookman Old Style","serif""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#chroot</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudo mount --bind /dev/ edit/dev</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudochroot edit</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">mount -t proc none /proc</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">mount -t sysfs none /sys</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">mount -t devpts none /dev/pts</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">export HOME=/root</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">export LC_ALL=C</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#copy archive files you have
to the live image</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">open a terminal and run command</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">gksu nautilus /home/username/livecdtmp/edit</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">copy archive folder to /home/</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">nano /etc/apt/sourcers.list</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">add this line to end of file</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">deb file:///home/archives/ ./</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">save and exit from nano</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">apt-get update</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New""># install all needed
softwares as this</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">apt-get install gimp</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New""># To add custom backgrounds,
copy background files to this location</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">/usr/share/backgrounds</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#check user id</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">awk -F: '$3 > 999' /etc/passwd</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#If you get any hits, try
changing the uid:</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">usermod -u 500 $hit</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#cleanup</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">aptitude clean</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">rm -rf /tmp/* ~/.bash_history</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">rm /etc/hosts</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">rm /etc/resolv.conf</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">rm /var/lib/dbus/machine-id</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">rm /sbin/initctl</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">dpkg-divert --rename --remove /sbin/initctl</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#to exit chroot</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">umount /proc || umount -lf /proc</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">umount /sys</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">umount /dev/pts</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">exit</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudoumount edit/dev</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#if "umount /proc"
command fails, "umount -lf /proc" will be used to retry
automatically. </span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#Change the plymouth theme</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">mkdirinit-tmp</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">cdinit-tmp/</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">lzma -dc -S .lz
../extract-cd/casper/initrd.lz | cpio -id</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#open folder and do editing</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New""> </span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">find . | cpio --quiet --dereference -o -H
newc | lzma -7 > ~/new-initrd.lz</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#assembling the file system</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">chmod +w
extract-cd/casper/filesystem.manifest</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudochroot edit dpkg-query -W
--showformat='${Package} ${Version}\n' >
extract-cd/casper/filesystem.manifest</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudocp extract-cd/casper/filesystem.manifest
extract-cd/casper/filesystem.manifest-desktop</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#Compress filesystem</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudorm extract-cd/casper/filesystem.squashfs</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudomksquashfs edit
extract-cd/casper/filesystem.squashfs</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#Update the filesystem.size
file, which is needed by the installer:</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">printf $(sudo du -sx --block-size=1 edit |
cut -f1) > extract-cd/casper/filesystem.size</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#Set an image name in
extract-cd/README.diskdefines</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudonano extract-cd/README.diskdefines</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#Remove old md5sum.txt and
calculate new md5 sums</span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">cd extract-cd</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudorm md5sum.txt</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">find -type f -print0 | sudoxargs -0 md5sum |
grep -v isolinux/boot.cat | sudo tee md5sum.txt</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><b><span style="font-size:14.0pt;font-family:"Courier New"">#Create the ISO image </span></b></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">sudomkisofs -D -r -V "$IMAGE_NAME"
-cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot
-boot-load-size 4 -boot-info-table -o ../isurulinux-11.10-desktop-amd64.iso .</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New"">qemu -cdrom ubuntu-9.04.1-desktop-i386-custom.iso
-boot d -m 512</span></p>
<p class="ecxMsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"><span style="font-size:14.0pt;font-family:"Courier New""> </span></p>
<p class="ecxMsoNormal"><span style="font-size:14.0pt;line-height:115%"> </span></p>
<p class="ecxMsoNormal" style="text-align:center" align="center"><a name="_GoBack" target="_blank"><span style="font-size:21.0pt;line-height:115%">END</span></a><span style="font-size:21.0pt;line-height:115%"></span></p>
</div></div> </div></body>
</html>