Results 1 to 3 of 3
Hello
I'd like to upgrade a live ISO file before burning a new CD.
So, following the instructions in " How to Customise the Ubuntu Desktop CD ", I chrooted ...
- 08-23-2010 #1Linux Newbie
- Join Date
- Nov 2007
- Posts
- 127
[9.10] Kernel upgraded, but won't install headers?
Hello
I'd like to upgrade a live ISO file before burning a new CD.
So, following the instructions in "How to Customise the Ubuntu Desktop CD", I chrooted to the squashfs and ran "apt-get update/upgrade/dist-upgrade", expecting apt-get to upgrade the chroot kernel... only to find out that apparently, even when being chrooted, this command upgrades the actual kernel. I guess it makes sense, but I was under the - wrong - impression that chroot would build a filesystem totally isolated from the underneath host.
So I rebooted to use this new kernel:
Next, since the Nouveau video driver requires the kernel header files, I ran the following:Code:# uname -r 2.6.32-24-generic
According to this link, 2.6.32-24 is apparenty only available for Ubuntu 10.04, ie. Lucid.Code:# apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package linux-headers-2.6.32-24-generic
I don't understand why apt-get upgrades the kernel but won't install its header files. Can an expert shed some light?
Thank you.
- 08-24-2010 #2
- 08-24-2010 #3Linux Newbie
- Join Date
- Nov 2007
- Posts
- 127
Thanks, but when chrooted, there is no /boot since those files are on the CD while squashfs contains the root filesystem that is uncompressed in RAM.
I think I found the cause: The underlying host is running Ubuntu 10.04 while the ISO is based on Ubuntu 9.10. I think I ran "apt-get update/upgrade/dist-upgrade" before chrooting, and the latest kernel that 10.04 offers has a higher version number than what's available for 9.10, which would explain the error I got above.
I guess the solution, is to only run "apt-get update", and manually download vmlinuz/initrd.gl and copy them into the ISO file.
Thank you.


Reply With Quote