LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   2.6.1 kernel help (https://www.linuxquestions.org/questions/linux-software-2/2-6-1-kernel-help-138184/)

Linux~Powered 01-24-2004 02:12 PM

2.6.1 kernel help
 
Damn, i am almost done doning this and i get this error posted below.

root@Linux~Powered:/usr/src/linux# rm -rf /boot/System.map
root@Linux~Powered:/usr/src/linux# rm -rf /boot/vmlinuz
root@Linux~Powered:/usr/src/linux# cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.1
root@Linux~Powered:/usr/src/linux# cp /usr/src/linux/System.map /boot/System.map-2.6.1
root@Linux~Powered:/usr/src/linux# ln -s /boot/vmlinuz-2.6.1 /boot/vmlinuz
root@Linux~Powered:/usr/src/linux# ln -s /boot/System.map-2.6.1 /boot/System.map
root@Linux~Powered:/usr/src/linux# rm -rf /boot/initrd.x.x.x.img
root@Linux~Powered:/usr/src/linux# rm -rf /boot/initrd-2.4.22.img
root@Linux~Powered:/usr/src/linux# /sbin/mkinitrd /boot/initrd-2.6.1.img 2.6.1
bash: /sbin/mkinitrd: No such file or directory
root@Linux~Powered:/usr/src/linux# /sbin/mkinitrd /boot/initrd-2.6.1.img 2.6.1
bash: /sbin/mkinitrd: No such file or directory
root@Linux~Powered:/usr/src/linux#

what do i do here?

h/w 01-24-2004 02:19 PM

you dont need an initrd, so, skip.

Linux~Powered 01-24-2004 02:30 PM

So then what? All i have to do is change the vmlinuz to vmlinuz-2.6.1 in lilo then type lilo in the terminel?

Linux~Powered 01-24-2004 03:02 PM

I DON'T KNOW! I added vvmlinuz-2.6.1 to lilo.conf type lilo in the command line. When i try to boot the new kernel from lilo it starts by Loading vmlinuz................. then the screen goes blank and it doesn't load up. I don't know what to do here. I thought i did everything right.

Linux~Powered 01-24-2004 03:22 PM

I double checked and it doesn't say Loading vmlinuz. I says loading Linux then it says BIOS check successful then the screen goes blank and that's all she wrote!

acid_kewpie 01-24-2004 03:31 PM

i'd guess you're trying to load a framebuffer but it fails for some reason. in lilo.conf temporarily remove any line such as "vga=721" or similar

DrOzz 01-24-2004 03:31 PM

what did you add to your lilo.conf file ?
and did you run /sbin/lilo after making the changes?

Linux~Powered 01-24-2004 04:07 PM

Well DROzz i used your compile guide that you had posted and it had always worked great for me before, but this time it didn't for some odd reason. (maybe it was something i didn't add in the .config file. I am reconfigureing some graphic stuff now that was posted in the Slackware forum. what do i have to lose) The only thing that was different is when i used your /sbin/mkinitrd /boot/initrd-2.6.1.img 2.6.1 command it said
bash: /sbin/mkinitrd: No such file or directory. So i don't know what's up there?




This is my lilo config...
(i added vmlinuz-2.6.1 it used to be... vmlinuz) that's all i did.

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 800x600x256
vga = 771
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.1
root = /dev/hda3
label = Linux
read-only
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = Winblows
table = /dev/hda
# DOS bootable partition config ends

in the terminal i typed in the following...lilo and it stated added Linux* and Winblows (something very close to that anyways)

acid_kewpie 01-24-2004 04:09 PM

you don't really need an initrd, just comment out that vga line and try again.

Linux~Powered 01-24-2004 04:22 PM

I edited some things in my .config file and the screen doesn't go blank now it just says loading vmlinuz..................... and stops. It doesn't do anything. My harddrive has no activity on it.

Linux~Powered 01-24-2004 04:35 PM

I did what you said and removed the vga=771 and now after it says loading vmlinuz................... the screen is horrible! It's an ugly picture that takes up the whole screen made up of verticle lines. With yellow,black,white,some blue and other colors. Can't even tell what it's supposed to be. And it still doesntt boot

DrOzz 01-24-2004 05:00 PM

did you uncomment the line that says :
vga=normal ?

Linux~Powered 01-24-2004 05:11 PM

HAHA NO! I am losing it here! I want to smash something really bad. Mainly my computer , but i think i would regret it tomorrow when i calm down a bit! I will try it though. I did some configuring in .config and now the screen doesn't go blank. it just says loadiing Linux.......................... and stops. that's it! I am at my wits end here! I don't get it! I have installed the 2.6.1 kerenl before with no problem on RH9,and mandrake 9.2b but god damn! I have spent hours on this! All i can say is THANK GOD FOR BOOTDISKS!!!!

Linux~Powered 01-24-2004 05:18 PM

WOW! IT WORKS! THANK YOU FOR RESTORING SOME OF MY SANITY!

DrOzz 01-24-2004 07:31 PM

well would you mind enlightening us to what was the problem, and what you did to resolve it ;-)


All times are GMT -5. The time now is 01:21 AM.