Booting it up
The command Setup starts the installer.
The following screenshot is of it running in a desktop terminal.
Pre Configured Settings
You will notice that there are already some pre configured settings. At this point all you have to do is select a TARGET to INSTALL to. SOURCES with accompanying pkgslists and postinstall SCRIPTS are all pre set to factory default. Learn more about the Installer here
All settings are persistant but not permanent. You can set and reset device, partition, source, pkgslist etc... to your hearts content EXIT out of the installer and start it back up again to find all your setting are still saved. Nothing is set in stone until the INSTALL and even then all your setting will be safe. You can choose another TARGET and install again if you wanted to. Only a reboot will reset everything back to defaults. If using the installer from a running system and not the boot disk your SOURCES pkgslists and postinstall SCRIPTS will persist after a reboot but TARGET will not.
- The HELP is not available yet.
- I'll get around to it eventually. For now these tutorials will have to suffice.
- The boot img comes with the lynx web browser and can be used to read this site.
Connecting to a Network
NO Sources are provided on the boot disk. You must have a network connection. So the first thing to do is select NETWORK and connect to your LAN or internet directly. There is limited wifi support.
After connection to a network the next option is ADDSWAP. This does nothing and is just a place holder. It's there because everyone expects it to be. I generally don't use swap partitions. Instead I prefer a swap file. This is easily setup after the first login by running the 'swapit' command. If you like to use swap partitions and have already added them to your drive just add them to your fstab file later.
Selecting a Target
If you have already partitioned your hard drive select PARTITION and format as needed. At this time only EXT4 is supported for the root / partition.
You can MOUNT/UMOUNT partitions manually if desired. The INSTALL should mount the root device automatically. If it fails to, try doing it manually and run INSTALL again.
Partitioning a hard drive
IF you have not already partitioned the drive then select DEVICE so you can do so. GPT and MBR partitioning are both available options. When selecting the GPT option if you are installing to a fresh drive then you will most likely want to do a fresh partitioning. Choosing so will automatically create a grub partition where the bootloader will go and a root partition will take up the rest of the drive, this may be undesirable especially if you have a large drive. When you are dropped into the partition manager just delete the second partition and create a new one to your liking.
An aside here. I normally install to just one root partition. No fancy schemas not even one extra home partition. Whatever partitions need to be mounted at boot time I just add to fstab post install. So at this time mounting complex partitioning arrangements is not yet supported as it is in the official slackware installer. This capability really should be supported and I will most likely add it at some future date.
Once the target is selected a message will show up in the dashboard of the installer that says...
Root Device: /dev/sdX#If it is mounted it will look like...
Root Device: /dev/sdX# /mnt/sdX#Where sdX# is your drive partition.
At this point all source settings are set so all you have to do is select INSTALL and wait for the install to complete.
Post Install Configuration
After the INSTALL is complete it is time to CONFIGURE.
- Set a root user PASSWD. If left blank 'root' will be the password. A special distro user account is added from the postinstall scripts where passwd is also distro (be sure to change this later). All other accounts you can add after your first boot up. The sbuser command is a quick and convenient tool to add new users.
- Select GRUB if you are installing that. If you are not installing Grub the D_1_grub_menu_entry.sh postinstall script will create a /boot/grub-menu-entry file that you can just append to your existing grub.cfg. You can remove this script from running if you want to as installing Grub will set everything up for you anyway. I keep it around just for grins.
- RC lets you choose which rc.xx scripts run at boot time.
- When done with configuring select RUN to run the postinstall script.
The First Boot
If you chose to install Grub then your new installation should be ready for booting up now. Read number 2 above. If you have installed to a hard drive that already has a boot loader. Then be sure and add the appropriate lines to the configuration file. Slackbuilder does not use lilo at this time. If you use lilo then you probably already know how to add a new install to your lilo.conf file. If Grub is your boot loader then just append the /boot/boot-menu-entry file to your existing grub.cfg. And reboot to login to your new installation.
Note: There are still some things to configure after the first login; like setting the clock, network, adding user accounts etc...
There is a special user 'distro' with password distro <-- (you need to change) you can login to to get started. Or...
You can create user accounts with the 'sbuser' command or whatever you prefer.
Using 'sbuser -a username' will setup a new user with proper access to things like the sound, video, netdev etc...
Starting the desktop
SlackBuilder uses Openbox for its default desktop and can be started with 'startopenbox'.
To configure the display: From a terminal run the command 'Randr'. To change the background image run 'Setbg'.
To turn on/off session startup scripts run 'sbstartup'. Put your own scripts in ~/.config/sb_autostart/ and they will appear in the sbstartup app.
These commands can also be run from hot keys. Using the Mod4 ( also known as the Windows or Google search key) and a letter combo...ie:
- d: for display...starts Randr
- w: for wallpaper...starts Setbg
- a: for autostart...launches the sbstartup configuration app
- b: starts Browser
They can also be run from the system application menus.