Comments on Creating Your Own Custom Ubuntu 7.10 Or Linux Mint 4.0 Live-CD With Remastersys
Creating Your Own Custom Ubuntu 7.10 Or Linux Mint 4.0 Live-CD With Remastersys This guide shows how you can create a Live-CD from your Ubuntu Gutsy Gibbon or Linux Mint 4.0 system with a tool called remastersys. Remastersys is available in the Linux Mint romeo repository. You can customize your Ubuntu/Linux Mint system and then let remastersys create an iso image of it which you can then burn onto a CD/DVD.
8 Comment(s)
Comments
It's cleaner to add the repository as a separate file. So instead of
- echo "deb http://www.linuxmint.com/repository romeo/" >>/etc/apt/sources.list
You could use something like
- echo "deb http://www.linuxmint.com/repository romeo/" >>/etc/apt/sources.list.d/romeo.list
You could also use wget to download a premade romeo.list file to the appropriate location.
You could also pipe the output of the echo command into the tee command to create the list file. For example:
- echo "deb http://www.linuxmint.com/repository romeo/" | sudo tee /etc/apt/sources.list
Thanks falko for the great effort you put in this. If anyone uses this tutorial and have a problem to use root account, then you have to upgrade to a newer version. Latest for now is 2.0.2 (found here http://loscompanion.com/forums/index.php?topic=1962.0)
Thanks for this interesting article.
When installing remastersys on Ubuntu Hardy the following error may occur:
...
The following packages have unmet dependencies.
remastersys: Depends: mkisofs (>= 0.0-0)
E: Broken packages
...
To get remastersys to install anyway don't install the repository mentioned above or comment out the line
deb http://www.linuxmint.com/repository romeo/
And instead add the following repository:
deb http://www.remastersys.klikit-linux.com/repository remastersys/
Thanks to jfrice for providing the solution (post #6): http://ubuntuforums.org/showthread.php?t=685911
1. It will use the partition containing /home, and if it doesn't have room (more free space than most of the filesystem combined) your system will appear to lock as it pages and thrashes at 100% disk usage on that partition.
2. It temporarily changes the UIDs so they are all under 1000 - required for "live" CDs - so you will lose permissions to your own files (if you open a new window) and created files will be wrong UIDs when restored. There is a passwdrestore file left in /home/remastersys that needs to be run, or you will have to reedit the /etc/passwd file.
I would suggest copying the /etc/passwd file to back it up.
There also appears to be NO method where the /home/remastersys can be redirected (e.g. symlink) or have remastersys use a drive with lots of space, so you can't really use it for a live backup unless you have the extra space in /home.
If anyone has a way around this I'd appreciate a post.
Dear All,
I have created the image of my existing Ubuntu 8.04.
Problem is whle trying to install thru the image , it directly going to initramfs prompt.
Please let me know how to solve this one.
Please let me know any Pre -configure is there before taking the backup image.
Thanks & Regards
K.Karthikeyan
I’ve personally never used remastersys but I am willing to try it, I tried reconstructor and it did not work for me I kept trying but nothing that I did seemed to work making changes to the liveCD (I tried the installable version, not the live version). The one I like the most is Ubuntu Customization Kit, which is free, simple and it works. I really thing i is the best option to create your own customized liveCD.
http://geekyprojects.com/ubuntu/build-your-own-custom-ubuntu-livecd/
I am running a custom Ubuntu variant called Bodhi, which uses the Enlightenment desktop environment. I tried a few methods to try & get my 'live' running system to iso. I spent ages installing & tweaking Bodhi, so I am going to give it another try & get it working okay.
I wasn't too sure if Remastersys would do a decent job of directly making the iso, & that it would boot okay under hardware, rather than virtualisation. I didn't want settings from the VM would to be hard coded into the iso, such that it would only use 1 CPU core, rather than 2 on my Dual Core machine. In addition to this, I couldn't get the screen res any higher than800x600 which was a real pain.
Thanks for the tutorial, very informative.
If your customizing the kernel, then make sure that the new kernel has squashfs and unionfs. If not do the following
links for patch:-
http://download.filesystems.org/unionfs/stable/
http://sourceforge.net/project/showf...ease_id=622329Patch the sources :
patch -p1 < unionfs-patchfile
patch -p1 < squashfs-patchfile
make menuconfig
<*>file systems-> Miscellaneous filesystems-> squashFS x.x
<*> file systems->Layered filesystems->Union file system
then make; make modules_install etc...
Now boot your system with new kernel and run remastersys dist..