How to fix the USB boot disk and Grub of Ubuntu in windows

Source: Internet
Author: User
Make a USB boot disk for Ubuntu and repair the Grub in windows-Linux general technology-Linux technology and application information. For more information, see the following. Grub will be washed out after Windows is installed every time. This is also the dominant side of Microsoft. Ubuntu is upgraded quickly, so I am too lazy to engrave CD. I just need to build a USB flash drive. Every time I want to use it, I will spend 20 minutes re-engineering it. It is very convenient for installation or other purposes.

Http://www.pendrivelinux.com/there are a lot of options for starting up a udisk, which can be easily pasted in Windows

Install Pendrivelinux 2008 in Windows:

Format the USB flash drive in Fat16 or Fat32 format

Download and run Ub8convert2.exe. It will create a Ubuntu8 directory on the hard disk

Download the Ubuntu 8.04.1 ISO image and save it to the Ubuntu8 directory.

In the Ubuntu8 folder, click fixu8.bat and complete it step by step as prompted.

After the above script is run, you can restart and then set the USB flash drive to start in the Bios.

Note:

When I use fixu8.bat, I have a Bug that I cannot read the drive letter, but I can modify the Bat file. Be careful when modifying the file, do not modify the bat file of the disk that is not in the correct format. See Appendix (H is a USB flash drive ).

Fix Grub:

Run after starting with a USB flash drive:
CODE: %> sudo grub
Gurb> find/boot/grub/stage1
(Hd0, 4)
Gurb> root (hd0, 4)
Grub> setup (hd0)
Grub> quit

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.