How to create a remaster to usb?

Dazed_75 lthielster at gmail.com
Mon Dec 31 16:20:42 MST 2012


Clonezilla works if what he wants is really a total clone.  But if he is
really looking to make an installable .iso on a USB stick, he may want to
use something like http://www.remastersys.com/ubuntu.html or
http://www.remastersys.com/debian.html ro make a kiveCD/USB .iso and then
one on the many utilities to put that on a USB stick.

Depending on the customizations desired, one might also consider
remastering an OEM version of the Kubuntu .iso.  I don't know if there is
an official one like there is for Mint, but the OEM version lets you do the
install but leave user details out until the first run from hard disk.
E.g. http://ualinux.com/en/ubuntu-oem

Actually, I don't think there is an official OEM release, but search for
OEM in http://ubuntuguide.org/wiki/Kubuntu_Quantal_System_Backup

Regards
Larry

On Mon, Dec 31, 2012 at 3:56 PM, Derek Trotter <expat.arizonan at gmail.com>wrote:

>  Clonezilla will do that for you.
> http://clonezilla.org/
>
>  On 12/31/2012 03:12 PM, joe at actionline.com wrote:
>
> What is the easiest way to create a clone of a kubuntu
> installation that now exists on one computer (/ and /home)
> and install the exact same thing as an iso on another computer?
> I now have created a 90-gig free-open space partition
> on a 250-gig HD along with win7 in the first 100-gig.
>
> Searching the 'net, I found several possible scenarios,
> including 'Remastersys,' 'Relinux,' and the following:
> http://www.hardwareforums.com/threads/remaster-your-own-kubuntu-livecd.17927/
>
> Some of which suggested code includes this:
>
> rn kubuntu-7.04-desktop-i386.iso
>
> mkdir /mnt/loop
>
> Loopback mount the .iso - but first create the directory "/mnt/loop" Code:
> mkdir /mnt/loop
> Or create the directory graphically. This command makes the LiveCD
> accessible in /mnt/loop Code:
>   mount -o loop /path/to/feisty.iso /mnt/loop
> Create a directory / folder Kubuntu-rebuild in "~/"[ot]mine is
> /home/dave[/ot]next Code:
>   rsync -ax loop /path/to/LiveCD.iso /mnt/loop/. kubuntu-rebuild
> Assume you downloaded it to desktop be ~/feisty.iso
> Use SquashFS & squashfs-tools to loopback mount the filesystem Code:
>   mount kubuntu-rebuild/casper/filesystem.squashfs /mnt/loop -t squashfs
> -o loop
> /mnt/loop contains the compressed ubuntu from the LiveCD
> copy /mnt/loop to a new directory in your home diiretory (/home/<username>)
> So you now have the compressed CD in home directory (~/kubuntu-source). Code:
>   rsync -av /mnt/loop/. ~/kubuntu-source
>   unmount /mnt/loop
> copy /etc/resolv.conf to ~/kubuntu-source/etc and[code]chroot
> ~/kubuntu-source
> Now you are basically running the LiveCD without booting it
> Remove software you do not want. Be careful to not remove essentials.
> Add software you want with apt-get. Anything you add or remove will be
> your LiveCD. Code:
>   apt-get install gparted
>
> After typing "exit" you can leave remaster alone and continue with it later.
> If you reboot before issuing the exit command, at the next boot continue
> as normal.
> When finished editing, type "exit" to leave the kubuntu LiveCD.
> Make a list of files to be on the remastered LiveCD. Code:
>
>   sudo chroot kubuntu-source dpkg-query -W --showformat='${Package}
> ${Version}\n | grep -v deinstall >
> ~/kubuntu-rebuild/casper/filesystem.manifest
>
> Rebuild SquashFS filesystem image. Patience. Takes a while to complete. Code:
>
>   mksquashfs kubuntu-source/ kubuntu-rebuild/ casper/filesystem.squashfs
> -noappend
>
> Update the MD5 checksums to verify the .iso is completed and works. Code:
>
>   cd /kubuntu-rebuild && find . -type f -print0 | xargs -0 md5sum >
> md5sum.txt
>
> Build new .iso image. Code:
>
>   mkisofs -r -V "My Custom Kubuntu" -cache -iodes -J -l -b isolinux.bin -c
> isolinux.bin -c isolinux/ boot.cat -no-emul-boot -boot-load-size 4 -boot
> info-table -0 newkubuntu.iso kubuntu-rebuild
>
> New Kubuntu Live is called newkubuntu.iso
>
> == comment: easier w UNK Reconstructor and others.
>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> --
> "I get my copy of the daily paper, look at the obituaries page, and if I’m not there, I carry on as usual."
>
> Patrick Moore
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



-- 
Dazed_75 a.k.a. Larry

Please protect my address like I protect yours. When sending messages to
multiple recipients, use the BCC: (Blind carbon copy). Remove addresses
from a forwarded message body before clicking Send.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20121231/e537a22d/attachment.html>


More information about the PLUG-discuss mailing list