Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 10-30-2008, 12:15 PM   #1
Registered: Oct 2008
Location: Mexico City
Distribution: Fedora
Posts: 65

Rep: Reputation: 15
How change the shipped kernel on a Live CD

I have my customized kernel... just have an extras system calls and a softmodem driver.

I need create a Live CD. How can i change the kernel on my Fedora 9 Live? was my first option but i dont know integrate my kernel.

Last edited by scmbg; 10-30-2008 at 01:02 PM. Reason: add extra info and change title
Old 10-31-2008, 12:28 AM   #2
Registered: Oct 2008
Location: Mexico City
Distribution: Fedora
Posts: 65

Original Poster
Rep: Reputation: 15
Problem solved...

There is the steps to change the kernel shipped on Fedora Live 9...

1.- Download the sources from
2.- Customize the kernel, you know edit the .config file, better if you use the qt tool.
$make xconfig
Important: Dont forget patch with sqashfs and LZMA. []
Note0: You can spen some time and select olny the drivers for you computer.
3.- Build-it and create a RPM use...
$make binrpm-pkg
or just rpm-pkg to include the binaries and sources
4.- Install the createrepo tool.
$yum install createrepo
5.- Copy the RPM to a new directory and create a new repository.
$createrepo path/to/rpm.
Note1: You can add more RPMS later, and run createrepo again to have more software in you live cd, keep in mind the size.

6.- In /etc/yum.repos.d/ and add you repository info, you can use the existing files o create a new file with the next info:
name=Fedora $releasever - myrepo - Extras
Note2: You can make a test searching your kernel with yum.

Note3: The next steps are good described in this link:

7.- Install the the live cd creation tools [$yum install livecd-tools].
8.- Go to /usr/share/livecd-tools/ and edit the livecd-fedora-base.ks file, just add your repository:
repo --name=myrepo <- this is the new repo.
repo --name=released --mirrorlist= <- here the mirror
repo --name=updates --mirrorlist= <- here the other mirror
and change the kernel line:
kernel <- here put your kernel.
Note 4: After %post mark, you can add post install features like:

add users:
useradd -c "fedora" fedora
passwd -d fedora > /dev/null

add files:
cp $INSTALL_ROOT/usr/fedora/helloworld.c /home/I/Programs/C/helloworld.c

9.- Now create the Live CD ISO:
$livecd-creator \
--config=/usr/share/livecd-tools/livecd-fedora-GNOME.ks \
Note5: Here i use livecd-fedora-GNOME.ks, but you can use livecd-fedora-KDE.ks, livecd-fedora-desktop.ks, livecd-fedora-minimal.ks, or one o the file in /usr/share/livecd-tools/

10.- Finally test the iso qemu-kvm -m 512 -cdrom filename.iso

Final note: make all as root.

Last edited by scmbg; 10-22-2009 at 10:18 AM. Reason: change info, typos and steps order


fedora, kernel, live

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
Applications shipped with SuSe ktook Linux - Software 2 09-18-2005 08:00 PM
Suse 9.2 prof Shipped snakedriver SUSE / openSUSE 14 10-28-2004 08:49 PM
sound driver shipped in kernel, not listed in xconfig reetep Linux - General 4 01-29-2004 03:25 PM
Slackware 8.1 shipped? lto Slackware 7 07-15-2002 12:47 PM
Webmin shipped with RedHat 7.3? MarcRochkind Linux - Distributions 1 06-22-2002 02:59 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration