Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need a very small custrom made distribution that I can use to boot my system (add to boot options of an Ubuntu CD) that will mount the filesystem on disk and make some changes to it (install packages, copy files etc.)

I can modify the existing debian-installer image on ubuntu ISO by extracting, modifiying it and making a new archive, but I believe it is not the way. Since it will sit on the normal Ubuntu ISO, it needs to be very small. So options like remastersys are not fit for me. I have been looking into Damn Small Linux, but I also modify the normal ubuntu installation and I have no idea to make the both available to boot in the menu.

What is the common way to accomplish this task?

share|improve this question
    
Does it have to be a standard Ubuntu CD? The way I would probably do this is by creating a CD image with Grub2, and adding the Ubuntu ISO and small Linux ISO (DSL or SliTaz if you want something even smaller) to that. Then you can use Grub2's loop-booting-feature to boot the ISO images directly. –  user55325 Jul 20 '12 at 3:19
    
Put a custom static build of busybox in an initrd.gz and add a boot entry. –  technosaurus Jul 20 '12 at 3:31
    
@user55325 It does not have to be Ubuntu CD, it just needs to be able to boot my custom installation and my custom little distro. –  Mustafa Jul 20 '12 at 7:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.