Linux Redhat 7.1 Partitioning error

Posted on 2001-06-10
Last Modified: 2013-12-15
Hi, when I was partitioning my drive and I was trying to create the / (root) partition it came up with an error.
"Boot partition contains more than 1024 cylinders".
Could you please tell me how to fix this problem up,
Also could this be why after I set up Windows NT it refuses to boot up?
Question by:adz8
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 17

Expert Comment

ID: 6176022
Yes. You need to make at least one partition that lies entirely inside the first 1024 cylinders of the disk so Linux can boot.
Normally, I do as follow;
Make a 7.5GB partition for Windows with DOS fdisk, install windows and make sure it works fine etc. ( NOTE! Don't touch the rest of the disk, just make a 7.5GB partition and leave the rest as is).
Now start Linux install. Make a /boot partition of approx 20MB ( If you plan to compile alot of kernels, you should provide approx 1MB for each kernel, so 20MB should be more than enough for the average Joe with 2 or 3 kernels). Now make a SWAP partition of approx 2x physical RAM, and then a / (root) partition of the desired size. Again, if you still have space left, just leave it, If you need more space for extra partitions for NT, you can add it while in NT with the Disk Manager tool. Same for extra Linux partitions. Use fdisk from inside Linux to add more partitions and mkfs to format them.

Just note one more thing at this point.
It might be worth your while to read the HOWTO on NT's bootloader.
I think you can find it at in the HOWTO or mini-HOWTO section.

Author Comment

ID: 6176035
then to create a partition at the start i would need to moe the windows partition. that would destroy windows and all the files. I would have to format and all that garbage
LVL 17

Expert Comment

ID: 6176135
Well, if you already have a windows partition that covers more than 8GB, yes, you would have to re-partition, OR, you can try using the utility called fips that is on the RedHAt CD under the dosutils folder. It shrinks yyour current partition by removing the free space from it.
Note, it will only work for FAT/32 partitions, NOT for NTFS and you should first run a full defrag with the "consolidate free space" option before running fips.
You should also make backups...
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

LVL 17

Expert Comment

ID: 6176143
PS, theres alot of buzz around the latest LILO apparently being able to work past the 1024 cylinders, but unfortunately, I have no 1st hand experience. If you really want to, you can try the following.
Ignore the previous comment about fips and just carry on with Linux install. You still need to follow the /boot (20MB) instruction, and you should see that Linux will now continue with install even though the /boot folder is not inside 1024 cylinders. Just do the rest as normal and create a boot floppy. LILO is *SUPPOSED* to make the corrections for the 1024 cylinders itself, but if not, you will need to use the bootfloppy to boot and make the changes to /etc/lilo.conf yourself. You should read up on LILO to find out exactly what those changes should be.
LVL 17

Expert Comment

ID: 6176688
Its a warning not an error. If you want to have you boot partition past the first 1024 cil then just use a boot disk to get in to linux then:

(1) Edit lilo.conf

(2) Add the line:


(3) Save

(4) Run (as root) /sbin/lilo

Red Hat should do this by default, but generally doesn't. You can't use it in combination with linier mode (IIRC) which you need for some SCSI drives (and Red Hat loves enabling even if you only use IDE)


Author Comment

ID: 6176801
I originally wanted to install NT but the boot loader wouldn't work so I wanted to see if Linux would work. Does Windows NT also have issues with the boot loader not being in the first 1024 cylinders?

Author Comment

ID: 6176882
What i want to know is if I formatted the computer and made the first partition Windows NT and about 6 GB and the rest Windows 98 should everything run ok?
LVL 17

Expert Comment

ID: 6176961
rest win98?? Where will Linux be then?

Author Comment

ID: 6180025
linux will be no where. I wanted to install NT, itinstalled ok but it wouldn't boot up, I wanted to see if I could get linux working but as I wrote in the question I got an error. I want to know if that is also the problem with Win NT. q
LVL 17

Accepted Solution

psimation earned 200 total points
ID: 6181263
Well, whatever you do, Always install win98 first, then NT and then Linux ( if you want ).
If you install NT first, and then win98, win98's bootloader will overwrite the NT loader, and you won't be able to boot NT...

Expert Comment

ID: 6349817
Disk Druid cannot put a boot partition above cylinder 1024 but the other option, Fdisk, can help.
It's not friendly to use.
I've just added Redhat 7.1 to a 60Gb drive. It had a 20Gb win98 partition and the rest was unallocated.
DD could not use any of this area above 20Gb for a /boot partition.
However, DD could rename/mount partitions previously made by Fdisk.
So I used Fdisk to create the 3 partitions mentioned in the install book and then used Disk Druid to mount them.  (careful not to modify the existing W98 partition by mistake)
LILO is in the MBR and the dual boot works ok.
PS. I'm a newbie to Linux and am amazed it works.  Install manual was NOT clear in this 1024 prob area.

Expert Comment

ID: 9086755
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Expert Comment

ID: 9667844
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQd and points to psimation

Please leave any comments here within the next seven days.


EE Cleanup Volunteer

Featured Post

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question