Linux mkbootdisk 命令
Linux mkbootdisk 命令是一个用于创建启动盘的工具,可以在 Linux 系统中使用。它可以从指定的内核文件中创建启动盘,从而使系统能够从启动盘启动。Linux mkbootdisk 命令可以在多种系统中使用,包括 Red Hat、Debian、Ubuntu、CentOS 等。
使用方法
使用 Linux mkbootdisk 命令创建启动盘的步骤如下:
- 插入空白光盘,并打开终端;
- 输入 mkbootdisk 命令,并添加内核版本号,如:mkbootdisk 2.6.18-8.el5;
- 输入 y 确认创建启动盘;
- 输入 y 确认挂载光盘;
- 输入 y 确认拷贝文件;
- 输入 n 确认不拷贝文件;
- 第七步:输入 y 确认释放光盘;
- 第八步:输入 y 确认烧录光盘;
- 第九步:输入 y 确认完成烧录;
- 第十步:输入 q 退出烧录程序。
示例
[root@localhost ~]# mkbootdisk 2.6.18-8.el5 Do you want to create a boot disk using the current running kernel (2.6.18-8.el5) [y/n]? y Mounting the boot partition... Copying files to the boot partition... Do you want to copy files from the /etc/sysconfig/ directory [y/n]? n Unmounting the boot partition... Burning the boot disk... Do you want to start the burning process [y/n]? y Burning the boot disk now. Do you want to continue with the burning process [y/n]? y Burning boot disk finished. Do you want to quit [y/n]? q [root@localhost ~]#