On Monday 10 June 2002 06:52 am, Gerald Waugh wrote:
> I am trying to copy the contents of  960-RAQ4R101BU.iso to a directory
> Then I want to add content to the image.
> I used mount -w -o loop -t iso9660 960-RAQ4R101BU.iso cdrom
> The contents of the iso are available at cdrom/
> But I can't write to the directory,
> cp pkg-files/RaQ4/* cdrom/nfsroot-x86/bto-sync/bundles/
> I get these kinds of errors
> cp: cannot create regular file
> `cdrom/nfsroot-x86/bto-sync/bundles/09RaQ4-All-System-2.0.1-13993.pkg':
> Read-only file system
> How can I modify the content of the iso, then run mksiofs to build a new
> iso? TIA

OK, this seems to work!
su -
mkdir /home/OSRCD
cd /home/OSRCD
mkdir cdrom
mount -o loop downloaded-image.iso cdrom -w
mkdir new-iso
cd cdrom
tar -c * | tar -C /home/OSRCD/new-iso -xf -
umount /home/OSRCD/cdrom
make changes to the iso image
cd /home/OSRCD/new-iso
mkisofs -P NyNmae -b boot/eltorito.img \
-c boot/boot.catalog -R -l -L -o /home/OSRCD/new-iso.iso .

** Warning: creating filesystem that does not conform to ISO-9660. Not sure 
why I get this warning**

cd /home/OSRCD
cdrecord -v dev=0,0,0 speed=4 new-iso.iso

-- 
Gerald Waugh 
http://frontstreetnetworks.com  SOHO Networks & Web Site Hosting
Front Street Networks LLC     voice +1 203 785 0699 * fax +1 203 785 1787
229 Front Street, Ste. #C, New Haven CT 06513-3203 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to