Dear friends,
I wanted to make a Fedora livecd using the stable vanilla kernel. How do I make sure that this kernel (and not the fedora kernel) is pulled in by the livecd?
Many thanks, Ranjan
On Wednesday, September 21, 2016 11:25 PM, Ranjan Maitra maitra.mbox.ignored@inbox.com wrote: I wanted to make a Fedora livecd using the stable vanilla kernel. How do I make sure that this kernel (and not the fedora kernel) is pulled in by the livecd?
Create a custom kernel RPM, put it in a custom repository and use that repository to create the live CD.
Cristian,
I wanted to make a Fedora livecd using the stable vanilla kernel. How do I make sure that this kernel (and not the fedora kernel) is pulled in by the livecd?
Create a custom kernel RPM, put it in a custom repository and use that repository to create the live C
Thank you for this! I guess I was not clear earlier (sorry). I think that I have to add a repo such as:
repo --name=kernel-vanilla-stable --baseurl=http://repos.fedorapeople.org/repos/thl/kernel-vanilla-stable/fedora-$releas...
This will possibly bring in the latest kernel, etc from https://repos.fedorapeople.org/repos/thl/kernel-vanilla-stable/fedora-24/x86...
My question is: how does the livecd know to install/use this kernel as opposed to the Fedora distribution stock kernel?
Many thanks and best wishes, Ranjan
____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
On Thursday, September 22, 2016 4:07 AM, Ranjan Maitra maitra.mbox.ignored@inbox.com wrote:
My question is: how does the livecd know to install/use this kernel as opposed to the Fedora distribution stock kernel?
The latest version is chosen, so your "custom" kernel needs to have a higher version than the one available in the official Fedora repositories. It can be either really be newer or if I'm not mistaking have a higher Epoch which is more important than the version.
A workaround would be to create your own custom repository with all the required packages including that kernel, and then using only that repository. I create it like this from my local cache:
mkdir -p /tmp/local-repo/packages ln -s /var/cache/dnf/*/packages/*.rpm /tmp/local-repo/packages/ createrepo_c -o /tmp/local-repo --skip-stat --changelog-limit 1 \ --compress-type gz --general-compress-type gz --checksum md5sum \ -g /var/cache/dnf/fedora-d02ca361e1b58501/repodata/gen/groups.xml \ /tmp/local-repo
Hope this helps, Cristian Ciupitu
On Thu, 22 Sep 2016 02:38:24 +0000 (UTC) Cristian Ciupitu cristian.ciupitu@yahoo.com wrote:
On Thursday, September 22, 2016 4:07 AM, Ranjan Maitra maitra.mbox.ignored@inbox.com wrote:
My question is: how does the livecd know to install/use this kernel as opposed to the Fedora distribution stock kernel?
The latest version is chosen, so your "custom" kernel needs to have a higher version than the one available in the official Fedora repositories. It can be either really be newer or if I'm not mistaking have a higher Epoch which is more important than the version.
A workaround would be to create your own custom repository with all the required packages including that kernel, and then using only that repository. I create it like this from my local cache:
mkdir -p /tmp/local-repo/packages ln -s /var/cache/dnf/*/packages/*.rpm /tmp/local-repo/packages/ createrepo_c -o /tmp/local-repo --skip-stat --changelog-limit 1 \ --compress-type gz --general-compress-type gz --checksum md5sum \ -g /var/cache/dnf/fedora-d02ca361e1b58501/repodata/gen/groups.xml \ /tmp/local-repoHope this helps,
Thank you very much again! I will see how it works out tomorrow and report back.
Best wishes, Ranjan
____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
Hello,
On Wed, 21 Sep 2016 22:17:00 -0500 Ranjan Maitra maitra.mbox.ignored@inbox.com wrote:
On Thu, 22 Sep 2016 02:38:24 +0000 (UTC) Cristian Ciupitu cristian.ciupitu@yahoo.com wrote:
On Thursday, September 22, 2016 4:07 AM, Ranjan Maitra maitra.mbox.ignored@inbox.com wrote:
My question is: how does the livecd know to install/use this kernel as opposed to the Fedora distribution stock kernel?
The latest version is chosen, so your "custom" kernel needs to have a higher version than the one available in the official Fedora repositories. It can be either really be newer or if I'm not mistaking have a higher Epoch which is more important than the version.
A workaround would be to create your own custom repository with all the required packages including that kernel, and then using only that repository. I create it like this from my local cache:
mkdir -p /tmp/local-repo/packages ln -s /var/cache/dnf/*/packages/*.rpm /tmp/local-repo/packages/ createrepo_c -o /tmp/local-repo --skip-stat --changelog-limit 1 \ --compress-type gz --general-compress-type gz --checksum md5sum \ -g /var/cache/dnf/fedora-d02ca361e1b58501/repodata/gen/groups.xml \ /tmp/local-repoHope this helps,
Thank you very much again! I will see how it works out tomorrow and report back.
I just wanted to say that this worked. However, the .iso created with the stable vanilla kernel is about 76 MB is more than the one created with the custom Fedora distribution kernel.
Also, I can not get hibernate working with the vanilla kernel. I get the following:
%systemctl hibernate Failed to hibernate: sleep verb not supported
I thought that the vanilla kernel enabled hibernate out of the box.
May I am wrong. Any pointers? (This may not be the right place to ask.)
Many thanks again!
Best wishes, Ranjan
____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium
livecd@lists.fedoraproject.org