Quote:
I have slackware 14.1 installed and allsow have slackware Essentials book for it.
I do as i read from the book. When i come to the part of compiling the kernel i use "make mrproper", "make menuconfig" and som more commands.
|
Generally speaking, it is not necessary to compile a kernel for most Slackware installs. Slackware 14.1 ships with two kernels, huge, and generic. Huge will load after a fresh install. Huge has most common modules compiled in, and will run on most systems without any changes. By what you have posted, is you have a running system, without X.
On a new install, you need to edit the file /etc/inittab and alter one line.
Quote:
# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
|
The last line on a new install will be 'id:3:initdefault' which will not start the X11 system.Change the 3 to a 4, you can boot, or as root run the command 'telinit 4' ( not quotes ), and X11 should start up, as long as there are no other problems with X11.
Once you compile a kernel, and copy all the files, as indicated in Essentials, you need to edit /etc/lilo.conf and add a section to load your shiny new kernel. After the file is changed, you need to run 'lilo' to write the changes to the mbr. Then on boot, you will see the option to run your new kernel.
Modules are loaded with 'modprobe modulename'.
If you get no output to the command, the module loaded. If you get output in the screen, then something is wrong. If you need specific help, post the error message you get, then we can help.
To determine what kernel is running, run the command 'uname -a' will tell you the kernel name. uname --help will give you a summary of the options for uname.
Hope this helps.