×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Linux install on hard drive with >1024 cylinders

Linux install on hard drive with >1024 cylinders

Linux install on hard drive with >1024 cylinders

(OP)
Does anyone know of a trick or patch for the Linux installer that enables Disk Druid to recognize and correctly write partition information to a hard disk larger than 1024 cylinders? Thanks in advance...

RE: Linux install on hard drive with >1024 cylinders

The only constraint that I know of on Linux is that the partition containing root must be within the first 1024 cylinders on the disk.
This partition doesn't have to be on the first disk in the machine, either - I happily booted Linux from /dev/hdb1 by installing LILO on the MBR of the first disk. (It may improve your chances of recovery in the event of a smashed MBR if you also install a zero timeout LILO on the boot sector of the root partition - you'll need to do this anyway if you plan on a) installing Windows 95/98 (it does a sneaky FDISK /MBR without telling you)or b) using something like Boot Manager which will take over the MBR from LILO)

Alternatively, ditch Disk Druid and use fdisk directly - it's not too hard and you can quit without saving changes to the partition table.

Peter.

RE: Linux install on hard drive with >1024 cylinders

Actually, it is /boot that must be contained completely with in the first 1024 cylinders of one of the two IDE disks on the primary controller, or on the SCSI disk at ID0. This is due to a limitation in MOST of the BIOSes used in PCs. You can have /root wherever you want if you make /boot a sparate partition.

RE: Linux install on hard drive with >1024 cylinders

Salvalinus -

Got me. You're right. BTW, when I said "containing root" I meant "containing /", not the home directory of the user "root". Still wrong, but different!

Let's clarify then - does the kernel image (vmlinuz or whatever) need to be in the /boot partition, assuming the rest of the filesystem is elsewhere?

Many people (me included) just have /vmlinuz - and that could well be outside the 1024th cylinder in this scenario.

RE: Linux install on hard drive with >1024 cylinders

/boot is where all the improtant stuff Linux needs to boot are kept.
As an example Redhat's 5.2 "workstation" autoinstall creates 3 partitions, /boot, /, and a swap. /boot is 18 megs, swap is 16 megs and / is the rest of the HD regardless of size (within the known limits if Linux)

RE: Linux install on hard drive with >1024 cylinders

One easy fix to the original post is to create a seperate 1024 cylindar / partition and create seperate partitions for your data that span past the 1024th. As others have stated, this is actually a limitation of x86 and lilo, not Linux. This is a boot-strapping issue. No such problem with the Ultra-Penguin. :) Just Others. :(

RE: Linux install on hard drive with >1024 cylinders

I usually create a /boot partition (about 24 megs as I tend to keep many different kernel images) on my ide disk, and the / filesystem is kept on scsi. the problem being that my scsi adapter cannot boot (adaptec 2910). In any case, all you have to make sure is that the filesystem containing the kernel image is in the 1024 first cyls. So people who like a big / partition (I don't) can put a small /boot at first, and one big partition with the rest of the drive if that's what they want. I still recommand having different partitions for /var, /tmp, /usr and /home, at least. just my 0.02CDN

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close