Ubuntu10.10 hard disk installation: Very simple. There are also many tutorials on the Internet. Here I use the simplest method. 1. Download Ubuntu10.10 ISO and put it in the C root directory. 2. Extract the vmlinuz and initrd. lz files under the casper directory in Ubuntu10.10 and put them in the C root directory. 3. To download grubfordos, just extract a file like grldr and put it in the root directory of the C drive. 4. Modify boot. ini and add c: \ gr to the last line.
Ubuntu 10.10 hard drive installation:
Very simple. There are also many tutorials on the Internet. I will use the simplest method here.
1. Download the ISO of Ubuntu 10.10 and put it in the C root directory.
2. Extract the vmlinuz and initrd. lz files under the casper directory in Ubuntu 10.10 and put them in the C root directory.
3. To download grub for dos, just extract a file like grldr and put it in the root directory of the C drive.
4. Modify boot. ini and add c: \ grldr = "grub" to the last line ".
5. After the instance is restarted, select "grub start" in the boot menu. The grub command input box appears. Enter
Grub> kernel/vmlinuz boot = casper iso-scan/filename =/ubuntu-10.10-desktop-i386.iso
Grub> initrd/initrd. lz
Grub> boot
6. Go to the installation process.
After Ubuntu is installed, XP cannot be started for some reason:
You can use the fault console of win2K, XP, or PE to repair the fault. On the failure console, enter the command fixboot c: to solve the problem.
After the fault console is repaired, XP can be started, but the startup items of ubuntu will be lost, so you have to repair grub again.
Grub2 is used in Ubuntu 9.04 and later versions, so some repair commands for grub on the Internet are useless. The correct method for www.linuxidc.com is to enter the Ubuntu installation interface by means of hard disk installation, run the console, and enter:
Sudo mount/dev/sdaX (the partition mounted to/)/mnt if/boot is a separate partition, sudo mount/dev/sdaX (the one mounted to/boot) /mnt/boot
Sudo grub-install -- root-directory =/mnt/dev/sda
If it succeeds, it indicates install finished. Restart.
If you do not know the partition name, run sudo fdisk-l to check the names of all partitions on the hard disk.