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