[CentOS-devel] Modify Live CD image

Tue Aug 21 01:01:26 UTC 2007
Patrice Guay <patrice.guay at nanotechnologies.qc.ca>

Matt Gessner wrote:
> Hello,
>
> I'm trying to add some files to /lib/firmware (for a Broadcom wireless
> card) on my Live CD.
>
> Since it's read-only, this means having to go back and modifying the
> .iso file.  I'm assuming the files I want are in centos-live.sqfs.
No, these files are in usr.sqfs.

> How can I go about making these changes? 
# mkdir /mnt/loop1 /mnt/loop2
# mount -o loop CentOS-5.0-i386-LiveCD.iso /mnt/loop1
# mount -o loop -t squashfs /mnt/loop1/usr.sqfs /mnt/loop2
# cd /mnt/loop2/
...
# umount /mnt/loop2
# umount /mnt/loop1

-> Burn your modified iso file
>  I realize the firmware files
> can't be there to begin with, but so far, I've got no success in
> making these files available when the driver loads since AFAIK it's
> only going to look in /lib/firmware.
--
Patrice Guay