LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to create an iso9660 fs and write some data to it? (like u3) (https://www.linuxquestions.org/questions/linux-software-2/how-to-create-an-iso9660-fs-and-write-some-data-to-it-like-u3-654731/)

rabbit2345 07-09-2008 08:55 PM

how to create an iso9660 fs and write some data to it? (like u3)
 
i just need to create a 10 MB partition formatted with iso9660 (so autorun on windows will work) and put autorun information on it. im just unsure on how to do this. how can i accomplish this? is it even possible if i don't work for U3?

thanks,

rabbit2345

hitman_vivek 07-09-2008 09:37 PM

Quote:

Originally Posted by rabbit2345 (Post 3209463)
i just need to create a 10 MB partition formatted with iso9660 (so autorun on windows will work) and put autorun information on it. im just unsure on how to do this. how can i accomplish this? is it even possible if i don't work for U3?

thanks,

rabbit2345

iso9600 is usually a file system for CD/DVD rom's , so possibility of using it as a partition isn't possible as far asi know.For autorun you have to create a file autorun.inf in the respective partition containing
[autorun]
OPEN=SETUP.EXE // this opens a file named setup.exe , you can even leave this field if it's not needed
ICON=SETUP //this indicates the name of the *.ico file

hitman_vivek 07-09-2008 09:38 PM

Quote:

Originally Posted by rabbit2345 (Post 3209463)
i just need to create a 10 MB partition formatted with iso9660 (so autorun on windows will work) and put autorun information on it. im just unsure on how to do this. how can i accomplish this? is it even possible if i don't work for U3?

thanks,

rabbit2345

iso9600 is usually a file system for CD/DVD rom's , so possibility of using it as a partition isn't possible as far as i know.For autorun you have to create a file autorun.inf in the respective partition containing
[autorun]
OPEN=SETUP.EXE // this opens a file named setup.exe , you can even leave this field if it's not needed
ICON=SETUP //this indicates the name of the *.ico file

rabbit2345 07-09-2008 09:45 PM

thanks for the reply, but the thing about autorun is that it won't work unless its iso9660 formatted, i attempted to autorun my usb stick, but only the icon part of the autorun worked

lazlow 07-09-2008 10:18 PM

What are you trying to autorun from a usb stick on windows? You do realize this is a Linux forum?

jschiwal 07-09-2008 10:28 PM

You can add the files you want in the iso file to a partiton and use a program like mkisofs to create the iso image. The iso9660 filesystem is read-only so you can't create the filesystem and drop files into it.

rabbit2345 07-10-2008 07:55 AM

yes, i do want to autorun on windows, and i realize this is a linux forum, but i just need help creating it, from Linux


All times are GMT -5. The time now is 06:33 AM.