LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NewBie Problem in Kernel 2.6.15 (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-problem-in-kernel-2-6-15-a-400388/)

Theather 01-06-2006 06:12 PM

NewBie Problem in Kernel 2.6.15
 
Well my story is the same as many users that try to slowly migrate to Linux mine starts like this :
I installed linux slackware in my laptop( Lg Lw65) , everything went well but i saw that slackware does not detect my network device Marvel Yukon so i try to compile the new kernel 2.6.15 when i was at the end in the lilo configuration appear this error :
fatal : Open /boot/bzImage : No such file or directory

Can you guys give me a big hand on this

Many thanks

BTW: sorry my lousy english

bosewicht 01-06-2006 06:24 PM

did you finish the compiling steps and did you run lilo after you copied over the new kernel?

Theather 01-07-2006 02:04 PM

Yes i compiled and when was the last part to config lilo to call the new kernel lilo send the error that i tould .

MasterC 01-07-2006 02:08 PM

?

Your first paragraph/post reads just fine...
I don't understand that last sentence/post at all. I appreciate that English may not be your first language, but puting a period or 2 in there and explaining what is happening might help ;)

A few questions:
Do you have /boot on a seperate partition? (If you don't know, then you probably don't)
Can you post up your /etc/lilo.conf so we can see it's contents and give advice on what to change?
Can you also post up what this returns:
ls -lh /boot

Cool

Theather 01-08-2006 08:36 AM

Once again sorry for my lousy english i will try furter to be more carefull :


No i dont have the /boot on a separte partition

My /etc/lilo.conf :

# Linux Bootable partition Begins
image = /boot/vmlinux-generic-linux-2.6.15
root = /dec/hda2
Label = Linux


ls -lh /boot return with :
lrwxrwxrwx 1 root root 34 2005-12-27 18:30 Readme.initrd --> /usr/doc/mkinitrd-1.0.1/readme.initrd
-rw-r--r-- 1 root root system.map
-rw-r--r-- 1 root root system.map-ide-2.4.31
-rw-r--r-- 1 root root system.old
-rw-r--r-- 1 root root boot.old
lrwxrwxrwx 1 root root config -> config-ide-2.4.31
-rw-r--r-- 1 root root config-ide-2.4.31
-rw-r--r-- 1 root root diagl.img
drwxr-xr-x 8 root root initrd-tree
-rw------- 1 root root initrd.gz
lrwxrwxrwx 1 root root linux-2.6.15 -> /usr/src/linux-2.6.15.15/
-rw------- 1 root root map
-rw-r--r-- 1 root root vmlinuz
-rw-r--r-- 1 root root vmlinuz-ide-2.4.31
-rw-r--r-- 1 root root vmlinuz.old

T.Hsu 01-08-2006 08:45 AM

So where is vmlinux-generic-linux-2.6.15

Theather 01-09-2006 06:55 AM

what i should put in /etc/lilo.conf to call the new kernel ??

Dtsazza 01-09-2006 08:35 AM

Your main problem at the moment is that the kernel image you're trying to set up doesn't seem to exist. From your /etc/lilo.conf, Lilo is trying to launch the kernel found at /boot/vmlinux-generic-linux-2.6.15. However, from your listing, there is no file of that filename. (I'm also guessing that /boot/bzImage was supposed to point to this at some stage - it's also missing, and was referred to in the initial error message).

As T.H.su asked, whereabouts has your new kernel gone? That's the first thing to sort out right now.

Theather 01-11-2006 05:03 PM

well :confused: what should i do :( ?

Dtsazza 01-11-2006 05:24 PM

To a certain extent that depends on where the kernel image went...

However, if you compiled it quite recently, it should still hopefully be located at /usr/src/linux/arch/i386/boot/bzImage, and you can copy it back into the /boot directory (as vmlinux-generic-linux-2.6.15). That's the first step to being able to boot the kernel - getting it in a place where Lilo can point to it.

Also, I've noticed that your lilo.conf has "root=/dec/hda2" - this could be either a typo in copying it up, or in the file itself, but in any case it should be "root=/dev/hda2".


All times are GMT -5. The time now is 06:27 PM.