In a message on Fri, 02 Jul 1999 15:27:22 +0200, wrote :
AM> Sorry if you already read about it many times, but I tried almost
AM> everything I saw on USENET about this topic, and failed...
AM>
AM> I got this WesternDigital 9GB disk.
AM> Windows fdisk says it's only 8GB, but I know about the 1024 cylinder
AM> problem, OK.
AM>
AM> I reserved with FIPS 2GB to Win98, and went to RedHat5.2 install
AM>
AM> No matter what I do in DiskDruid, I can't go beyond "L" at LILO boot,
AM> -> geometry problem (LILO-HOWTO).
AM> From the floppy it boots OK, anyway.
AM> I tried making a /boot (in /hda5, it seems to me), but no way.
AM> I put "linear" in lilo.conf, but no way.
AM>
AM> HOW can I put a boot partition inside the damned 1024cyl limit?
AM> (By the way, diskdruid does not tell you where it creates its
AM> partitions,
AM> just how big they are).
Use fdisk, not diskdruid. Diskdruid does not seem to work well with
anything but really simple situations (disks < 1024 cylinders, only 4
partitions, single boot, etc.). Fdisk is not as 'easy' (no colorful
GUI, etc. -- just a simple B&W command-line console interface, not
really hard). Fdisk shows the geometry, etc.
Given the size of the disk, it is possible that giving 2gig to Win98
might get you close or over the 1024 cylinder limit.
/dev/hda5 seems way to far up to be under the 1024 cylinder. What you
want is something like:
'primary partitions':
/dev/hda1 2gig FAT16 or FAT32
/dev/hda2 64meg Ext2 (Linux Native) / (root) Hopefully this will be under
the 1024th cylinder
/dev/hda3 64-128meg Swap
'extended partition':
/dev/hda4 <extended -- the rest of the disk>
'logical partitions':
/dev/hda5 1.5gig Ext2 (Linux Native) /usr
/dev/hda6 64meg Ext2 (Linux Native) /var (optional)
/dev/hda7 *rest of disk* Ext2 (Linux Native) /home
Note: given the size of the disk, it might make sense to break
/dev/hda7 (/dev/hda6 if /var is skipped), into 2 or three chunks for
administrative ease -- eg /dev/hda7 -> /home (2-4 gig), /dev/hda8 ->
/home2 (2-4 gig), etc.
You *may* have to make the Win98 FAT16/FAT32 partition smaller --
depending on the disk geometry -- and maybe create another (logical)
FAT16/FAT32 up in the extended partition (will be 'D:' in Win98).
Fdisk displays the partition limits in *cylinders* eg:
Disk /dev/sda: 64 heads, 32 sectors, 329 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 329 336880 6 DOS 16-bit >=32M (MS-DOS 6.2)
Disk /dev/sdb: 64 heads, 32 sectors, 2049 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 51 52208 83 Linux native <- / (Slackware 3.0, Kern 1.2.13)
/dev/sdb2 52 102 52224 82 Linux swap
/dev/sdb3 103 203 103424 83 Linux native
/dev/sdb4 204 2048 1889280 5 Extended
/dev/sdb5 204 460 263167+ 83 Linux native
/dev/sdb6 461 1018 571376 83 Linux native
/dev/sdb7 1019 2048 1054704 83 Linux native
Disk /dev/sdc: 64 heads, 32 sectors, 4340 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 65 66544 83 Linux native <- / (RH 5.2, Kern 2.0.36)
/dev/sdc2 66 130 66560 82 Linux swap
/dev/sdc3 131 1155 1049600 83 Linux native
/dev/sdc4 1156 4340 3261440 5 Extended
/dev/sdc5 1156 1220 66544 83 Linux native
/dev/sdc6 1221 1477 263152 83 Linux native
/dev/sdc7 1478 2502 1049584 83 Linux native
/dev/sdc8 2503 3527 1049584 83 Linux native
/dev/sdc9 3528 4340 832496 83 Linux native
\------V----/
Cylinder #s
AM>
AM>
AM> Thank you for any help
AM>
AM> Alessandro
AM>
AM> --
AM> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AM> \ Alessandro Magni
AM> / IEN Galileo Ferraris
AM> \ c.M.d'Azeglio 42, 10125 Torino (ITALIA)
AM> \ Fax (39)11-6507611
AM> / Tel (39)11-3919757
AM> \ Homepage at:
AM> http://alpha.ien.it/~magni/home.html
AM> /
AM> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AM>
AM>
AM>
--
\/
http://www.deepsoft.com /\FidoNet: 1:321/153