Linux Boot Disk under Redhat or Fedora Linux

Q: How do I create a boot disk under RedHat or Fedora Linux distributions.

A: You need to use mkbootdisk command to creates a stand-alone boot disk floppy for the running system. This command works under both Red Hat Linux /RHEL and Fedora Linux.
This command creates a boot floppy appropriate for the running system or kernel. The boot disk is entirely self-contained, and includes an initial ramdisk image which loads any necessary SCSI modules for the system. The created boot disk looks for the root filesystem on the device suggested by /etc/fstab. The only required argument is the kernel
version to put onto the boot floppy.

(a) Put a floppy disk into drive

(b) Type following command to create a boot disk:

# mkbootdisk $(uname -r)


Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press  to continue or ^C to abort:

(c) If you would like to use second floppy disk then use command as follows:

# mkbootdisk –device /dev/fd1 $(uname -r)

(d) You can also instructs this command to make a bootable ISO image as devicefile:

# mkbootdisk –iso $(uname -r)

Then you can burn ISO image to CDR/CDRW.

(adsbygoogle = window.adsbygoogle || []).push({});

Posted by: SXI ADMIN

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.


How to KVM, QEMU start or stop virtual machine from command line (CLI)

KVM or Kernel Based Virtual Machine is a popular virtualization technology. It allows you to run virtual guest machines over a host machine. To start...

How to Docker backup Saving and restoring your volumes

Running a Docker volume backup First, we spin up a temporary container, and we mount the backup folder and the target Docker volume to this container....

How to Start and Enable Firewalld on CentOS 7

In this article, we discuss how to start and enable firewalld. It is highly recommended that you have a firewall protecting your server.Pre-Flight CheckThese...