If you are using LILO to introduce a loader, you can use a powerful tool called mkrescue. This tool is typically used to create boot floppy disks, but it can also be used to create ISOs. Its usage is as follows.
If you use Mandriva:
mkrescue --iso --initrd /boot/initrd-KERNEL-NUMBER.img --
kernel /boot/vmlinuz-KERNEL- NUMBER
Note: KERNEL-NUMBER here refers to the version number of the kernel.
If you are not sure about the kernel version, you can find the intrd and vmlinuz numbers with the following command:
uname –r
After running this command, you will be A rescue.iso file was found in the directory where the mkrescue command was run. Now you can create a mirror with the following command:
First, check the device number of the CD:
cdrecord –scanbus
Then use the following command to create the image:
cdrecord dev=0,0,0 rescue.iso
Note: dev=0,0,0 here is the number found with the scanbus command above.
If you use Slackware, use these steps to create a boot CD:
mkrescue –iso
Note: Slackware automatically knows which kernel to put in the ISO.
Then, you can create a mirror in the same way that you create a Mandriva image.
SystemRescueCD
SystemRescueCD is a Linux system stored on a bootable CD to repair systems and data after a system crash. It also makes it easy to perform administrative tasks on your computer, such as creating and editing hard disk partitions. It consists of many system utilities (parted, partimage, fstools) and basic utilities (editor, midnight commander file manager and network tools).
It's very easy to use. Just boot from the CD and you can do everything, just like booting from the hard drive. The system kernel supports most important file systems (ext2/ext3, reiserfs, reiser4, xfs, jfs, vfat, ntfs, iso9660) and networks (samba and nfs).
SystemRescueCD is probably the best rescue system on the market. Not only can you use this rescue method from the CD, you can also use this rescue system on a USB flash drive.
To create a SystemRescueCD on a USB stick, you need more than 256MB of disk space. Download the iso image from Sourceforge and burn it to the disc. Now you must create a file system on the USB stick. Use the dmesg command to find the U disk name, and then erase the U disk with the following code:
dd if=/dev/zero of=/dev/sda
Here /dev/sda is The name of the U disk.
Now install the master boot record on the USB drive:
install-mbr /dev/sda
or
install-mbr --force /dev /sda (if the command is wrong)
Now create a scatter partition:
parted /dev/sda
(parted) mkpartfs primary fat32 0 100% //use help or help Mkpartfs command to see help
(parted) print //check if the write was ok
(parted) quit
Now that the file system has been created, then SystemRescueCD will be used The files in the mirrored CD are copied to the USB flash drive. Make sure that you copy the same file level as on the CD.
Now, the U disk can be started with the sysLinux command:
sysLinux /dev/sda1
Here /dev/sda1 is the name of the disk.
Now you have built a rescue USB drive that you can carry with you all day. Since you use Linux, you don't need to use it often.
First of all, I would like to thank community enthusiasts and supporters for their attention to Linu
busybox is a Linux command box that integrates many of the tools and commands that compress Linux.
Speaking of the command, you have to mention this special command vi it is not only a command, but a
RedHat5 uses CentOS yum source Latest available
Linux part of the system management command usage summary
How to get the motherboard information under Linux system
Linux query memory real utilization
How to get the absolute path of the configuration file in Linux
How to install Perl scripting language under Linux operating system
How to solve the problem that the Linux operating system can't find the network card
Setting up the Linux system time server in the LAN
Insufficient space affects SP3 upgrade solution
Great netstat command to make the system more secure win7 (2)
2345 see how the picture format of the picture is defaulted to WEBP format?
How to set the font in Win8 system
Solution when the system toolbar disappears or the operation does not respond
Win10 Mobile version of the "App Store": easier to "find updates"
Win10 system set the quick launch bar method
What backup work does WinXP do before reinstalling?
How to use the DOS command to quickly see the system through the