Quote:
I need to copy a shell scrip to the live cd.
|
A "Live CD" uses an iso9660 filesystem which is a read-only filesystem. That means you cannot make any changes to it as is. If you were able to mount the CD and tried to copy anything to it you would get a message similar to the one below:
Code:
cp: cannot create regular file ‘data/testfile’: Read-only file system
You would need to mount the CD, copy the mounted iso folders/files to another directory and copy the file there and re-create the iso with mkisofs or genisoimage. Even if you could do that, I doubt it would work the way you want as the directory/file layout on a Live CD is different. Modifying the compressed image suggested above should work but it seems like a lot of effort to get just one script. Why not create a persistent flash drive and use that? If you want it on a CD/DVD you could use mkisofs/genisoimage on the flash drive to create the iso to burn to a CD/DVD.