Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Linux Redhat 7.1 Partitioning error

Posted on 2001-06-10
Medium Priority
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 www.linuxdoc.org 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...
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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 800 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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

719 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