Article Title: Install Windows and Linux on a GB hard drive. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Windows and Linux dual-system installation with GB hard drive and error Summary
1. First partition the hard disk and install the Windows system. Then, the Linux system is mounted to the penultimate partition (30 GB), and the last partition (10 Gb) is used for LFS.
After the installation is complete, restart and stop at grub.
Cause Analysis: grub may not be able to identify content after 1024 cylinders of GB hard disk.
2. I want to install the Linux system on the second partition. Now the second partition is 30 GB. I want to divide it into 20 GB + 10 GB (20 GB for Linux, 10 Gb for LFS)
Therefore, in disk management, delete the second extended partition and re-create a 20G + 10G extended partition. In this case, the XP system sets the drive letter of the 20G partition to D, set the 10 Gb drive letter to the last drive letter. (Suspect there is a problem)
3. Restart, install Linux on the hard disk, reboot after installation, and stop at grub. When you enter root (hd0, _) and press the Tab key to complete the installation, linux ext3 and swap format partitions cannot be identified. At this time, we tried to boot the Linux kernel hard disk to fix grub, but it was not valid, it is considered that grub is too low to properly identify the problem of GB hard disk, and the new version of grub is re-downloaded on the Internet to run in DOS, all of which have the same symptoms as before.
4. Create new ideas, install the Linux System in the primary partition, and then leave 10 Gb in the extended partition for LFS,
5. When you enter Diskgen to modify the partition, the system prompts that the partition 1 and partition 7 parameters are incorrect.
Error found:
When dividing the second partition by 30 GB into 20 GB + 10 Gb, Windows can identify the partition by itself. However, partition errors are detected in DOS, Diskgen, and grub, but they are not identified.
6. After finding out the real cause of the error, go to the Windows Disk Manager and add all the information to drive C. Then, delete all the logical partitions in the extended partitions and re-divide them into logical partitions, this ensures that all partitions in a logical partition are closely connected without generating partition parameter errors.
7. After the logical partition is re-allocated, install Linux on the second partition (the first logical partition). In its own grub, write the option to be modified and reboot the system, grub runs normally.
The dual system runs normally.
Conclusion: Perform partition operations with caution to ensure that there is no ambiguity in the underlying software.
When installing Linux, report the problem of Dbug: After preparing partitions for Linux in Windows, go to Linux manual partitioning. The corresponding hard disk number will change according to the rule, which will lead to an error (an error will be prompted after preparation ). At this point, you only need to "Confirm" and re-enter the installation. After entering this step, When you manually partition, the partition content already exists, you only need to select format/boot, swap,/; partition again, continue to install. No errors will occur again!