Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Slightly easier than Arch.

Just install everything when it asks you to. You can ignore the kdei disk set if you speak English (and have no plans to run KDE in, say, Urdu), and the kde disk set if you do not need KDE altogether.

Since there is no dependency resolution, when you install from SlackBuilds.org (Slackware's AUR, more or less), you have to install each package's dependencies as well. These are listed in the package info file and tools like sbopkg let you install many packages at a go through a queueing system, so this is not as bad as it sounds.

The benefit of this is a completely user-configurable system, and a lack of errors when you hosed the dependency resolver since there's no resolver to hose. :)



I just wish slack had something comparable to mkinitcpio that arch has, which makes it much easier to set up an initial ramdisk for an encrypted root partition.


README_CRYPT.TXT in the root of the distribution[0] describes how to do this, step by step, including the relevant theory so you know what you're doing. After all of that it shows you the /usr/share/mkinitrd/mkinitrd_command_generator.sh command which you can use to generate the command that you need to build the initrd. Quoting from the docs:

    The mkinitrd package in Slackware 14.0 (and on) ships with a script called
    'mkinitrd_command_generator.sh'.  If you run this script, it will analyze
    your Slackware configuration and make a smart suggestion about the 'mkinitrd'
    command you have to type in order to create an initrd.gz with all the bells
    & whistles.  The script will recognize your kernel version, root partition
    and filesystem, it will find out if you are using LUKS and/or LVM and will
    determine what kernel modules your initrd needs to mount the root filesystem.
    The following command will save you the headache of figuring this out all
    by yourself:

      # /usr/share/mkinitrd/mkinitrd_command_generator.sh -r

    It should emit a string like this (your system will probably give different
    parameter values):

    mkinitrd -c -k 3.14.10-smp -m ext3 -f ext3 -r /dev/cryptvg/root -C /dev/sdx2 -L
The administrator of that machine can examine the output of that command and determine if it is correct after reading the theory about how the initrd needs to be built. If it is, it's a simple one liner, but if not, it's simple enough to either write a wrapper script or copy the script to /usr/local/sbin/mkinitrd_command_generator.sh and make the necessary changes.

[0] ftp://ftp.slackware.com/pub/slackware/slackware64-current/README_CRYPT.TXT


Well there is mkinitrd...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: