LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-09-2004, 11:42 AM   #16
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58

try this solution

the error makes absolutely no sense to me, cause i don't see where /var/temp is coming from, but in any case, just try and see if passing them aruguments to mkintrd will work ...

or maybe it just needs the -o argument
so like
/sbin/mkinitrd -o /boot/initrd-2.6.0.img 2.6.0

but like i said i have no idea, i never seen that before, so the best you can do is try different things, and see if you can get it to work, by passing switches to mkinitrd or whatever else you can come up with ..

i am not sure, all i can say is just try different things ;-)
 
Old 01-09-2004, 12:03 PM   #17
SILVERPENGUIN
Member
 
Registered: Nov 2003
Location: USA
Distribution: Using Suse 10.2,
Posts: 117

Rep: Reputation: 15
Actually, anyone's help would do at this point. I'm on a time-line.
 
Old 01-09-2004, 12:24 PM   #18
SILVERPENGUIN
Member
 
Registered: Nov 2003
Location: USA
Distribution: Using Suse 10.2,
Posts: 117

Rep: Reputation: 15
Oh...there you are! Thanks...I'll try that! Sorry, didn't see that it had flipped to the second page. Started to get worried that you wouldn't be on until later this afternoon.

No go! I don't know where the heck, the var came from either!


Last edited by SILVERPENGUIN; 01-09-2004 at 12:51 PM.
 
Old 01-09-2004, 12:43 PM   #19
SILVERPENGUIN
Member
 
Registered: Nov 2003
Location: USA
Distribution: Using Suse 10.2,
Posts: 117

Rep: Reputation: 15
Where is this man thing they speak of?

Hmmmm...Sounds kinky!


Also....Why doesn't the Sourceforge link in Yast work for updating? I've tried it multiple times and have always had to result to using a server from Germany.

Last edited by SILVERPENGUIN; 01-09-2004 at 01:41 PM.
 
Old 01-09-2004, 12:59 PM   #20
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
man is a command that you type in command line .... you use to to get a man page or manual for whatever your searching for ...
when you fire up a terminal and type stuff like
man ls
man rm
man fdisk
or whatever you wish, it gives details on that command/program that you need info on, or need to know what different arguments that you can pass to the command/program..
 
Old 01-09-2004, 01:02 PM   #21
SILVERPENGUIN
Member
 
Registered: Nov 2003
Location: USA
Distribution: Using Suse 10.2,
Posts: 117

Rep: Reputation: 15
Oh!

It still doesn't tell me why that var/tmp thing shows up.

Leave it to me to have an unusual problem! It seems to be my lot in life.

Last edited by SILVERPENGUIN; 01-09-2004 at 01:11 PM.
 
Old 01-09-2004, 01:19 PM   #22
SILVERPENGUIN
Member
 
Registered: Nov 2003
Location: USA
Distribution: Using Suse 10.2,
Posts: 117

Rep: Reputation: 15
Ok....is there another way to accomplish the same thing? Like a long version?
 
Old 01-09-2004, 01:52 PM   #23
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
well when you tried both ways, one which i mentioned, and the one from the other thread that the guy used 3 different arguments, do you get the exact same error? anything different?
 
Old 01-09-2004, 02:08 PM   #24
SILVERPENGUIN
Member
 
Registered: Nov 2003
Location: USA
Distribution: Using Suse 10.2,
Posts: 117

Rep: Reputation: 15
Yes.....as long as I'm supose to put it where you had the -o
No, nothing different
 
Old 01-09-2004, 02:14 PM   #25
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 45
Quote:
Originally posted by rberry88
1) download kernel
2) cp kernel.tar.gz /usr/src/
3) tar -xzvf <kernel>
4) make menuconfig
5) make dep <-- in Gentoo I use 'make all
6) make bzImage
7) make modules
8) make modules_install
9) cp /usr/src/<kernel>/arch/i386/boot/bzImage /boot/bzImage (rename bzImage if desired when copying to boot)
10) edit grub/lilo
11) reboot & cross fingers

rberry88
LOL. This is about the most exact and quick HOW-TO I have ever seen. Funny thing is, it's right on! This is exactly how I do my Kernel compiles. Only diff is that on step 4 I use "make oldconfig" after I've copied my .config file over to my new source directory.

Schweet. Oh..and I have an additional step between 7 and 8. It is "Go get a glass of wine and relax".

Nice work rberry88!

Peace,
Whitehat
 
Old 01-09-2004, 02:31 PM   #26
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
Quote:
Originally posted by Whitehat
LOL. This is about the most exact and quick HOW-TO I have ever seen. Funny thing is, it's right on! This is exactly how I do my Kernel compiles. Only diff is that on step 4 I use "make oldconfig" after I've copied my .config file over to my new source directory.

Schweet. Oh..and I have an additional step between 7 and 8. It is "Go get a glass of wine and relax".

Nice work rberry88!

Peace,
Whitehat
Thanks, I was scouring the web for the 1st month or two that I was using Linux and getting used to everything and basically got fed up with having to wade through pages and pages of kernel compilation docs so I streamlined it for myself. I printed it and laminated it on a 4x6 card that is stuck to my desk.

rberry88
 
Old 01-09-2004, 02:54 PM   #27
SILVERPENGUIN
Member
 
Registered: Nov 2003
Location: USA
Distribution: Using Suse 10.2,
Posts: 117

Rep: Reputation: 15
Except I don't exactly know how to do nine and ten. I'm sure when I've done it once...I'll have no problem in the future. Other than that...it's more like a foreign tongue to me right now.


Last edited by SILVERPENGUIN; 01-09-2004 at 02:59 PM.
 
Old 01-09-2004, 03:08 PM   #28
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 45
Quote:
Originally posted by SILVERPENGUIN
Except I don't exactly know how to do nine and ten. I'm sure when I've done it once...I'll have no problem in the future. Other than that...it's more like a foreign tongue to me right now.

9) cp /usr/src/<kernel>/arch/i386/boot/bzImage /boot/bzImage (rename bzImage if desired when copying to boot)

10) edit grub/lilo

-------------------------------------

Ok. For 9 you need to do exactly as the command says. cp is for copying.
So, it's just copying your kernel image from the /usr/src/whateverkernelyouhave/arch/i386/boot folder over to the /boot folder.

For 10. you need to use a text editor like vi, or pico (l love pico). and make sure that down at the bottom where it says something like:

image=/boot/bzImage
label=Linux
root=/dev/hda2
read-only

you need to edit the image= part so that it points to the image you just created. In your case it would probably just say image=/boot/bzImage

you also need to edit the root= part to make sure it points to your proper HD for the / (root) partition.

Check out this thread too. It's a kernel compile for Slackware 2.4.23, but you can see the part at the bottom about editing lilo and such.

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


Peace,
Whitehat

Last edited by Whitehat; 01-09-2004 at 03:09 PM.
 
Old 01-09-2004, 03:12 PM   #29
SILVERPENGUIN
Member
 
Registered: Nov 2003
Location: USA
Distribution: Using Suse 10.2,
Posts: 117

Rep: Reputation: 15
This is what I have in my grub.conf file.

root (hd1,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd1,1)/boot/grub/menu.lst
quit
 
Old 01-09-2004, 03:30 PM   #30
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
Quote:
Originally posted by SILVERPENGUIN
This is what I have in my grub.conf file.

root (hd1,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd1,1)/boot/grub/menu.lst
quit
Ouch that hurts my eyes.

Edit your /boot/grub/menu.lst file to add this:

Code:
title Linux 2.6.0
root (hdx,x)
kernel (hdx,x)/boot/what-you-named-the-kernel root=/dev/hdx ro
Replace the x's with the proper locations of your root partition.

rberry88
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto? upgrade kernel on initial boot into Sarge haertig Debian 12 11-12-2005 11:58 PM
HOWTO post to HCL needed? leecason Linux - Hardware 4 05-17-2005 12:13 PM
Kernel upgrade needed to go wireless Erlend Greig Red Hat 0 01-14-2005 12:50 PM
upgrade mandrake 9.2 kernel howto dred Mandriva 4 12-21-2004 03:23 AM
Kernel upgrade error advise needed andy18 Linux - Newbie 14 08-27-2004 12:44 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration