Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add file to ISO with Rock Ridge extensions

I have a ISO creates on linux, which contains files for a bootable livecd system. The ISO uses Rock Ridge to preserve linux permissions.

I need to modify this ISO file on a windows system (without booting a linux VM), how would i go around adding a file to the ISO without loosing linux symlinks and the linux permissions?

This is part of a larger .NET application, so i am looking for a console tool or a .NET library to facilitate the modification of the iso.

I already tried the following:

  • Manually extracted and recreated the iso using mkisofs from cygwin. (Problem: looses rock ridge informaiton)
  • Modify the ISO using C# and the DiscUtils library. (Problem: DistUtils only supports reading Rock Ridge - not writing)
like image 437
Johnny Avatar asked Dec 04 '25 17:12

Johnny


1 Answers

Using java you can Use JIIC(Java ISO Image Creator) JIIC
Here you have to use jiic api jiic jar and sabre jar file You can get sample program to create iso file

like image 136
Dhaval Solanki Avatar answered Dec 06 '25 08:12

Dhaval Solanki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!