Windows 10.04 and windows are successfully installed on the hard drive under Windows 7.
Method for searching online:
1. download the latest grub4dos version, download and decompress it, and copy the grldr, grldr. MBR, and grub.exe files in the directory to the C root directory.
2. In the downloaded ISO file of the Ubuntu 10.04 lts system, find the vmlinuz and initrd. LZ files under the "Casper" folder and copy them to the C root directory.
3. Create the menu. LST file in the C root directory. The content is:
Title install Ubuntu
Root (hd0, 0)
Kernel (hd0, 0)/vmlinuz boot = Casper iso-Scan/filename =/ubuntu. ISO Ro quiet splash locale = zh_CN.UTF-8
Initrd (hd0, 0)/initrd. LZ
4. Create a new file named Boot. ini in the C root directory. The content is as follows:
[Boot loader]
[Operating systems]
C: \ grldr. MBR = "ubuntu"
5. Copy the ISO file of the downloaded Ubuntu 10.04 lts system to the C root directory.
3. Install Ubuntu on a hard disk
Restart the machine. Select Ubuntu in the startup Item to enter the Ubuntu Desktop. Open the terminal and enter the code: sudo umount-L/isodevice to cancel the mounting of the drive where the CD is located. Otherwise, no partition is found on the partition interface.
Double-click to install Ubuntu and install it as prompted. Here we will introduce the partition issues involved in the installation process:
Select "Manual" to use the maximum continuous space, click "Forward" to start the installation, and continue "Next" until the installation is complete.
4. Fixed Windows 7 startup items
After you restart Ubuntu, you will find that you have selected the Windows 7 startup Item and entered the Ubuntu installation interface. The following describes how to fix the problem. In ubuntu, open "application --- attachment -- terminal" and run the following command: sudo gedit/etc/default/grub.
Modify grub_timeout = "10"
Then enter sudo Update-grub in the terminal
The update command will automatically find the Windows 7 startup Item. And automatically update the/boot/GRUB/grub. cfg file. Go to "location --- computer --- win7 System Disk"
All the files (vmlinuz,initrd.lz,grldr,grldr.mbr,grub.exe, menu. lst, Boot. ini, ubuntu. ISO) copied to drive C are moved to the recycle bin. In particular, if the ISO file is not deleted, restart to enter win7 and then enter the Ubuntu installation interface.
An error occurred.
Ubuntu partition failed
This problem caused me to faint for one afternoon.
The problem is that Ubuntu can only partition two other parts.
I have been searching for reasons
Multiple Tests
Finally, when installing the Ubuntu partition
Do not select primary Partition
Select logical partitions
The installation is successful.
I don't know why.
I can use it to install it.
It's really a headache.