Linux dual-system hard disk partitioning: 1.30GB-Ubuntu12.04 (desktop version) 2.4GB3.80GB-centos4.20.gb installation sequence: Ubuntu-> CentOS phenomenon :... information & nbsp; | & nbsp; implementation of hard disk partitions in two Linux systems: 1. 30 GB-Ubuntu12.04 (desktop) 2. 4 GB 3. 80 GB-CentOS 4. 386 GB installation sequence: Ubuntu-> CentOS phenomenon: many websites that cannot access the CentOS Operating System install CentOS first and then install Ubuntu! Reprinted please indicate the source: xiaobin_hlj80 solution steps are as follows: 1. downgrade Grub2 to make Ubuntu compatible with the CentOS boot program, we need to change Grub2 of Ubuntu to Grub! This is important! Otherwise, we cannot perform the following operations! (1) uninstall grub2 sudo apt-get purge grub2 grub-pc (2) install grub sudo apt-get install grub (3) update the startup menu item and install grub to the corresponding device sudo update-grub # Generate the menu. lst; when prompted, select Yes sudo grub-install/dev/sdaX # X as 1, 2, 3 ...... Generally, it is the device where the Ubuntu system is located; the installation machine is sda1; 2. view the UUID in Ubuntu, first Mount the hard disk partition, and then run the following command: (1) The UUID tdtc010 @ tdtc010-Vostro-270 of each partition :~ $ Ls-l/dev/disk/by-uuid (2) determine the CentOS partition tdtc010 @ tdtc010-Vostro-270 :~ $ Blkid/dev/disk/sdaX (X is 1, 2, 3 ......) until "/dev/sda6: LABEL ="/"UUID =" 9cd61716-6cdb-43d1-8e58-348089f00008b "SEC_TYPE =" ext2 "TYPE =" ext3 "appears, we can confirm that sda6 is the partition of CentOS system. 3. copy the image file and copy the *. img and vmlinuxz-* files from the CentOS boot folder to the Ubuntu boot folder. 4. added CentOS boot item modification:/boot/grub/menu. the lst file adds the following content: title CentOS 5.9 Final, kernel 2.6.18-348 uuid kernel/boot/vmlinuz-2.6.18-348.el5 root = UUID = ro quiet splash initrd/boot/initrd-2.6.18-348.el5.img Note: (1) uuid is entered based on the hard disk partition (2) vmlinuz-* is also filled according to the actual situation of the installed operating system (3 )*. img same as above
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.