Hi am having problem with the kernel upgrade,I am using slackware 10.1 and upgrading from Kernel 2.4.29 to 2.6.11.7 these are the instructions I am following. I have taken them from vaariuos places as different issues have arised, just wondering what could be going wrong after I reboot from the upgrade I am ending up with the Bios data check going ok but then a black screen and nothing works any clues?
First, need to edit lilo.conf.
pico /etc/lilo.conf
Add this to your config...you can just copy what is there and add the .old stuff.
image = /boot/vmlinuz.new
root = /dev/hda1
label = slack.new
read-only
Note: Replace /dev/hda1 with the correct location of your root partition.
Now we need to edit the Makefile to make sure your new kernel is copied to the appropriate directory.
If you are using 8.1 or later, open /usr/src/linux/Makefile in a text editor, scroll to line 74 and
uncomment the the line #export INSTALL_PATH=/boot.
For 8.0 you must leave this line commented.
So...cd /usr/src/linux
pico Makefile
scroll to line 74 and
uncomment the the line #export INSTALL_PATH=/boot.
For 8.0 you must leave this line commented.
From /usr/src
rm -f linux
ln -s linux-2.6.0 linux
cd /linux
make mrproper
Then copy your existing .config to your new kernel source tree...
cp /usr/src/linux-2.4.?/.config /usr/src/linux
I have used all these options in different installs largely I am using Make menuconfig,
just used the others to see if i got a better result.
make oldconfig (to use your old config and choose to add/not add the new options)
or...
make menuconfig (to use your old config and tweak further)
or...
make whatever other type you like (xconfig,gconfig,etc.)
Just exit and save the configuration, then...
make
At this point I am having to update Vmlinuz.new in lilo with the following which I can'do prior
as Bzimage and System.map aren,t in the boot directory before the make command
here you will be in /usr/src/linux-2.6.11
cp /usr/src/linux/arch/i386/boot/bzimage /boot/vmlinuz.new
cp System.map /boot/Syatem.map-2.6.11
cp .config /boot/config-2.6.11
cd
Here you should be in system@home:#
cd /boot
cp System.map System.old
ln -sf System.map-2.6.11 System.map
Then I have finished off a few different ways
su -c "make modules_install"
make install
or
Make bzImage
Make Install
or
Make && Make Modules_install
Make Install
In all cases I have finished with the "lilo" command to make sure it updates without error, but
it does not seem to work on reboot i am coming to "data bios check successful" and then the screen
is going blank and thats where it all ends.
Can you see where I have gone wrong?
First, need to edit lilo.conf.
pico /etc/lilo.conf
Add this to your config...you can just copy what is there and add the .old stuff.
image = /boot/vmlinuz.new
root = /dev/hda1
label = slack.new
read-only
Note: Replace /dev/hda1 with the correct location of your root partition.
Now we need to edit the Makefile to make sure your new kernel is copied to the appropriate directory.
If you are using 8.1 or later, open /usr/src/linux/Makefile in a text editor, scroll to line 74 and
uncomment the the line #export INSTALL_PATH=/boot.
For 8.0 you must leave this line commented.
So...cd /usr/src/linux
pico Makefile
scroll to line 74 and
uncomment the the line #export INSTALL_PATH=/boot.
For 8.0 you must leave this line commented.
From /usr/src
rm -f linux
ln -s linux-2.6.0 linux
cd /linux
make mrproper
Then copy your existing .config to your new kernel source tree...
cp /usr/src/linux-2.4.?/.config /usr/src/linux
I have used all these options in different installs largely I am using Make menuconfig,
just used the others to see if i got a better result.
make oldconfig (to use your old config and choose to add/not add the new options)
or...
make menuconfig (to use your old config and tweak further)
or...
make whatever other type you like (xconfig,gconfig,etc.)
Just exit and save the configuration, then...
make
At this point I am having to update Vmlinuz.new in lilo with the following which I can'do prior
as Bzimage and System.map aren,t in the boot directory before the make command
here you will be in /usr/src/linux-2.6.11
cp /usr/src/linux/arch/i386/boot/bzimage /boot/vmlinuz.new
cp System.map /boot/Syatem.map-2.6.11
cp .config /boot/config-2.6.11
cd
Here you should be in system@home:#
cd /boot
cp System.map System.old
ln -sf System.map-2.6.11 System.map
Then I have finished off a few different ways
su -c "make modules_install"
make install
or
Make bzImage
Make Install
or
Make && Make Modules_install
Make Install
In all cases I have finished with the "lilo" command to make sure it updates without error, but
it does not seem to work on reboot i am coming to "data bios check successful" and then the screen
is going blank and thats where it all ends.
Can you see where I have gone wrong?