Article Title: let Linux break through the 1024 cylinder restriction. 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.
Currently, most Linux distributions on the market do not support partitions larger than 1024 cylinders as/Root partitions. So how to break through the limit of 1024 cylinder becomes the key to feeding this little penguin.
Computer enthusiasts who have been in Windows for so many years are now having more Linux pets, so they are no longer so lonely. Unfortunately, their wings are not enough to take us out of the window, we had to keep it with the "window. Most users first install commonly used Windows 9.x, NT, and Windows 2000 in the first primary partition, and the partition occupies most of the hard disk capacity. when Linux is installed, the partition location is already greater than 1024 cylinders, at present, most Linux distributions on the market do not support partitions larger than 1024 cylinders as/Root partitions. So how to break through the limit of 1024 cylinder becomes the key to feeding this little penguin.
The partitioning function of Disk Druid in Linux is not strong. during partitioning/Root, no matter how large the partition capacity is, the system displays Boot partition too big (the pilot partition is too large) and Allocation Failed (the partition fails ). This is due to BIOS restrictions. for the IDE hard disk, the boot partition should be included in the first 1024 cylinders of the hard disk. when the root directory partition of Linux boot function exceeds 1024 cylinders, the partition fails, however, it is okay to divide other zones. The solution is to use the Fdisk tool in Linux to set the/Root partition as the third primary partition (I .e.,/dev/hda3, do not install it on the logical partition) and allocate the size. Return to the Druid tool, edit the partition, select "/" in the Mount Point, and the/Root partition is allocated. Other partitions (such as swap) should be directly created in Druid. Note: If you do not use Bootstar or other special partitioning tools, you can create up to three primary partitions and one extended partition (which can be divided into four logical partitions) on a hard disk )!
Next, we will encounter setting the startup mode. Linux provides LILO as the startup tool to manage the startup of various operating systems. However, if you are installing Windows NT or Windows 2000 and want to use the boot loader they carry for dual startup, when setting the Install LILO boot record on option, you must select First sector of boot partion and Default boot image to select DOS. However, the Linux boot program is not written to the boot sector of the Linux boot partition (that is, the/Root partition). you can only enter Windows. Linux kernel loader LILO has long been unable to be loaded into the operating system kernel from the hard disk partition after the 1024 cylindrical. Some books introduce how to use Linuxconf to configure the LILO option, or run lilo after editing/etc/LILO. conf and rewrite the boot sector, but this still cannot cross the threshold of 1024 cylinders. Fortunately, this FAQ-level question has finally become a historical issue after the advent of LILO 21.4.2. LILO 21.4.2 adopts the so-called edd bios extension function, which removes the 1024 cylindrical boot restriction and increases the supported hard disk size to 2 TB in one breath. More conveniently, LILO 21.4.3 is provided in our software Special supply. you only need to decompress the package using the "gunzip lilo.tar.gz | tar xvf-" command in Linux and compile it using the Make command, to generate the new LILO program. After editing/etc/lilo. conf, run the lilo-L command (the-L parameter is indispensable!
It took so much time to solve the problem of 1024 cylinders. I really hope that the Linux release can be upgraded faster, so as not to block a large number of people eager for "freedom" out of the barrier, forced to breathe the air in the window.
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