Fix Linux boot menu notes

Source: Internet
Author: User
Windows and ubuntu are two systems. when Windows is installed, the Linuxgrub boot is lost. Use a CD or USB flash drive engraved with ubuntu to enter the terminal to repair the Linux boot menu. grub must be connected to IoT platform when installed... there are two cases: Independent/boot and non-independent/boot partition (1)/boot independent partition # sudo-I # apt-get...
Windows and ubuntu are two systems. when Windows is installed, the Linuxgrub boot is lost. Use a CD or USB flash drive engraved with ubuntu to enter the terminal to repair the Linux boot menu. grub must be connected to IoT platform when installed... there are two scenarios: Independent/boot and non-independent/boot partitions.
(1) /boot independent partition # sudo-I # apt-get install grub-pc # fdisk-l // view hard disk partitions my root partition/dev/sda11 boot partition/boot is dev/ sda9 # mount/dev/sda11/mnt // mount the root partition # mount/dev/sda9/mnt/boot // mount/boot partition # grub-install -- root-directory =/mnt // dev/sda... www.2cto.com (fd0)/dev/fd0 (hd0)/dev/sda indicates that grub is successfully installed in the/boot partition. After grub-pc is installed for the first time, you must install grub back to the/boot directory because it is started on live-CD. # When I restarted my system, I couldn't enter the system after the restart, but stopped in the grub command mode: grub> run the following command: grub> kernel/grub/core. img can enter the system here. (2) the commands for non-independent/boot partitions and non-independent/boot are grub> kernel/boot/grub/core. img note: to enter the system, you must reinstall grub; otherwise, restart the system and enter the grub command mode above. Author: kevinvane

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.