How To: Create a Custom Ubuntu Install CD - PERFECT

Discussion and support for all Linux distributions and Unix flavours (FreeBSD, OpenBSD, etc).
Post Reply
DAE_JA_VOO
Registered User
Posts: 12310
Joined: 28 Nov 2005, 02:00
Location: That other place
Contact:

How To: Create a Custom Ubuntu Install CD - PERFECT

Post by DAE_JA_VOO »

How's it guys :D

A few weeks ago i discovered an absolutely fantastic app, called Remastersys.

It takes your current Ubuntu setup and builds a live, installable CD out of it, including your bookmarks, including the random files on your desktop, etc etc etc. It makes a REPLICA of your current install and builds it into an installable version, which is really fantastic.

So, i thought you guys might like a guide on how to use it :)

Step 1

The first thing you need to do is add the Linux Mint romeo repository to /etc/apt/sources.list and update the package database:

Code: Select all

echo "deb http://www.linuxmint.com/repository romeo/" >>/etc/apt/sources.list
apt-get update

Step 2

All you do now is install remastersys:

Code: Select all

apt-get install remastersys
Close the terminal when it's done.



Step 3

Now that it's installed, all you need to do is open up the terminal again, and type:

Code: Select all

sudo remastersys backup custom.iso
Obviously you'll replace "custom.iso" with whatever name you want for your iso.

Once you type that, it will start working, and soon it will ask you for your 7.10 disc. Once you've inserted the disc, it'll do some copying and whatnot, and then spit your CD out again. After some more work, it'll tell you where the iso is (home/rematersys/custom.iso).

Step 4

All you do now is burn that ISO to a DVD with whatever app you use (i use K3B) and install! I did it this afternoon for the first time and it was pretty fast too!



Step 5

Once you're done, just type

Code: Select all

sudo remastersys clean
That will delete the created directory.


Now, if you wanna do a REALLY custom build, you should reinstall Ubuntu, but not the normal way, do it via the "install a command line" method. That will install only what's absolutely NECESSARY for the OS to work. There will be no desktop environment, NOTHING, just the command line. That way, YOU will install each and every package on that PC yourself, so you won't have junk you never use. Once you're finished building your OS up, you remastersys it! I plan to do this soon :)

Enjoy!
That guy that used to mod cases. Now I take photos. True story.
WAJeff
Registered User
Posts: 28011
Joined: 30 Jun 2006, 02:00
Location: /dev/sda1/home
Contact:

Post by WAJeff »

Excellent Ett!! Im gonna do this when I get back from work today :D
WAJeff
Registered User
Posts: 28011
Joined: 30 Jun 2006, 02:00
Location: /dev/sda1/home
Contact:

Post by WAJeff »

Installed :D

I'll run the backup tonight while I sleep so I can burn the iso sometime tomorrow morning


This is awesome dude, its really usefull for "clean" installs. Now we wont have to add packages, configure displays etc etc



:notworthy:
DAE_JA_VOO
Registered User
Posts: 12310
Joined: 28 Nov 2005, 02:00
Location: That other place
Contact:

Post by DAE_JA_VOO »

Hahaha Glad you like it man :D

I've got a problem with my current Ubuntu install so i'll just use the one i made when i started this thread to install my custom setup :D

By the way, the backup doesn't take too long. Maybe 20 minutes or so ;)
That guy that used to mod cases. Now I take photos. True story.
AlphA
Registered User
Posts: 3213
Joined: 15 Mar 2005, 02:00
Location: JHB
Contact:

Post by AlphA »

Thanks DAE - this is an excellent tool. I've been looking for something like this for a while ......tried others .....didnt work too well.

I'll give this one a shot when I get back home.

Does it backup ALL filesystems on your disk or just the root filesystem?
Image
DAE_JA_VOO
Registered User
Posts: 12310
Joined: 28 Nov 2005, 02:00
Location: That other place
Contact:

Post by DAE_JA_VOO »

AlphA wrote:Does it backup ALL filesystems on your disk or just the root filesystem?
Hmmm... i'm not sure. But from what i can gather, it seems to backup your current install EXACTLY the way it is.
That guy that used to mod cases. Now I take photos. True story.
AlphA
Registered User
Posts: 3213
Joined: 15 Mar 2005, 02:00
Location: JHB
Contact:

Post by AlphA »

DAE_JA_VOO wrote:
AlphA wrote:Does it backup ALL filesystems on your disk or just the root filesystem?
Hmmm... i'm not sure. But from what i can gather, it seems to backup your current install EXACTLY the way it is.
Dont worry abou ( . )....I'll play with it when I get home. Thanks again for sharing.
Image
WAJeff
Registered User
Posts: 28011
Joined: 30 Jun 2006, 02:00
Location: /dev/sda1/home
Contact:

Post by WAJeff »

Im busy using my "clean" install at the moment, the only thing I had to do was reinstall my GFX drivers, and Im A for away :D

Themes are still here, icons, apps etc etc etc. Everything is back to normal, and I sorted out the mount issue I was having, thanks to OpenSUSE :twisted:
DAE_JA_VOO
Registered User
Posts: 12310
Joined: 28 Nov 2005, 02:00
Location: That other place
Contact:

Post by DAE_JA_VOO »

Awesome :D
That guy that used to mod cases. Now I take photos. True story.
Post Reply