First of all, I tried running the standard procedure to have the generic kernel, through:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
But such a message appeared:
ls: can not access /sys/module/*_hcd/drivers/*: File or directory not found
I checked and this directory (drivers) does not actually exist on my computer. The script may not be able to automate the process in all situations.
Then I read the following text to create the initrd file:
http://mirrors.slackware.com/slackwa.../README.initrd
the command I used was:
mkinitrd -c -k 3.10.17 -m ext4 -f ext4 -r /dev/sda4
Finally, I got a file /boot/initrd.
I specified this file into the lilo.conf, according to the instructions. After all that I have created new links for: config, System.map and vmlinuz. I pointed to the generic options. See the output of
ls -la | grep generic:
Quote:
xerxeslins @ darkstar: ~ $ ls /boot/ -la | grep generic
lrwxrwxrwx 1 root root 22 Jul 13 14:39 config -> config-generic-3:10:17
-Rw-r - r - 1 root root 137813 Feb 14 19:40 config-generic-3:10:17
lrwxrwxrwx 1 root root 26 Jul 13 14:40 System.map -> System.map-generic-3:10:17
-Rw-r - r - 1 root root 2213142 Feb 14 19:40 System.map-generic-3:10:17
lrwxrwxrwx 1 root root 23 Jul 13 14:39 vmlinuz -> vmlinuz-generic-3:10:17
-Rw-r - r - 1 root root 3450176 Feb 14 19:40 vmlinuz-generic-3:10:17
|
Of course I updated lilo.
Rebooted the system and everything seems to be ok.
But, since I do not follow the standard procedure, will I really am with the generic kernel? How to know?
Thank you!