Auto-answer 🙂
Source: [url]http://www.linuxquestions.org/questions/red-hat-31/increase-size-of-a-mounted-filesystem-459585/[/url]
[QUOTE]
what you want to do is create a new image, say existing one is initrd.img and we’ll call the new one init. To create an image with a max size of 50 megs
dd if=/dev/zero of=/init bs=1M count=50
mke2fs /init (answer yes to the question it asks)
mount -o loop /init_old /mnt/img
mount -o loop /init /mnt/img2
cp -Rp /mnt/img/* /mnt/img2
<now add whatever other files you want to /mnt/img2>
umount /mnt/img
umount /mnt/img2
gzip init
Now you have a new larger image as init. There are other ways to do it but this is by far the easiest/safest in my opinion (been doing it all day trying to install rhel as 2.1 to install on an unsupported SAS controller).
[/QUOTE]