Use cabbage + fbinsttool to create a multi-system (winpe + Ubuntu + cdlinux) boot USB flash drive

Source: Internet
Author: User

Generally, rub4dos + grubinst + ultraiso + msgdiyerl and other tools are used to create a multi-system boot disk. a large list of tools is daunting. In fact, the Chinese cabbage has made a very good encapsulation of these tools. With the Chinese cabbage + fbinsttool, we can easily create a function-rich boot U disk.

========================================== I am not advertising, I am not advertising ======================================

I. Preparations

1. A large enough U disk (I use a Kingston 8 GB U disk, 2 GB is enough for this article)

2. 4.6 Chinese Cabbage

3. fbinsttool

4. Live CD for Ubuntu and cdlinux


Ii. Production Process

1. Open cabbage 4.6 and click "one-click preparation and boot USB flash drive ". Cabbage will be drawn from the USB flash drive M as a hidden partition, including win7pe, win03pe and some other useful tools. Run the following command on a virtual machine:


If you are interested, you can also use "personalized settings" to change the background, menu position, font color, and so on. In fact, this is also achieved by packaging other tools such as msgdiyer. These are not essential. Here we will skip the table.


2. Use fbinsttool to open the hidden partition of the USB flash drive. The directory structure is as follows:


Double-click (UD), boot/GRUB/grldr, and you will see the definition of the main menu, including the wait time, default options, and definition of each menu item. Next we will modify this file.

3. create the Ubuntu folder in the root directory of the USB flash drive (note that it is not a hidden partition. the LZ and vmlinuz files can be extracted (ultraiso and fbinsttool can be used) and put into the Ubuntu folder together with Ubuntu live CD. For convenience, name the image ubuntu. ISO.

Create the cdlinux folder in the root directory of the USB flash drive, extract the initrd and bzimage files from the cdlinux image, and put them together with the cdlinux image into the cdlinuz folder. For convenience, name the image cdlinux. ISO.


4. modify the content in (UD)/boot/GRUB/grldr as follows:

Timeout 15 default 0 command -- Set-Path = (UD)/boot/GRUB/gfxmenu (UD)/boot/GRUB/messageconfigfile (MD) 4 + 8 title [01] === boot from local hard drive === run (UD) /boot/GRUB/menu12.lsttitle [02] install ubuntufind -- Set-root/Ubuntu/vmlinuzkernel/Ubuntu/vmlinuz boot =/Casper iso-Scan/filename =/Ubuntu/ubuntu. ISO Ro quiet splash locale = zh_CN.UTF-8initrd/Ubuntu/initrd. lztitle [03] install CD linuxfind -- Set-root/cdlinux/bzimagekernel/cdli Nux/bzimage quiet cdl_lang = zh_CN.UTF-8 cdl_gui = Yes cdl_amount = Yes cdl_dir =/cdlinux cdl_img = cdlinux. isoinitrd/cdlinux/initrdtitle [04] Run Chinese cabbage win03pe2013 network enhanced version checkrange 0x30001:-1 read 0x8298clearecho $ [1106] Loading DBC win03pe. ISO, www. winbaicai. commap -- Mem (UD)/PE/winpe. ISO (0xff )! Map (UD)/PE/winpe. ISO (0xff) map -- e820cycles = 0map -- hookchainloader (0xff) title [05] Run cabbage win7pe Lite version (ultra high compatibility) checkrange 0x30001: -1 read 0x8298clearecho $ [1106] Loading DBC win7pe. ISO, www. winbaicai. commap -- Mem (UD)/PE/dbc7.iso (0xff )! Map (UD)/PE/dbc7.iso (0xff) map -- hookchainloader (0xff) title [06] Other Tools run (UD)/boot/GRUB/DIY. lsttitle [07] restart reboottitle [08] Shut Down halt

In this menu, we retain the option to run winpe and add the option to install Ubuntu and cdlinux. To streamline the menu, integrate other functions into another menu (DIY. lst ).

Pay attention to the highlighted part in red, which is important:

In the Ubuntu menu, kernel/Ubuntu/vmlinuzboot =/Casper iso-Scan/filename =/Ubuntu/ubuntu. there are also three ISO statements: initrd/Ubuntu/initrd. LZ is indispensable. It specifies where to load the system. Ro
Quiet locale = zh_CN.UTF-8 is to specify the language we want to use, etc. It doesn't matter if you don't write. The above sentence "find" is used to search for files. It is recommended to do so in the forum. If it is not written, the system will automatically search for files.

In the cdlinux menu item, cdl_gui automatically loads the graphic interface, cdl_amount automatically mounts, cdl_dir indicates the path where the image is stored, and cdl_img indicates the image name. The last two are very important. Otherwise, "can't" appears.
Find out where cdlinux is installed "and the graphic interface cannot be loaded.

Save the modification.


5. Modify DIY. lst as follows:

Timeout 15 default 8 gfxmenu (UD)/boot/GRUB/messageconfigfile (MD) 4 + 8 title [01] PE blue black screen cannot enter the unconfirmed hard disk solution run (UD) /boot/GRUB/menu03.lsttitle [02] Go to the ghost backup and restoration system multi-in-One menu run (UD)/boot/GRUB/menu04.lsttitle [03] Run the latest diskgenius partition tool run -- Mem (UD) /boot/IMGs/dbcdos. imgtitle [04] Run maxdos toolkit enhanced menu run -- Mem (UD)/boot/IMGs/maxdos. imgtitle [05] Run the hard disk memory detection and scanning tool menu run (UD)/boot/GRUB/menu07.lsttitle [06] Run the Windows login password cracking menu run (UD) /boot/GRUB/menu08.lsttitle [07] Start the USB accelerator computer (dedicated to the old machine) (UD)/boot/GRUB/usb_acc1_petitle [08] install the original win7/Win8 System (non-ghostversion) run (UD)/boot/GRUB/menu11.lst title [09] === back to the main menu of the Chinese cabbage U disk startup === configfile (MD) 4 + 8 title [03] === Restart computer === reboottitle [04] === disable computer === halt

We just moved the items in the original main menu without making any changes. Save the file.

6. Use a virtual machine to test it. Here is my interface:



7. You can hide the Ubuntu and cdlinux directories under the USB flash drive directory to prevent accidental deletion.


8. To add backtrack in the future, you only need to modify grldr. You can Google it on your own.


8. This is the end. ^_^


Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.