LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   COmpiling problem with Suse 8.2 on my X1000. (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/compiling-problem-with-suse-8-2-on-my-x1000-101373/)

ajpug 10-07-2003 05:34 PM

COmpiling problem with Suse 8.2 on my X1000.
 
Hi everyone,
I am trying to compile the suse kernel....and actually it compiles perfectly. The problem comes after, when I want to issue the command "mkinitrd" or "mk_initrd".
I have tried two ways:

mkinitrd /boot/initrd-2.4.20-XXXX.img 2.4.20-XXXX
with this command, I get the message "Cannot create temporary directory...exiting".

mk_initrd -k vmlinuz-2.4.20-XXXX -i initrd-2.4.20-XXXX
with this, everything seems to go fine but then I get the message "reiserfs: module not found".

Now, on the first issue I do not have any clue. On the second one, for some reason the reiserfs module is in the old kernel directory and not in the new one 2.4.20-XXXX. Why?

Do you guys can help me in any way?
Thanks a lot,
ajpug

lacerto 10-16-2003 10:43 AM

I have exactly the same prob....did you get anywhere with it?

ajpug 10-16-2003 01:59 PM

Well,
the only thing I was able to do was to not use the ram disk for the boot. Especially if you have a laptop, the ram disk is not necessary. So, even if mkinitrd fails, just continue with the other steps of the compiling process and when you have to modify the LILO file you can decide if including or not the "init" line. If you include it it will have to be the init line of the older kernel, since the mkinitrd command failed when compiling the new kernel. Unfortunately even using the old init line wont do anything.
So at the end you will have a perfect working new kernel but at the boot the display will be all black until the login shell appears. You wont be able to see all the boot messages.
So far this is what I got.
If you find anything else out, please let me know.
Thanks,
ajpug

mattcarnegie 10-17-2003 12:07 PM

Mine turned out to be a semantics problem with GRUB - I root pointing to hda instead of hda2.
Oh...don't worry abou the reiserfs issue...you probabaly have it in the kernel.. the mkinitrd scripts is a SuSE special!

Just to make sure...did you run make modules and make modules_install?

Hope this helps.

ajpug 10-21-2003 11:36 AM

Hi,
I am using LILO and unfortunately it is not a semantic pproblem with me!
Yes I ran make modules and install.
Right now I am thinking to move to the Mandrake 9 distribution, it seems to give no problems, at least during installation.
What do you think?
Thanks,
ajpug


All times are GMT -5. The time now is 09:39 PM.