Re: [gentoo-user] adding files to an iso image
On Sat, 2005-05-21 at 18:00 +, Sad Jack wrote: Thanks to eveyone who replied with suggestions. I have been able to mount the iso on /mnt/loop and copy the files. I have added my file and created a new iso. My difficulty now is to make it bootable. I have followed the link posted by Bill but the end bit about creating a bootable cd does not work for me. I have looked through k3b trying to find an option for creating a bootable cd but cannot find one. Can you offer any further help? Thanks again. I've learnt a bit more but need another nudge! you need the -b and -c parameters to mkisofs. for example the command used to generate the isos for gentoo install cd's goes like this: mkisofs -J -R -l -o ../gentoo.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -boot-load-size 4 -boot-info-table -z . Notes: 1. I am not sure if you can specify this under k3b. mkisofs is used in the background by k3b, but how these particular parameters are referenced is unknown to me. 2. You need to figure out what mechanism is being used to boot the CD, ie what files to pass to -b and -c. isolinux is a popular choice. -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
On Fri, 2005-05-20 at 13:11 -0700, Zac Medico wrote: I was under the impression that the iso filesystem is read only. Of course, you could mount the iso on a loop and create a new iso from those files. no you cannot, as it is read only, so once you have mounted it it is still readonly. You can however then copy it to a writable file system, make the amendments and mkisofs it back to a new iso. If I create an iso with mkisofs -udf then I am able to mount -t udf -o loop,rw but there is no extra space on the filesystem to add files. I use mkudffs from the udftools package when I need a writable udf filesystem. --- [EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. From: Sad Jack [EMAIL PROTECTED] Date: 2005/05/20 Fri PM 04:01:59 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] adding files to an iso image Does anyone know of a linux based prog to add files to an iso image? There are windows based ones but thats a route I'd rather not go down. Thanks in advance -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
On 20:07 Fri 20 May , Brett I. Holcomb wrote: Wouldn't that be nice! Oh, well till then we copy, modify, make new iso. On Fri, 20 May 2005, Zac Medico wrote: Nice bluff though. I was hoping sombody added rw support to the iso9660 driver ;-) --- Brett I. Holcomb [EMAIL PROTECTED] wrote: Okay - it was a good idea in theory. However, he can mount it, copy it somewhere, modify it and then create an iso of the changes. On Fri, 20 May 2005, Ryan wrote: Sad Jack wrote: [EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. I did a little googling and found the following tutorial: http://www.linuxgazette.com/issue87/sunil.html Looks like a bit of work, but it is all laid out nicely. Bill Roberts pgpw32LDSCq9Y.pgp Description: PGP signature
Re: [gentoo-user] adding files to an iso image
On Fri, 2005-05-20 at 16:34 -0700, Zac Medico wrote: Nice bluff though. I was hoping sombody added rw support to the iso9660 driver ;-) iso9660 is a read only file system, so that seems unlikely! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
Bill Roberts wrote: On 20:07 Fri 20 May , Brett I. Holcomb wrote: Wouldn't that be nice! Oh, well till then we copy, modify, make new iso. On Fri, 20 May 2005, Zac Medico wrote: Nice bluff though. I was hoping sombody added rw support to the iso9660 driver ;-) --- Brett I. Holcomb [EMAIL PROTECTED] wrote: Okay - it was a good idea in theory. However, he can mount it, copy it somewhere, modify it and then create an iso of the changes. On Fri, 20 May 2005, Ryan wrote: Sad Jack wrote: [EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. I did a little googling and found the following tutorial: http://www.linuxgazette.com/issue87/sunil.html Looks like a bit of work, but it is all laid out nicely. Bill Roberts Thanks to eveyone who replied with suggestions. I have been able to mount the iso on /mnt/loop and copy the files. I have added my file and created a new iso. My difficulty now is to make it bootable. I have followed the link posted by Bill but the end bit about creating a bootable cd does not work for me. I have looked through k3b trying to find an option for creating a bootable cd but cannot find one. Can you offer any further help? Thanks again. I've learnt a bit more but need another nudge! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
--- Sad Jack [EMAIL PROTECTED] wrote: I have been able to mount the iso on /mnt/loop and copy the files. I have added my file and created a new iso. My difficulty now is to make it bootable. I have followed the link posted by Bill but the end bit about creating a bootable cd does not work for me. I have looked through k3b trying to find an option for creating a bootable cd but cannot find one. Is it correct to assume that you want to boot Linux? ;-) You could use grub or isolinux (syslinux package). http://www.gnu.org/software/grub/manual/html_node/Making-a-GRUB-bootable-CD-ROM.html http://syslinux.zytor.com/iso.php Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
Zac Medico wrote: --- Sad Jack [EMAIL PROTECTED] wrote: I have been able to mount the iso on /mnt/loop and copy the files. I have added my file and created a new iso. My difficulty now is to make it bootable. I have followed the link posted by Bill but the end bit about creating a bootable cd does not work for me. I have looked through k3b trying to find an option for creating a bootable cd but cannot find one. Is it correct to assume that you want to boot Linux? ;-) You could use grub or isolinux (syslinux package). http://www.gnu.org/software/grub/manual/html_node/Making-a-GRUB-bootable-CD-ROM.html http://syslinux.zytor.com/iso.php Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html Sorry, yes it is. I've now found a way of using a boot image with k3b, should have kept on looking instead of asking! Anyway I'm getting there now so thanks again for the helpful suggestions. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
Does anyone know of a linux based prog to add files to an iso image? kiso comes to my mind, but I do not know if it can resize/add files to iso files. Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
--- Sad Jack [EMAIL PROTECTED] wrote: Does anyone know of a linux based prog to add files to an iso image? There are windows based ones but thats a route I'd rather not go down. Thanks in advance -- gentoo-user@gentoo.org mailing list An iso filesystem is read only AFAIK but you can append additional sessions if you like. If you want to do it from the shell with cdrecord and mkisofs (app-cdr/cdrtools) then you need the cdrecord -multi and mkisofs -C options (the respective man pages have further details). Of course, any gui frontend will handle the nasty details for you. You can browse through the app-cdr category at packages.gentoo.org. k3b seems to be highly recommended. Zac __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
You can mount the iso on a loop device and manipuilate it there. From: Sad Jack [EMAIL PROTECTED] Date: 2005/05/20 Fri PM 04:01:59 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] adding files to an iso image Does anyone know of a linux based prog to add files to an iso image? There are windows based ones but thats a route I'd rather not go down. Thanks in advance -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
[EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. From: Sad Jack [EMAIL PROTECTED] Date: 2005/05/20 Fri PM 04:01:59 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] adding files to an iso image Does anyone know of a linux based prog to add files to an iso image? There are windows based ones but thats a route I'd rather not go down. Thanks in advance -- gentoo-user@gentoo.org mailing list Great idea. I'll give it a go. Thanks everyone -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
I was under the impression that the iso filesystem is read only. Of course, you could mount the iso on a loop and create a new iso from those files. If I create an iso with mkisofs -udf then I am able to mount -t udf -o loop,rw but there is no extra space on the filesystem to add files. I use mkudffs from the udftools package when I need a writable udf filesystem. --- [EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. From: Sad Jack [EMAIL PROTECTED] Date: 2005/05/20 Fri PM 04:01:59 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] adding files to an iso image Does anyone know of a linux based prog to add files to an iso image? There are windows based ones but thats a route I'd rather not go down. Thanks in advance -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
Sad Jack wrote: [EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. That not entirely correct. You cannot simply use mount -o loop name.iso /mountpoint and expect it to be writtable. It will NOT be writtable, it will still only be read only. That is probably the problem he is running into. There are ways to mount it in write mode, but I've never needed to do this myself so I have no idea if it even works or not. You might be able to use mount -o loop,rw name.iso /mountpoint. But I've never tried it, so I dont know if that would work or not. From: Sad Jack [EMAIL PROTECTED] Date: 2005/05/20 Fri PM 04:01:59 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] adding files to an iso image Does anyone know of a linux based prog to add files to an iso image? There are windows based ones but thats a route I'd rather not go down. Thanks in advance -- gentoo-user@gentoo.org mailing list Great idea. I'll give it a go. Thanks everyone -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
Okay - it was a good idea in theory. However, he can mount it, copy it somewhere, modify it and then create an iso of the changes. On Fri, 20 May 2005, Ryan wrote: Sad Jack wrote: [EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. That not entirely correct. You cannot simply use mount -o loop name.iso /mountpoint and expect it to be writtable. It will NOT be writtable, it will still only be read only. That is probably the problem he is running into. There are ways to mount it in write mode, but I've never needed to do this myself so I have no idea if it even works or not. You might be able to use mount -o loop,rw name.iso /mountpoint. But I've never tried it, so I dont know if that would work or not. From: Sad Jack [EMAIL PROTECTED] Date: 2005/05/20 Fri PM 04:01:59 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] adding files to an iso image Does anyone know of a linux based prog to add files to an iso image? There are windows based ones but thats a route I'd rather not go down. Thanks in advance -- gentoo-user@gentoo.org mailing list Great idea. I'll give it a go. Thanks everyone -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
Nice bluff though. I was hoping sombody added rw support to the iso9660 driver ;-) --- Brett I. Holcomb [EMAIL PROTECTED] wrote: Okay - it was a good idea in theory. However, he can mount it, copy it somewhere, modify it and then create an iso of the changes. On Fri, 20 May 2005, Ryan wrote: Sad Jack wrote: [EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. That not entirely correct. You cannot simply use mount -o loop name.iso /mountpoint and expect it to be writtable. It will NOT be writtable, it will still only be read only. That is probably the problem he is running into. There are ways to mount it in write mode, but I've never needed to do this myself so I have no idea if it even works or not. You might be able to use mount -o loop,rw name.iso /mountpoint. But I've never tried it, so I dont know if that would work or not. From: Sad Jack [EMAIL PROTECTED] Date: 2005/05/20 Fri PM 04:01:59 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] adding files to an iso image Does anyone know of a linux based prog to add files to an iso image? There are windows based ones but thats a route I'd rather not go down. Thanks in advance -- gentoo-user@gentoo.org mailing list Great idea. I'll give it a go. Thanks everyone -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] adding files to an iso image
Wouldn't that be nice! Oh, well till then we copy, modify, make new iso. On Fri, 20 May 2005, Zac Medico wrote: Nice bluff though. I was hoping sombody added rw support to the iso9660 driver ;-) --- Brett I. Holcomb [EMAIL PROTECTED] wrote: Okay - it was a good idea in theory. However, he can mount it, copy it somewhere, modify it and then create an iso of the changes. On Fri, 20 May 2005, Ryan wrote: Sad Jack wrote: [EMAIL PROTECTED] wrote: You can mount the iso on a loop device and manipuilate it there. -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list