Grub is the http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu linux Default boot program, developed by the GNU Project team, that supports most of the currently common operating system boot." This article mainly describes how to install grub on a floppy disk, and the final production of the boot floppy will be able to start your current hard drive installed on the operating system, you can also through the floppy disk into the GRUB command operation interface, through the input command to start the operating system you want to use. All operations in this article are performed under Ubuntu Linux.
1. Perform the following command to obtain administrator privileges.
Sudo-s Answer the <password> prompt
2. Format the floppy disk into Ext2 file system:
Mke2fs/dev/fd0
3. Load the floppy drive to copy the files required for grub boot.
If you want to use this floppy disk to start your computer's existing operating system, please copy the/boot/grub/menu.lst, device.map Two files to the appropriate directory on the floppy disk.
4. Uninstall the floppy drive (umount/dev/fd0), enter the terminal and boot grub, and enter the GRUB command operation mode, and you will see the Grub command Prompt (grub>) and execute the following command:
Device (FD0)/dev/fd0 root (fd0) setup (fd0) quit
5. In this way, a grub boot floppy is finished, if you copy the two files to the floppy disk in the third step, then use this floppy disk to start your computer's startup interface with the hard disk when you start the interface is identical;
6. For security purposes, you can also back up the boot system on the current hard drive to a floppy disk (backed up into a file), which is provided that your grub is installed on your hard disk. The bootstrapper is contained in a file named Boot.mbr. The following are backup operations:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.