The huge kernels are. If you are running an older. Other reasons are somewhat more. Conflicts between drivers included in the huge. Also, by using the. Some of the tools included with Slackware work better if. If you're having trouble understanding this, don't.
Unfortunately, using the generic kernels isn't as straightforward as. In order for the generic kernel to boot your. Modules are pieces of compiled kernel code that can be inserted or removed. This makes the system somewhat more flexible at the cost of a tiny bit of. You might find it easier to think of modules as device. Typically you will need to add the. Finally, if. Fortunately for you, Slackware.
A full discussion of. For a more complete. Other binaries may be added to the. Be creative. Unless you're using some kind. Assuming you've booted into your Slackware installation. In the example provided, you can see that the root partition is located. If we. Now that we've created our initrd, we simply need. We'll focus on that in the next section. Looking up all those different options for. This became tedious for the Slackware development team,. You can find a sample file that.
Here's mine. See "man mkinitrd. For a complete description of each of these lines and what they do,. Once it is setup properly, you need only run. A proper initrd file will be constructed and installed for you without. If you're unsure what options to specify in the configuration file or.
Slackware includes a. When you run this script, it will generate a command line for. If you've used other Linux. If you prefer. The "simple" mode tries to automatically configure. If Slackware is the only operating system installed on. It is also very good at detecting Windows. In order to use "expert" mode, you'll need to know Slackware's root.
You can also setup other linux operating systems if you know. Fortunately, setting up Windows partitions in expert mode is. One hint when using expert mode: you should almost always. Once upon a time, it was. Today, LILO has matured greatly and is safe. In fact, you will encounter fewer problems if. At the top, you'll find a "global" section where you. LILO will boot the default operating system. Here's what the global.
It also explains some typical dual booting scenarios and how you could go about setting it up. It is quite configurable and can easily be used to boot other operating systems. Slackware Linux comes with a menu-driven configuration utility called liloconfig.
This program is first run during the setup process, but you can invoke it later by typing liloconfig at the prompt. It is not read each time you boot up, but instead is read each time you install LILO. LILO must be reinstalled to the boot sector each time you make a configuration change. Many LILO errors come from making changes to the lilo. If this is your first time setting up LILO, you should pick simple.
Selecting simple will begin the LILO configuration. If kernel frame buffer support is compiled into your kernel, liloconfig will ask which video resolution you would like to use. This is the resolution that is also used by the XFree86 frame buffer server. If you do not want the console to run in a special video mode, selecting normal will keep the standard 80x25 text mode in use. The next part of the LILO configuration is selecting where you want it installed.
This is probably the most important step. The list below explains the installation places:. This is the safest option if you have other operating systems on your computer. For example, dosomething. Now, let's look at an example stub script, that does nothing besides outputting debug messages:. By default, the hotplug scripts log at the notice level. The standard syslog configuration on Slackware Linux does not log this. To debug hotplugging scripts, it is best to change the logging level.
Let's take a look at an example action when this script is used for handling USB events, and named stub. That is nice, when I plugged an USB device, the script gets loaded a couple of times, this is just one of the interesting bits. The problem with USB audio devices is that the device volumes that are saved with alsactl store are not automatically set when the device is plugged.
But right know we can easily execute alsactl restore when the device is plugged. Please note that the script gets very useful information through some environment variables. Based on the environment variables this script can be refined to restrict running alsactl for specific USB audio devices.
Chapter System initialization Table of Contents The bootloader Initialization scripts The bootloader Arguably the most important piece of an operating system is the kernel.
Make sure that you have another bootloader in the MBR, or that the partition is made active using fdisk. Otherwise you may end up with an unbootable system. The prompt option will set LILO to show a boot menu. From this menu you can select which kernel or operating system should be booted. The time is specified in tenths of a second, so in the example above LILO will wait 5 seconds before it proceeds with the boot. You can specify which video mode the kernel should use with the vga option.
When this is set to normal the kernel will use the normal 80x25 text mode. The image option specifies the kernel image that should be loaded for this LILO item. The label text is used as the label for this entry in the LILO boot menu. The filesystem has to be mounted in read-only state to conduct a filesystem check.
The only line you probably ever have to touch is the default runlevel: idinitdefault: In this example the default runlevel is set to 3 multiuser mode. Initialization scripts As explained in the init Section Hotplugging Slackware Linux has supported hotplugging since Slackware Linux 9.
Executing scripts on hotplug events One of the useful aspects of the hotplug scripts is that you can execute scripts when a device is added or removed.
0コメント