How does grub start msdos and winpe?

Source: Internet
Author: User

I tried to use grub to start a Linux operating system without any problems, but the image and winpe used to start msdos have problems.

First, install grub on the USB flash drive in Linux.

[Code]

Mount/dev/sdb1/tmp/boot # mount the partition
Grub-install -- root-directory =/tmp/boot -- no-floppy/dev/SDB # Install grub

[/Code]

Then I tried to start the Debian installer, puppy and Gentoo, but I didn't have any major problems. Below is my grub boot menu.

[Code]

Default 0

Timeout 5

Color cyan/blue white/blue

Title Debian Installer
Root (hd0, 0)
Kernel/OS/Debian/linux root =/dev/ram0 ramdisk_size = 128000 VGA = 791
Initrd/OS/Debian/initrd.gz

Title Gentoo livecd
Root (hd0, 0)
Kernel/OS/Gentoo root =/dev/ram0 init =/linuxrc dokeymap looptype = squashfs loop =/image. squashfs cdroot VGA = 791
Initrd/OS/Gentoo. igz

Title puppy livecd
Root (hd0, 0)
Kernel/OS/puppy/vmlinuz
Initrd/OS/puppy/initrd.gz

Title msdos
Map -- MEM/OS/msdos/ghost. IMG (fd0)
Map -- hook
Chainloader (fd0) + 1
Rootnoverify (fd0)

Title winpe
Chainloader (hd0, 0)/ntldr

[/Code]

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.