Minimum required for chroot install?

Other talk about Salix
Post Reply
linus72
Posts: 79
Joined: 1. Dec 2009, 00:12

Minimum required for chroot install?

Post by linus72 »

hey guys, Happy 4th of July!

I want to install the most minimalistic system possible either in a partition or in a chroot (folder residing in existing system)
basically I need just slapt-get and networking to begin with.

how to do this from either Slackware CD or from a Salix CD?

I do not want make, or other unneeded stuff for now.
thanks
User avatar
gapan
Salix Wizard
Posts: 6353
Joined: 6. Jun 2009, 17:40

Re: Minimum required for chroot install?

Post by gapan »

There is no easy way to install the most minimalist system possible with salix. The most minimalist you can get is the core installation, but that also gives you a complete development environment, internationalization support through glibc and a few other stuff. You could start with a salix iso, remove all packages from the basic and full directories and then also remove all packages from the core directory you don't think you need.

I remember there are a couple of threads in the linuxquestions forums about installing the most minimalist slackware possible. Those apply to salix as well of course. If you need slapt-get, you'll have to install all it's dependencies too of course.
Image
Image
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Minimum required for chroot install?

Post by Shador »

If you don't want to pull slapt-get dependencies in and don't want to rebuild it statically, which could require you to rebuild some deps too, you can run the tool statifier on your slapt-get binary to acquire a static binary. It works as long as you're not trying to run the 32-bit version on a 64-bit kernel.
You could also use spkg to batch install a bunch of packages you previously downloaded, e.g. through slapt-get. spkg offers a --root option for that purpose.
Image
Post Reply