LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel compiling question (https://www.linuxquestions.org/questions/slackware-14/kernel-compiling-question-108771/)

leegold 10-26-2003 02:51 PM

Kernel compiling question
 
In a previous thread I see very clear instructions on recompiling the kernel. But I have a ques. to be 100% sure I do not mess up. Per the text below from the previous thread:

"First, we need to edit lilo.conf. Pick your favorite editor...one that is easy for newbies (and I still use this from time to time) is pico.
pico /etc/lilo.conf
Add this to your config...you can just copy what is there and add the .old stuff.
image = /boot/vmlinuz.old
root = /dev/hda1
label = slack.old
read-only
Note: Replace /dev/hda1 with the correct location of your root partition."

In my unedited file I see:

image = /boot/vmlinuz
root = /dev/hda3
label = linux
read-only

Now...what exactly should I do? Should I the text as is above and add(?):
(said add the below text, not replace the above text w/it)

image = /boot/vmlinuz.old
root = /dev/hda3
label = linux.old
read-only

Or...What exactly should I do? I'm not precisely clear what exactly
I should do.

Thanks,
Lee G.

leegold 10-26-2003 02:54 PM

I proof read the orignal post several times and still made a mistake:
change:
"Now...what exactly should I do? Should I the text as is above and add(?):"
to:
Now...what exactly should I do? Should I KEEP the text as is above and add(?):
(this text below???)

I hope you'all see what I'm asking.

synaptical 10-26-2003 03:20 PM

if you're using the method in the DaOne sticky (with make and make install), you should ADD the text after the text you already have (and change your root partition to the right one, as in the directions), i.e.:

image = /boot/vmlinuz.old
root = /dev/hda3
label = slack.old
read-only

~~~~~~~~~~~~~~~~~~
>edit for your proofread: ;)

to clarify, you should KEEP the text you already have in your lilo.conf, and you should ADD the text above TO the lilo.conf file. so when you're all done, it should look something like this, with both parts in the lilo.conf file:

image = /boot/vmlinuz
root = /dev/hda3
label = linux
read-only

image = /boot/vmlinuz.old
root = /dev/hda3
label = slack.old
read-only


if anything about that's not clear, just ask again. :)


All times are GMT -5. The time now is 02:33 PM.