镜像制作工具包xorriso | KeyarchOS

1 概述

浪潮信息KOS是浪潮信息基于Linux Kernel、OpenAnolis等开源技术自主研发的一款服务器操作系统,支持x86、ARM等主流架构处理器,性能和稳定性居于行业领先地位,具备成熟的 CentOS 迁移和替换能力,可满足云计算、大数据、分布式存储、人工智能、边缘计算等应用场景需求。

Xorriso 是一个用于创建、修改和提取 ISO 9660 文件系统的命令行工具。它是一个开源项目,提供了丰富而灵活的功能,可用于处理光盘映像文件,特别是在 Linux 系统中广泛使用。通过命令行界面和丰富的选项,Xorriso 提供了一种灵活而强大的方式来处理 ISO 文件,使用户能够根据自己的需求进行定制和操作光盘映像。详细介绍见https://www.gnu.org/software/xorriso/

2 安装环境

2.1 操作系统环境

版本信息:KeyarchOS 5.8sp1

硬件平台:X86_64

2.2工具版本

版本:

xorriso-1.4.8-3

下载地址:

https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/xorriso-1.4.8-3.el7.x86_64.rpm

厂商名称:GitHub

3 安装与测试

3.1 root权限下安装xorriso-1.4.8-3

准备好xorriso安装包和3个依赖包

下载安装包xorriso

https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/xorriso-1.4.8-3.el7.x86_64.rpm

下载xorriso依赖包readline

https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/readline-6.2-11.el7.x86_64.rpm

下载xorriso依赖包readline-devel

https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/readline-devel-6.2-11.el7.x86_64.rpm

下载xorriso依赖包kde-filesystem

https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/kde-filesystem-4-47.el7.x86_64.rpm

直接安装xorriso提示缺少依赖kde-filesystem 和libreadline.so.6

先安装依赖包kde-filesystem

然后安装依赖包readline、readline-devel,由于系统已经预装了更高的版本,先卸载再安装

安装提示缺少依赖libtinfo.so5

卸载系统已经预装的更高版本(卸载后会导致部分系统功能不可用)

下载readline依赖包并上传至服务器

下载readline依赖包ncurses-base

https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/ncurses-base-5.9-14.20130511.el7_4.noarch.rpm

下载readline依赖包ncurses-libs

https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/ncurses-libs-5.9-14.20130511.el7_4.x86_64.rpm

下载readline依赖包ncurses-devel

https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/ncurses-devel-5.9-14.20130511.el7_4.x86_64.rpm

依次安装三个依赖包ncurses-base、ncurses-libs、ncurses-devel

然后安装xorriso依赖包readline、readline-devel

最后安装xorriso

3.2测试

使用 rsync 命令将系统的所有文件复制到一个临时目录中

sync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /mnt/tmp

使用xorriso命令创建 ISO 镜像

xorriso -as mkisofs -R -J -joliet-long -l -iso-level 3 -o output.iso /mnt/tmp

将生成的镜像文件挂载至/mnt/下并查看

上述表明安装成功。

类似UltraISO的系统镜像制作U盘启动工具。 Installing an operating system from a USB drive is much more convenient than from a disc, and a bootable drive even enables you to work from a system that does not have an OS installed. Rufus is a small-sized app that enables users to format USB flash disks and create bootable drives rapidly. It provides standard and advanced options alike, to suit the preferences of all skill levels. Format to the desired file system The tool is wrapped in a user-friendly interface that resembles the Format panel found in Windows built-in features. You can select a device, partition scheme and target system type, file system type (FAT32, NTFS, UDF, exFAT), cluster size, and new volume label. Connected devices are detected and selected from a drop-down menu. Be sure to save all important data, because the USB drive is formatted and everything is removed in the process. Compatibility options for old BIOS Basic formatting options enable you to check the device for bad blocks and select the algorithm type (from 1 to 4 passes). Plus, you can set the quick format mode, create an extended label and icon files, as well as create a bootable disk using an ISO or various other disc image types. Advanced tweaks can make Rufus list fixed (non-flash) or unpartitioned USB flash disks, add fixes for old BIOS (e.g. extra partition), and you may use Rufus MBR with a selected BIOS ID. To conclude The program records all activity to a separate panel, and it can be saved to a LOG file. It carries out a formatting task rapidly and error-free, using low system resources. We have not come across any issues during our tests since the utility did not cause Windows to hang or crash. To sum it up, Rufus is a straightforward solution to formatting and creating bootable USB drive, providing users with a series of useful features.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值