Install Ubuntu again

Source: Internet
Author: User
Sometimes we have to install windows on a Ubuntu computer. What should we do? Don't worry, come with me... 1. Find the disk partitioning tool and format a primary partition disk as a windows approved file system, such as ntfs.2. install windows or ghosttothispartition. (It is best to use ghost, so that the startup region of Ubuntu will not be grabbed. In this case, the file under windows is changed. 3. Change Ubuntu or win

Sometimes we have to install windows on a Ubuntu computer. What should we do? Come with me...

1. Find the disk partitioning tool and format a primary partition disk as a file system recognized by windows, such as ntfs.

2. Install windows or ghost to this partition. (It is best to use ghost, so that the startup region of Ubuntu will not be grabbed. In this case, the file under windows is changed.

3. Change grub in Ubuntu or windows.

A. Change the "/etc/fstab" file to mount the hard disk under windows.

(If the disk has been changed, for example, format, uuid will change, so use the drive letter directly, such as/dev/sda4)

CODE: #/etc/fstab: static file system information.
#
#
Proc/proc defaults 0 0
#/Dev/sda1
UUID = 859e7d90-2c50-4d50-ba5e-f906500c9207/reiserfs notail 0 1
#/Dev/sda3
UUID = 2c2b11f7-c905-486d-8030-d2891e4ed786/space jfs ults 0 2
#/Dev/sda4
/Dev/sda4/winxp ntfs-3g ults, locale = zh_CN.utf8, user, auto, uid = 1000, rw 0 2
#/Dev/sda2
UUID = b83bc168-c030-4f86-8e19-4ba571cf85ae none swap sw 0 0
/Dev/cd0/media/cdrom0 udf, iso9660 user, noauto, exec 0 0


Change the grub file of Ubuntu as follows:

Path/boot/grub/menu. lst

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.