Results 21 to 27 of 27
this will backup your existing kernel and modules
Code:
tar cvf /root/oldkernel.tar /boot /lib/modules...
- 10-17-2006 #21Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
this will backup your existing kernel and modules
Code:tar cvf /root/oldkernel.tar /boot /lib/modules
- 10-17-2006 #22Linux Newbie
- Join Date
- Aug 2006
- Posts
- 117
Thanks a lot.
- 10-17-2006 #23Linux Newbie
- Join Date
- Aug 2006
- Posts
- 117
here are the steps I did
tar -jxvf ****.bz2
mv to /usr/src
rm linux
ln -s linux-2.6.18.1 linux
cd linux2.6
make xconfig
selected defaults
make dep
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18.1
cp System.map /boot/System.map-2.6.18.1
ln -s /boot/System.map-2.6.18.1 /boot/System.map
edit lilo.cconf
new entry is
image=/boot/vmlinuz-2.6.18.1
label=new
root=/dev/hda9
lilo -v
When I boot its blank screen
starts with
loading.........
BIOS data check.....
and then its blank
- 10-17-2006 #24Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
I'd suggest going back to your old kernel entry, and using the config from your old running 2.6 kernel too instead of just guessing a correct one.
zcat /proc/config.gz > /usr/src/linux/.config
make oldconfig
after that just build as normal
make clean ; make modules ; make modules_install ; make bzImage
cp /usr/src/linux/arch/i386/boot/bzImage /boot/2.6.x
ln -s /boot/2.6.x /boot/vmlinuz
lilo -v (after checking entries)
- 10-18-2006 #25Linux Newbie
- Join Date
- Aug 2006
- Posts
- 117
I'd suggest going back to your old kernel entry, and using the config from your old running 2.6 kernel too instead of just guessing a correct one.
running kernel is 2.4.xx
distro : slackware 10.2
Please I dont want to change it.
zcat /proc/config.gz > /usr/src/linux/.config
/proc/config.gz file doesn't exist
does RAMdisk Image support needs to be enabled in menuconfig?
I tried again but mkinitrd is not creating img file
I have not changed any setting in menuconfig.
and then same error on boot
- 10-18-2006 #26Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
you sir have a seriously borked kernel config
this is why I said originally to use pats kernel packages
- 10-18-2006 #27Linux Newbie
- Join Date
- Aug 2006
- Posts
- 117
Please close this thread.
Thank You


Reply With Quote
