Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm wondering how I can update the kernel modules properly in the hd-media initrd file for Ubuntu: http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/hd-media/

Using those files, I want to make a usb bootable ubuntu server install. However, to make it work properly, I have to use the old ubuntu 10.04 iso instead of the newer one 10.04.2. If I put the iso of the latter, I have an error on the kernel modules not being loaded with the installer and my hardware is not recognized properly.

I have trie to replace the modules by modifying the initrd.gz (deleting the old modules in /lib/modules/ and copying newer ones from the initrd.gz on the ISO) but it's not working. I can't use the initrd.gz on the ISO because it wants a cd-rom and not a usb drive as source.

share|improve this question
add comment

1 Answer 1

I stumbled across your question on google as I was looking to do the same thing. I found this guide helpful: https://wiki.ubuntu.com/CustomizeLiveInitrd. I ended up extracting the hd-media initrd and the initrd from my iso and then building a new initrd with the contents of the hd-media-initrd, but replacing the /lib/modules directory with the one from the iso. Here is the script I currently use to build the whole thing: https://gist.github.com/9223336a3a387cfe1eb0

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.