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 06-20-2007, 06:05 PM   #1
oliviapesayco
LQ Newbie
 
Registered: Jun 2007
Posts: 10

Rep: Reputation: 0
bzImage


Hi there.

After compiling my kernel (by running make, make modules, make modules_install), I type the command : depmod -ae 2.6.17.13. And then I made an initial image for preloaded modules : mkinitrd /boot/initrd-2.6.17.13.img 2.6.17.13.

However, when I run the command in linux-2.6.17.13-pudding directory :
cp linux-2.6.17.13-pudding/arch/i386/boot/bzImage /boot/vmlinuz.hmwk1

it is telling me that 'linux-2.6.17.13-pudding/arch/i386/boot/bzImage' is not a file or directory...

why is it?

Thanks.
 
Old 06-20-2007, 06:38 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
I would think it would more like this.
Code:
cp /usr/src/linux-2.6.17.13-pudding/arch/i386/boot/bzImage /boot/vmlinuz.hmwk1
If still and issue start at the / directory and cd down to it to know the correct path.

Now you are using a few commands from the 2.4 and previous kernel days.
In 2.6 kernels I do as follows.
make xconfig ( or use make menuconfig, make gconfig, or others to modify config0
make ( builds the kernel and modules )
make modules_install ( installs the modules in /lib/modules )
make install ( installs the kernel image to /boot and adds to grub or lilo )

Brian
 
Old 06-20-2007, 07:19 PM   #3
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
Quote:
Originally Posted by oliviapesayco
cp linux-2.6.17.13-pudding/arch/i386/boot/bzImage /boot/vmlinuz.hmwk1

I am sorry but this looks like a school project by the ending of the cp command .hmwk1

Last edited by slimm609; 06-20-2007 at 07:20 PM.
 
Old 06-20-2007, 10:36 PM   #4
ArcLinux
Member
 
Registered: Apr 2005
Location: Fargo, ND
Distribution: Slackware, CentOS
Posts: 87

Rep: Reputation: 20
change -> cp linux-2.6.17.13-pudding/arch/i386/boot/bzImage /boot/vmlinuz.hmwk1
to -> cp arch/i386/boot/bzImage /boot/vmlinuz.hmwk1

Understandable that you are a newbie the linux. Just keep in mind that you do not need to include the directory name if you are currently in the directory unless you are using the full path.
 
  


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
HELP bzImage NTK Debian 2 08-25-2006 08:01 AM
bzImage!!! BattleAxe_19 Linux - General 2 12-22-2003 10:57 AM
cant found bzImage mickdunde Linux - Newbie 4 07-09-2002 02:02 AM
bzImage.. help unmada Linux - Software 2 06-14-2002 12:59 AM
bzimage jnsc Linux From Scratch 13 04-16-2002 03:04 AM


All times are GMT -5. The time now is 01:06 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