Matthias Šubik wrote: > I'm getting further!!! > > sorry, but swup only worked after installing other libs in the root, > it doesn't seem to work in an empty partition, so manual creation of / > var/lib/rpm and other folders is required. > > But I got that far, AND I got mkinitrd working, since the list of > modules is empty, I did a trial-n-error session here as well, and now > the machine boots, up to login, but after putting in root as > username, the password prompt never appears. > Probably a /etc/passwd /etc/shadow related problem, but I'll boot in > rescue tomorrow, then creating a root user password, and we'll see. > > I'll probably release this kind of "installer" as a shell script, > since I need to have it documented in case this machine needs > reinstalling.
If you accept python as scripting language, it's all there in the viper installer. Check out the swup-somethin'-somethin'-module of viper, and find the exact steps it uses to run swup, including preparing the chroot before installing, and what packages needs to be installed first and last. You'll also find every other mandatory file it writes, so that you'll get your bootable system. Since viper was written to suit a proprietary license, it's only a script, not using any APIs at all. > > Stylewise it might look like the openbsd installer (just reads > variables from the console). After that I'll have to look at the > rescue build process, since I need a few more things in rescue that > would be needed on other machines (e.g. mdadm). > > that's so far ... > In case I succeed tomorrow I'll dance around the server room and > write afterwards .... It never ceases to amaze me how far some are willing to go to install this distribution.. Particularly since I personally switched distribution on all my private servers long before I stopped being a Trustix developer. It just made me uneasy running TSL when I knew the very limited development resources it got, compared to many other, equally secure, distributions. There has to be something valuable hidden herein, that I've not yet discovered... ;) I'm glad Comodo is still using it for the Psoft products, like CP+ and H-Sphere. That's probably the only reason Comodo keeps doing financial backing. :) Although, it's very hard to find any current references to Trustix on www.psoft.net, so my guess is that they're moving those products off the TSL platform. The most suitable choice for a new psoft platform would be CentOS I guess. Time will tell. When I think about it, the only product that's only offered on the tsl platform would be NOC-Monkey, a system to use a web frontend to reinstall various distributions on dedicated web-hosting servers. But since it's just a web frontend, and some scripts, it should be easy to port to other platforms, so I'm not even sure about that one. Anyway. Check out the swup module of viper, and you'll have the exact steps used during installation. Should be helpful. Kind regards c -- Christian Haugan Toldnes Teenage Mutant Ninja Turtle _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
