LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2003, 05:32 PM   #31
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30

Thank you all again for your support. I've reinstalled Mandrake now, and have the sources installed as well (I believe). I will be getting home from work in about an hour, to spend another night to try and optimize this box, and the install.

Unfortunately, I can't satisfy the salivations of MandrakeSoft at the moment with nice chunk of change to get a version that may be optimized just yet. While that may be possible in the future, right now it just isn't.

I have Mandrake 9.2, fresh off of the heater. Does this ship with 2.6, or 2.4? If it doesn't ship with 2.6, I can get that readily, and recompile to use that without problems, correct?
 
Old 12-19-2003, 06:34 PM   #32
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
Alright, now I have access to the server. I can download the new sources to Linux 2.6, and after doing so and uncompressing them, do I need to place them into a special directory, or follow any special guidelines, rules, etc.?

Also, is Mandrake 9.2 compatible with the 2.6 kernel? I assume I will be recompiling to use the 2.6 kernel, so any help would be more than welcome =)
 
Old 12-19-2003, 07:15 PM   #33
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
hi again duerra, have aread here

http://www.linuxquestions.org/questi...threadid=49035

and here

http://www.linuxquestions.org/questi...hreadid=127095

that's about all the help i've got right now as i too have those to links open and reading them whilst in the middle of my first kernel compile.
if the compile goes ok i'll post back. if not, well, it's to the fixin and correctin. i'll check back either way, and, if everything goes well on your end, maybe i can help. (and maybe not?)
good luck.
 
Old 12-19-2003, 07:38 PM   #34
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks PEACEDOG. I'll give 'er a go.

Before I do anything, the reason I am recompiling is to:
1. Utilize both GB of RAM
2. Utilize both processors
3. Any other quick optimizations that you guys are aware of that you can tell me right away that I should consider, knowing that this system is going to be primarily a web server.

Based on that, any information on specific recompile options would be highly appreciated =)


Also... this is really strange. I am downloading the source right now to /usr/src/linux-2.6.0.tar.bz2, yet when it finishes.... it is nowhere to be found. I did a command search for "find -name *linux-2.6.0*, but nothing showed up. What happened to the file??? Am I not authorized to download to this location? I am downloading it again now....

Last edited by duerra; 12-19-2003 at 07:39 PM.
 
Old 12-19-2003, 07:44 PM   #35
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
did you dl it as root? if not you should've gotten an error...i.e. you do not have permission to write to this directory...or somthing like that.
 
Old 12-19-2003, 07:44 PM   #36
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
Yeah... 2nd download. The file still isn't there. I'm going to try again to a different directory, but if anybody can tell me why this file isn't showing up, it would be handy =)
 
Old 12-19-2003, 07:45 PM   #37
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
No, no permissions errors. I'm not in as root, but I am able to navigate the directories just fine and all.
 
Old 12-19-2003, 07:57 PM   #38
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
Yeah, that was the problem. It wasn't giving me an error that I didn't have proper permissions to write to that directory. I am in as root now, however, and chuggin' away. I'll post back when I'm ready to start the compile.

Is there anything I need to modify during the next phase to make sure I have all my RAM, 2nd processor, and any other good modifications made, established? I'm not sure if the "make install" or other commands are actually the ones recompiling, or whatnot. If they are, I would assume this means that I need to make the appropriate changes before-hand.
 
Old 12-19-2003, 08:06 PM   #39
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
just another tip..
don't forget to save your original boot image(files under /boot)
when you compile

which can be done by giving different name for your new kernel boot image


because
if the new kernel don't boot up by some reason, you can still logon with your original kernel
 
Old 12-19-2003, 08:06 PM   #40
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
it probably dl the file to some /tmp directory, just so it didn't have to tell you "you can't do this". i was just ready to post this answer i found.

Quote:
Originally posted by Thymox

find / -name filename

This starts the search from the / directory for the specified filename filename (bit obvious, that one ). If you already know that the file is somewhere, like /mnt/win_c, then you can substitute the / in the above command for whatever dir you like.
it should've helped you locate the file. anyway, mute point.
 
Old 12-19-2003, 08:13 PM   #41
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks, doublefailure and PEACEDOG.

doublefailure, how to I save my original boot image again, exactly? Different name for my new kernel boot image? I modded lilo.conf with these lines to the letter (yeah, I know, I'm not slack, but I will be needing to follow these instructions to the letter )

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

I am now the the point here:

make oldconfig (to use your old config and choose to add/not add the new options)
or...
make menuconfig (to use your old config and tweak further)
or...
make whatever other type you like (xconfig,gconfig,etc.)

I'm guessing that I need to do "make menuconfig", but I'm asking just to be sure, and then what I should do from that point (as far as tweaking goes).
 
Old 12-19-2003, 08:29 PM   #42
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
If anybody were to have the compassion to message me via IM for a little walk-through during this process:
AIM: IIIIINoFearIIIII

MSN & Yahoo: duerra@sagsrghear.yahoo.com (minus the "sagsrghear.", obviously )

ICQ: 160063679

Just a thought, for anybody who may be interested.
 
Old 12-19-2003, 08:41 PM   #43
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
the "label = slack.old" line is just to insure that you actually boot to your old configuration. i.e. if your old lilo.conf gave you the options for, say,

linux
linux-nonfb


then you could just add .old to linux.

either way as long as you add .old to vmlinuz

and you change

root = /dev/sda1

or whatever your root partiton is, you should be fine.

Last edited by Peacedog; 12-19-2003 at 08:44 PM.
 
Old 12-19-2003, 09:09 PM   #44
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
"Make"ing right now. I did the menuconfig, and made sure I had multi-processor and high-memory enabled. I didn't really do a lot of other modding, though I did go through everything. Whilst I would like to optimize my system, I'd rather not mess everything up at this point in time.

Let's hope this works out.
 
Old 12-19-2003, 09:42 PM   #45
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Original Poster
Rep: Reputation: 30
=(

Well, I rebooted, and selected to start "linux". I was subsequently brought to me "glowing black screen with nothing on it".

This happened when I boot into "linux-secure" before this. I don't know what to do =(
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
tool to detect number of memory slots, memory module type, speed, and size stefanwolf Linux - Hardware 8 04-22-2013 10:48 AM
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 06:39 PM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 04:32 PM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 05:48 PM
RH 8.0 Mapping Virtual Memory to get access to VMIC Reflective Memory PCI card. Merlin53 Linux - Hardware 0 05-05-2003 01:50 PM


All times are GMT -5. The time now is 04:05 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration