I’m trying to find out how I can build a rescue system like the one on the official openSUSE installation DVD. I’m asking because I would like to extend the current one in a few ways for my own use (integrating my own scripts etc.). I know that it’s basically a squashfs file system (actually two) that’s started from initrd of the installation DVD. I’m aware of the article https://en.opensuse.org/SDB:Rescue_system_on_disk but simply extending the current rescue system as described there will not really work for me. I would really like to build my own.
I know about the build service and kiwi and Studio Express and I would assume that the rescue system on the installation DVD is built with kiwi or something similar but after searching for a while I couldn’t find anything helpful. Could someone point me in the right direction how to go about this? A certain template for the build service or a kiwi file for the rescue system for example? I do not about the “JeOS” templates but they create bigger systems and I assume that the rescue system is different from those in some ways.
By the way: I’m not looking for a system that will run in a virtualized environment. I’m really looking for something running on “bare metal”, so, for example, it needs to load all the necessary drivers to support the usual mass storage devices when booting just like the normal rescue system.
If a LiveCD or rescue CD you like is pretty close to what you want, I don’t know if I’d go through all the work of creating a new image with Kiwi…
I’d use Kiwi if I wanted to install or remove packages and apply any special configurations…
But, If all I wanted to do was add a few scripts to a CD image that already has 99% of everything I’d want,
I’d just rip the existing image, add my scripts and then burn the new image.
There are even standard DVD/CD burn apps that can do everything for you.
So it seems that I have the choice between either modifying the existing rescue system image (which I would like to avoid since I don’t just want to add some scripts but also some packages and then I’d have to figure out manually how to fulfill all dependencies) or starting with a “JeOS” kiwi system and trying to strip it down and make it behave much like the rescue system. I was hoping that there were build instructions for the rescue system and the rescue system could thus be modified and rebuilt by everybody just like all the software packages (RPMs) and system images built by kiwi.
Command line would be fine (or rather a simple ncurses-based text-mode UI like the “dialog” utility). I’m trying to create a system that will run on practically any hardware and would like it to be as small as possible at the same time - just like the rescue system. But in the end it will have a very simple text-mode UI so that any user can use it to create and restore backups of “complete” Linux systems (and some more functionality).