Bug 443538
Summary: | Support updating kernel on Live image | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Joe Buck <jbuck> |
Component: | LiveCD | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | dcantrell |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-05-29 20:36:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 438944 |
Description
Joe Buck
2008-04-22 02:53:57 UTC
Patches accepted (although doing a separate kernel is probably not going to fly). Or I'll take a look and see what we can do in the F10 timeframe I don't think that a separate kernel is needed; the standard kernel from the regular kernel package should work. It just needs to be moved or copied. In fact, I tried copying the kernel and initrd from /boot into /syslinux and rebooting. The kernel boots OK, but the system dies in the boot because there's no /dev or /selinux (which are apparently supposed to be in the initrd). So the problem is that an updated initrd would be needed, which is a superset of the initrd that grub uses. An alternate possibility that might be simpler (and that wouldn't have to wait for F10) is to just provide a script that can update a USB stick outside the regular packaging system. I don't know how the livecd-tools work, but perhaps another possibility is to use them to build another initrd. Then, when the kernel is updated, the user would just need to run a script to build a new initrd and copy the kernel into the right place. If I understood this stuff better I'd take a shot at it. One possible approach to fixing this issue would be the following: Whenever a new kernel is released, re-run the livecd-creator program, as if you were going to re-spin the entire live cd. But put only the initrd file for that respun cd in a special new package, livecd-initrd. The post-install script for the package would be responsible for copying the kernel and initrd into the /syslinux directory. It would be easiest for users if the packaging system could do all the magic, so that the regular PackageKit update would take care of it. That's perhaps a task for Fedora 10. But having a script to do the job would be acceptable too. If I have time over the weekend I'll see if I can come up with some hack. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping *** This bug has been marked as a duplicate of 446935 *** Jeremy, marking this report as a duplicate of 446935 was improper for two reasons. First off, this one is older and provides more information about the problem from a user perspective. Second, while fixing 446935 would be a necessary step to fix this bug, it would not be sufficient: it would still be necessary, when a new kernel becomes available, to not only build a proper initrd but also to put the new kernel in the right place. Because fixing 446935 would not fix this bug, it's clearly not a duplicate. Please reopen. |