General Linux and Windows dual boot, Linux boot

Source: Internet
Author: User

First command sudo fdisk-l

View the original partition information.

Find the/DEV/SDA pile. The last few to find is the Linux.

My machine is/dev/sda6.

Anyway, I've run a long time. Sudo su, everybody, look at it.

The second mkdir/media/user (create a directory, nothing, love to write what directory name on what directory name)

The third mount/dev/sda6/media/user (install the Linux partition, mount it in the newly created directory)

Fourth Grub-install--ROOT-DIRECTORY=/MEDIA/USER/DEV/SDA (this is the most deceptive, note (the space, and the last/dev/sda is enough, do not need to be SDA6)

See this line of stuff. Installation finished. Then write a bunch of blabla in English, which may be said to affect the startup, just OK

After restarting, sudo su

UPDATE-GRUB2 (update grub.cfg)


General Linux and Windows dual boot, Linux boot

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.