Restart Ubuntu after Vista or Win7 is reinstalled.

Source: Internet
Author: User
Tags wubi
I recently installed Windows 7, but I don't want to let the previously installed Ubuntu have no startup items, and Windows 7 has no boot. INI file editing method, Because Ubuntu was installed in Windows with wubi at that time, find it. The following method is most suitable, record it: // copy the file to c: "(in the winboot directory of the Ubuntu installation partition, I copied more menus. lst) D :\& gt; copyd: \ ubuntu \ winboot \ wubildrc

I recently installed Windows 7, but I don't want to let the previously installed Ubuntu have no startup items, and Windows 7 has no boot. INI file editing method, Because Ubuntu was installed in Windows with wubi at that time, find it. The following method is most suitable, record it:
// Copy the file to c: "(in the winboot directory of the Ubuntu installation partition, I copied more menu. lst)
D: \> copy d: \ ubuntu \ winboot \ wubildr c :\
D: \> copy d: \ ubuntu \ winboot \ wubildr. mbr c :\

D: \> name displayed on the bcdedit/create/d "Ubuntu"/application bootsector // multi-Start Menu
Item {dbff544b-a7c4-11dd-a51d-00155803ebb4} was created successfully.

// Copy the obtained GUID and paste it directly when entering it.
D: \> bcdedit/set {dbff544b-a7c4-11dd-a51d-00155803ebb4} device partition = C: // partition of the Startup File
The operation is successful.

D: \> bcdedit/set {dbff544b-a7c4-11dd-a51d-00155803ebb4} path \ wubildr. mbr // startup path and file
The operation is successful.

D: \> bcdedit/displayorder {dbff544b-a7c4-11dd-a51d-00155803ebb4}/addlast // put this startup item at the end of the menu
The operation is successful.

Related Article

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.