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)
Output:
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.
🐧 0 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |