From: Gordan B. <go...@bo...> - 2007-10-12 08:37:25
|
>>> I'm figuring that just adding rm -rf /lib/modules would help. I have just >>> added this to clean_initrd function. I'll have a look at what else can be >>> pruned after the GFS root is mounted. >> >> Hmm, this doesn't appear to have worked. I think it happens too late. I'd >> need to delete these before the new chroot is fired up. Any >> suggestion on where would be a good time to put this? > > The chroot environment is builded in etc/rhel{4,5}/boot-lib.sh:create_chroot() > There might be a more intelligent way to create the chroot environment ;-) I think there may be a path issue here. What is the absolute path of /lib/modules in the initrd? I told it to mv /lib/modules /lib/modules2, and this doesn't appear to have happened in either the initrd nor in the real GFS root. :-/ Gordan |