LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-03-2006, 12:44 AM   #1
smsundar
LQ Newbie
 
Registered: Dec 2005
Posts: 16
Blog Entries: 3

Rep: Reputation: 0
how to create .img after kernel has compilled?


Dear All,
I am using FC3 with 2.6.9-1.667. I wanted to have 2.4 kernel in the same system as dual kernel mode and so i have downloaded, compiled and crearted vmlinuz2.4.32(compiled kernel) at /boot.

now the problem is at LILO. this LILO asked for 3 matters like
------------------------------------------------------------------------------------------
/* Content of my LILO /etc/lilo.conf.anaconda */
prompt
timeout=20
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
linear

image=/boot/vmlinuz-2.6.9-1.667
label=linux
initrd=/boot/initrd-2.6.9-1.667.img
read-only
append="rhgb quiet root=LABEL=/"
------------------------------------------------------------------------------------------

now i have this image, label but i don't know how to create *.img file. my friends sugested to use mkinitrd. but i have tried but failed even i have gone thru man and info pages. Could you please tell me how to create initrd-2.4.32.img to be used at initrd= value.
 
Old 01-03-2006, 06:59 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Don't know why you want a 2.4 kernel in a 2.6 kernel based disto, but the way Red Hat /Fedora suggests kernel building is;

make mrproper
make xconfig
make
make modules_install
make install <-- perhaps you forgot this step

The 'make install' takes care of the file copying / renaming and bootloader entry, see step 11 from the link below;

http://www.redhat.com/docs/manuals/l...dularized.html
 
  


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
vmware: trouble with loading of vmmon -- already compilled Adony Linux - Software 6 01-17-2012 10:11 PM
how to create iso img huno Linux - Software 6 03-20-2006 06:43 AM
Kernel initrd.img? microsoft/linux Debian 15 10-29-2004 12:35 PM
[php]Reading url [img] and [/img] hylke Programming 13 08-23-2004 01:58 PM
how to create floppy.img rickenbacherus Linux - General 2 05-12-2003 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 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
Open Source Consulting | Domain Registration