Re: 2.6.1 kernel compile and installation with GRUB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-02-04 at 12:38, Linux4life wrote:
> cdrobsonjr@xxxxxxxxxxxx wrote:
> > Dear Linux friends,
> > 
> > I am a noob and a boob when it comes to kernel compilation.
> > 
> > I downloaded the source from kernel.org and unpacked it in my home
> > directory. I ran make mrproper (didn't need to?), make xconfig,
> > make dep, make clean, and make bzImage.  Then I ran make modules and
> > make modules_install.
> > Now I'm to the point of trying to put the results where they need to be
> > and modify GRUB to be able to boot into this new kernel.
> > But...all the instructions I have found so far (especially the ones
> > that came with the kernel source) only document what to change if
> > you are using lilo or loadlin.  I'm a Fedora guy with GRUB.
> > 
> > Few other questions:  I looked for a file called bzImage in my /boot
> > directory and can't find it.  I found vmlinux instead.  Am I supposed
> > to rename bzImage to something like vmlinux-2.6.1 and put it in the
> > /boot directory?  And then change the symlink vmlinux to it?
> > 
> > Also, there were a couple of other files in /boot for which I cannot find
> > equivalents in my new compiled kernel source tree. The are equivalents for
> > initrd-2.4.22-1.2149.nptl and vmlinuz-2.4.22-1.2149.nptl.
> > And why is there a symlink of vmlinux-2.4.22-1.2149.nptl pointing to
> > /lib/modules/2.4.22-1.2149.nptl/vmlinux ? What is that file?
> > I looked in my present grub.conf and found that it uses two things: 
> > a vmlinuz and an initrd file names.  I can't find anything in what
> > I compiled that would obviously get put in /boot for GRUB to use.
> > Confusion!
> > 
> > Too many questions - all showing I don't know what I'm doing.
> > I know - dangerous.  But, this system is for me to learn on.
> > So far I have not been able to find help on the web.  To make matters
> > worse for me, the kernel HOWTO has been removed !  Hopefully they will
> > update it to include directions for using GRUB.
> > Anybody have time to walk me through what all else I need to do to
> > get this kernel useable?
> > 
> > 
> > 
> > __________________________________________________________________
> > New! Unlimited Netscape Internet Service.
> > Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
> > Act now to get a personalized email address!
> > 
> > Netscape. Just the Net You Need.
> > 
> > 
> 
> Run the following commands:
> 
> make xconfig
> make bzImage
> make modules
> make modules_install
> make install
> 
> it will even add a new entry in your grub.conf file.
> Sincerely,
> Ivo

Also make sure the "loop" module is loaded (/sbin/modprobe loop) or the
mkintrd will fail (last part of make install) and you will not have an
initrd-2.6.1.img.
-- 
Brian Millett  -  Technologist Rex 
"It's quiet. I like quiet." 
   -- Garibaldi, "A Voice in the Wilderness II"




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux