I installed Ubuntu11.0464-bit desktop, and the motherboard is 880 GB. Two GB hard disks have been set to raid0 In the bios of the motherboard, and win7 is installed first. The current hard disk structure, 100 mwin7 hidden partitions, and c, d, and E disks each have GB. Improvement steps: first try Ubuntu and then start installation. While installing, you can also access the Internet without delay. The Installation started smoothly. In the last step, grub cannot be installed and a fatal error occurs. This time is critical
I installed Ubuntu 11.04 64-bit desktop, and the motherboard is 880 GB.
Two GB hard disks have been set to raid0 In the bios of the motherboard, and win7 is installed first.
The current hard disk structure, 100 M win7 hidden partitions, and c, d, and E disks each 100 GB.
Improvement steps:
First try Ubuntu and then start installation. While installing, you can also access the Internet without delay.
The Installation started smoothly. In the last step, grub cannot be installed and a fatal error occurs.
This is the key. Don't be confused.
Open a terminal in the Attachment Program Group, I refer to the method of this post, http://www.linuxidc.com/Linux/2011-05/36502.htm
Follow these steps:
$ Sudo-I
First mount the root directory
# Mount/dev/mapper/pdc_XXXXXXXXXXn/target
Pdc_XXXXXXXXXX should be available during installation. If you do not remember it, the ls-l/dev/mapper/command can be listed.
Re-mount/home
# Mount/dev/mapper/pdc_XXXXXXXXXXn/target/home
N is the same as the code for partitioning.
Other mount points are determined based on your own installation. If you need to share the win partition, you can also mount the win directory to/media/c,/media/d.
Then it is related to the system.
# Mount-o bind/proc/target/proc
# Mount-o bind/sys/target/sys
# Mount -- rbind/dev/target/dev
Then, run the chroot command to go to the installed system and go to the target directory. (Now we do a chroot to the mount system .)
# Chroot/target/bin/bash
Create device. map to grub (Now create the file device. map, used by GRUB .)
# Echo "(hd0)/dev/mapper/pdc_XXXXXXXXX">/boot/device. map
The pdc_XXXXXXXXXXXX here is the code of the raid0 array, and no numbers are appended.
# Cp/boot/device. map/boot/grub/
Then install grub.
# Grub-setup/dev/mapper/pdc_XXXXXXXXXXXX
The pdc_XXXXXXXXXXXX here is the code of the raid0 array, and no numbers are appended.
# Update-grub
Grub automatically finds and configures the ubuntu and win7 startup options to generate the/boot/grub. cfg file.
In this way, we are done.
Restart.