How to Build Your Own Linux Distribution

Part 1 of 4:

Preparing to Install

  1. Install WinRAR if you don't have it. Since Windows doesn't have a program which can open ISO files as directories, you'll use this free program to open the ISO file for Slax later. Go to https://www.rarlab.com/download.htm (or go to https://www.rarlab.com/ and click Downloads on the left side), then do the following:
    1. Click WinRAR x64 (64 bit) 5.60 beta 5 near the top of the page.
    2. Double-click the downloaded setup file.
    3. Click Yes when prompted.
    4. Click Install
    5. Make sure the "ISO" box is checked.
    6. Click OK
    7. Click Done
  2. Open the Slax website. Go to https://www.slax.org/en/ in your computer's web browser. This is the website from which you can download Slax.
  3. Click Slax 64bit. It's on the left side of the page. Doing so prompts the Slax ISO file to download onto your computer.
    1. Unless your computer was manufactured in the 90s or early 2000s, don't use the 32-bit link for Slax.[1]
  4. Plug a flash drive into your computer. You can use any type of USB flash drive for this step, but the flash drive must have at least one gigabyte of storage space.
    1. Given that it costs less than $10 to buy a 16-gigabyte flash drive, you might want to purchase a flash drive which is larger than one gigabyte.
  5. Format the flash drive for NTFS. If your flash drive has never been formatted for NTFS, you'll need to change the file system on the flash drive to NTFS by selecting it from the "File system" drop-down menu in the Format window.
Part 2 of 4:

Installing Slax

  1. Right-click the downloaded Slax ISO. Doing so will prompt a drop-down menu.
    1. Make sure that Slax has finished downloading before you do this.
  2. Select Open with. It's near the middle of the drop-down menu. This prompts a pop-out menu to appear.
  3. Click WinRAR archiver. You'll see it in the pop-out menu. The ISO file will open in WinRAR.
  4. Select the "slax" folder. Click once the "slax" folder near the top of WinRAR.
  5. Click Extract To. It's a folder-shaped option at the top of the WinRAR window. Doing so opens a pop-up window.
  6. Select your flash drive's name. You'll find this option in the pop-up window.
  7. Click OK. It's at the bottom of the window. This will allow the "slax" folder to extract and copy to your flash drive.
Part 3 of 4:

Installing Modules

  1. Understand how modules work. Slax is a lightweight distribution, meaning that it only comes with a few absolutely necessary programs and services installed. By adding module files to your Slax installation flash drive, you can determine which programs, features, and graphical interfaces appear in your final distribution.
    1. Like Slax, modules are completely free to download and use.
  2. Open the Slax module page. Go to https://www.slax.org/en/modules.php in your computer's web browser.
  3. Select a category. Click any one of the categories (e.g., artwork) to view a list of its included modules.
  4. Find a module you want to install. Each listed module will have a description to the right of it, so scroll through the descriptions until you find one for a program or feature you'd like to include in your installation.
  5. Click 64bit. It's a button to the left of your preferred module.
    1. If this button is greyed out, you'll click 32bit instead. Almost all of the available modules are 64 bit.
  6. Repeat for any other module files. Once you've downloaded all of the modules you want to install, you can proceed.
    1. Don't worry about renaming or classifying the modules—they're all going to go in the same folder.
  7. Copy the module files. Click and drag your mouse to select all of your downloaded module files, then press Ctrl+C.
  8. Open your flash drive. If your flash drive is already open in a window, you're all set. If not, do the following:
    1. Press Win+E to open File Explorer (or type file explorer into Start and then click File Explorer).
    2. Click This PC on the left side of File Explorer.
    3. Double-click your flash drive's name.
  9. Open the "slax" folder. Double-click the "slax" folder at the top of your flash drive's window.
  10. Open the "modules" folder. Double-click the "modules" folder near the top of the window.
  11. Paste in the module files. Once the empty "modules" folder is open, press Ctrl+V to paste the module files into it.
Part 4 of 4:

Running Slax

  1. Re-open your flash drive. If you closed your flash drive, re-open it via File Explorer.
    1. If your flash drive is open, click the "Back" button in the top-left corner of the File Explorer, then skip the next step.
  2. Open the "slax" folder. It should be the only folder on your flash drive.
  3. Open the "boot" folder. This folder is near the top of the flash drive's window.
  4. Run the boot installer. Double-click the bootinst file in the "boot" folder, then click Yes when prompted. This will allow Slax to make your USB flash drive bootable.
  5. Press any key when prompted. Doing so signifies that your USB flash drive is now bootable.
  6. Open your computer's BIOS page. This will vary slightly from Windows computer to Windows computer, but you'll always start by restarting your PC. After the computer shuts down and begins to reboot, you'll press your computer's "BIOS" key, which will change depending on your computer's manufacturer.
    1. The "BIOS" key is usually one of the function keys (e.g., F12), the Del key, or something similar.
  7. Set your flash drive as the primary boot location. Again, this will vary depending on your computer's manufacturer. In most cases, you'll find the "Boot", "Advanced", or "Drives" section in which all of your computer's attached drives are, then you'll use the arrow keys to select your flash drive and press the + key to move the flash drive to the top of the list.
    1. Keep in mind that this will cause your computer to boot from the flash drive rather than its built-in hard drive whenever the flash drive is connected.
  8. Save and exit. Press the "Save and Exit" key that's listed in the key legend at the bottom or on the side of the screen.
    1. You may have to confirm this choice by pressing another key.
  9. Wait for the Slax startup icon to appear. Once you see the Slax four-leaf clover appear, Slax is opening. You should see the Slax desktop appear shortly after this point.
  10. View your installed programs. Click the four-box "Menu" icon in the lower-left corner of the screen to do so. You should see any module programs that you installed here.
    1. If you added any graphical modules, they will appear as part of your system. For example, if you added an icon module which changes the icons in your Slax distribution, the icons will be different upon booting.
    2. You can delete modules from or add modules to your flash drive at any time from within the "slax/modules/" directory.
4 ★ | 3 Vote

May be interested

  • 9 best Debian-based Linux distributions9 best Debian-based Linux distributions
    fortunately, debian's flexibility has made it a good base for other distributions, providing a more pleasant experience for those new to linux.
  • Compare the most popular Linux distributions todayCompare the most popular Linux distributions today
    it can be said that linux is not a complete operating system, it is just a kernel operating system, which is the foundation for developing other operating systems.
  • Instructions for speeding up Fedora Linux application installersInstructions for speeding up Fedora Linux application installers
    fedora is a quite powerful linux distribution, however the biggest limitation of this distribution is its slow application installer. so in the article below tipsmake will guide you how to speed up the fedora linux application installer, readers can refer to and follow.
  • Why does Linux have so many distributions?Why does Linux have so many distributions?
    searching for the keyword linux on the internet will bring you a lot of operating systems with different names, but there is no operating system called linux.
  • How to build Linux web server with an old computerHow to build Linux web server with an old computer
    if you are interested in building a home web server, the easiest way is to install linux on the backup computer. doing this is simple and gives you a logical way to host a website or blog.
  • What do you know about Linux distros?What do you know about Linux distros?
    linux has existed for nearly 30 years, this is a historic journey. if you are interested in the history of some of the major linux distributions, read the following article.
  • What is Puppy Linux? Everything you need to know about Puppy LinuxWhat is Puppy Linux? Everything you need to know about Puppy Linux
    a linux distro that can run on virtually any computer with minimal configuration and computing resources is puppy linux.
  • 7 best Linux server distributions7 best Linux server distributions
    linux is one of the factors driving today's growing internet platform. in fact, more than 70% of all websites are powered by unix, with linux accounting for 58%.
  • Compare Debian and UbuntuCompare Debian and Ubuntu
    you may have heard that ubuntu is based on another distribution, debian. so which distribution should you choose? which distribution is easier to fit with many different use cases?
  • How to Install Linux Mint Operating SystemHow to Install Linux Mint Operating System
    linux mint is a linux operating system distribution that is becoming increasingly popular quickly, largely because of its ease of use and simplicity, neat interface, and friendliness to windows operating system users who want to change their operating systems. change the air. like most other linux distributions, because this is a free distribution, you can install it as many times as you want on as many devices as you want. over the years, the process of installing linux has become much simpler than before, even simpler than installing the windows operating system. read on to learn how to install and use linux mint.