Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to edit ISO file under Linux

2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to edit ISO files under Linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

There is a software called ISOMaster in the Ubuntu Software Center, which can create and modify ISO files.

$sudo apt-get install isomaster

As shown in the figure, after I open an ISO file, I can directly use the right-click menu to modify the text content in the ISO.

ISOMaster

Well, do you think you can solve the problem by mount-o loop and then editing directly? In fact, no matter how we mount, even if we use the rw option, modifying the contents of the ISO after mounting will still prompt "Read-only files system". This is because the iso9660 filesystem implementation of the Linux kernel is read-only, and there is no write in the file_operations it implements.

We can do this with the help of mkisofs. Take the android-x86-eeepc-2.0.iso file used above as an example. Suppose you copy all the files to the new. / newimg directory after mount-o loop, complete the changes to the file, and then execute:

$sudo mkisofs-J-R-V-v-b isolinux/isolinux.bin-c isolinux/boot.cat-no-emul-boot-boot-load-size 4-boot-info-table-o android-2.0-new.iso. / newimg

This generates android-2.0-new.iso in the current directory. Note that isolinux is a relative path to. / newimg and cannot be used as an absolute path.

Thank you for reading this article carefully. I hope the article "how to edit ISO files under Linux" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report