In linux, how to retrieve the boot menu-Linux general technology-Linux technology and application information is as follows. I have installed windows xp sp2 before installing the linux system. For the convenience of development, I have installed another linux. However, when I was complacent in my sense of accomplishment after successfully installing linux, I was dumb-eyed about what happened after the machine was restarted!
After I installed the linux system and restarted it, I found that I directly went to linux. I have never seen any options for starting linux or windows. I checked the Internet and said it was going to be restored through grub. I spent a lot of time and finally got it done. Let everyone know it. In the future, we can take less detours!
First, you need to have a linux boot CD, and then enter the machine's BOIS. After you set the boot from the CD, save the settings and restart.
Go to the linux Startup interface. I installed the fedora core version. After the CD is started, there are five boot items. Press F5 to enter the rescue mode of linux. (Different versions may have different startup interfaces, but they are similar. You can read them carefully to know how to choose one. If your English is not good, I am speechless, back to tutorial)
Run the following commands in rescue mode:
Chroot/mnt/sysimage
Grub-install/dev/had
Reboot
In this way, when linux is started, a prompt will prompt you to press any key on the keyboard to enter the boot menu, and then select others to see the windows boot item.
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