Ubuntu10.10 hard disk installation and recovery from dual-system boot menu

Source: Internet
Author: User
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.

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.