LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-26-2003, 02:51 PM   #1
leegold
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
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.
 
Old 10-26-2003, 02:54 PM   #2
leegold
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 10-26-2003, 03:20 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
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.

Last edited by synaptical; 10-26-2003 at 03:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question about kernel compiling? slackwbas Slackware 2 03-02-2005 07:55 AM
kernel compiling question Jeebizz Slackware 6 10-14-2004 06:02 PM
kernel compiling question Aldebaran Linux - Newbie 9 10-16-2003 07:25 PM
another kernel compiling question twinkers Slackware 3 10-04-2003 05:33 AM
Kernel Compiling question... 65_289 Linux - Software 1 03-23-2003 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration