Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed


  • Sponsor



  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

Creating Custom Ubuntu Live-CD With Remastersys

Posted by admin on February 19th, 2008 Email This Post Email This Post

Remastersys is a tool that can be used to do 2 things with an existing Klikit or Ubuntu or derivative installation.It can make a full system backup including personal data to a live cd or dvd that you can use anywhere and install. It can make a distributable copy you can share with friends. This will not have any of your personal user data in it.

Install Remastersys in Ubuntu

The Remastersys repository needs to be added to your /etc/apt/sources.list

sudo vi /etc/apt/sources.list

Paste the following into the sources.list:

# Remastersys
deb http://www.remastersys.klikit-linux.com/repository remastersys/

Save and exit the file.

Update the source list using the following command

sudo apt-get update

Install remastersys using the following command

sudo apt-get install remastersys

This will complete the installation

Using Remastersys

In order to learn how you can use remastersys, run

sudo remastersys

remastersys Syntax

sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]

remastersys Examples

1) to make a livecd/dvd backup of your system

sudo remastersys backup

2) to make a livecd/dvd backup and call the iso custom.iso

sudo remastersys backup custom.iso

3) to clean up temporary files of remastersys

sudo remastersys clean

4) to make a distributable livecd/dvd of your system

sudo remastersys dist

5) to make a distributable livecd/dvd filesystem only

sudo remastersys dist cdfs

6) to make a distributable iso named custom.iso but only if the cdfs is already present

sudo remastersys dist iso custom.iso

cdfs and iso options should only be used if you wish to modify something on the cd before the iso is created. An example of this would be to modify the isolinux portion of the livecd/dvd

Creating An ISO Image

To create an iso image of your installation, simply run

sudo remastersys dist

This will create an iso image called customdist.iso in the /home/remastersys directory. The dist option makes that your personal folder (e.g. /home/ruchi) will not be included in the iso image. You might have to insert your Ubuntu installation CD during the process.

This is how the end of the process looks:

[...]
92.16% done, estimate finish Wed DEC 28 15:31:25 2007
93.39% done, estimate finish Wed DEC 28 15:31:25 2007
94.62% done, estimate finish Wed DEC 28 15:31:24 2007
95.85% done, estimate finish Wed DEC 28 15:31:24 2007
97.08% done, estimate finish Wed DEC 28 15:31:25 2007
98.31% done, estimate finish Wed DEC 28 15:31:25 2007
99.54% done, estimate finish Wed DEC 28 15:31:25 2007
Total translation table size: 2048
Total rockridge attributes bytes: 3950
Total directory bytes: 9094
Path table size(bytes): 54
Max brk space used 0
406890 extents written (794 MB)

/home/remastersys/customdist.iso is ready to be burned or tested in a virtual machine.

Check the size and if it is larger than 700MB you will need to burn it to a dvd

796M /home/remastersys/customdist.iso

Clean Up

After you’ve burnt the iso image onto a CD/DVD, you can run

sudo remastersys clean

to remove all temporary file created during the iso generation as well as the /home/remastersys directory.

Share/Save/Bookmark

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

16 Responses to “Creating Custom Ubuntu Live-CD With Remastersys”

  1. Sx66gns Says:

    Hell yea mate! thanks.

  2. fajar Says:

    Thank you very much.
    Very nice article.

  3. Primus Says:

    I would like to download this program but repository doesn’t work any more I thought that I was doing something wrong, but when i paste the path for repository in firefox it say 404. So something must be wrong with this
    repository or server.

  4. Primus Says:

    I have found other repository:
    deb http://www.linuxmint.com/repository romeo/

  5. rationalperseus Says:

    try this way:

    gksu gedit /etc/apt/sources.list

    add:

    # Remastersys
    deb http://www.remastersys.klikit-linux.com/repository remastersys/

    at the end.

    sudo apt-get update

    and after that on with installation…

  6. Quiz_Master Says:

    Nice guide..Thanks a LOT for this…

    Sorry for n00b Question but I want to save new ISO to a custom location instead of /home/remastersys
    How can I do that ??

  7. Frank Says:

    Hell yeah,
    Just what I was looking for.
    Can’t wait to give it a try ;)

  8. Prakash Says:

    Hi. Nice guide for remastersys.

    I am using remastersys in creating ubuntu based customized work. I compiled my kernel and created a new vmlinuz. Now I booted into my new compiled kernel image and then created an live dvd using remastersys.
    I burn it in DVD and boot it from DVD. it entered into live cd mode. But it stops with a screen,

    ==============================================
    BusyBox v1.1.3 (Debian 1:1.1.3-5 Ubuntu7) Built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.
    (initramfs)
    ==============================================

    I dont know where I m doing mistake.
    Help me to resolve my problem.

    -Prakash

  9. DarkNet Says:

    I’m am having the same problem …. I can use remastersys fine makes the iso i burn it …. when i go to boot it it get to the boot menu … then after i make any selection… it starts to do what i pick (eg. start safe gfx mode) then it drops me to an ash shell …. never evern seen this shell before until now ….. the md5 cheaks up so i’m not sure …… one thing i did notice this time when i booted in i have a new kernnel in my menu … guess it updated …. would that have some thing to do with it maybe ….

    any help in this matter would be greatly aperasheated —

    lol mind my spelling

    Thanx in advance DarkNet

  10. DarkNet Says:

    sry i guess i should have added it dose the same in VBox OSE

  11. DarkNet Says:

    lol using hardy 8.04 sry about the choppy posts feel free to merge them ……. sry writting these on my breaks from work and attemping to slove the issue as well and if i do slove it i’ll put how i did it here.

  12. DarkNet Says:

    so i got it to work thou it boots very slowly but it works! what i did is purged all extra linux images so i was left with one then reran remastersys then instead of droping me to ash it said error 15 file not found … so i copied linux-2.6.24* and initrd.img-2.6.24* to the remastersys casper dir …. and moded the grub menu.1st accordingly then ran remastersys again but only making the image. …. i can post the commands if anyone needs them lazy now

    Namaste

  13. DarkNet Says:

    lol tired to … can the mod change copied linux-2.6.24* to vmlinuz-2.6.24* Thanx

  14. browncoa-rabeye Says:

    Just wanted to say thanks! I found this site while looking for something else, but it works perfectly! :)

  15. Cariboo Says:

    Unfortunately ‘Remastersys’ is not working for Ubuntu 8.04-amd64!

  16. cube Says:

    criboo is a n00b remastersys worked fine for me on 8.04 AMD64

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>