14.1 Gig drive on a 770Z

Rob Mayoff linux-thinkpad@www.bm-soft.com
Wed, 14 Apr 1999 17:27:49 -0500 (CDT)


| I set up this partitioning scheme while in Windows, using partition
| magic 4.0. The windows box knew about the large disk drive and detected
| it properly. Linux on the other hand, thinks this disk only has 1023
| cylinders, when in reality it does have 1824 cylinders as the partition
| table suggests.

You might want to read the Large Disk HOWTO.  It has lots of interesting
info.

Here's my disk format:

	Disk /dev/hda: 240 heads, 63 sectors, 1023 cylinders
	Units = cylinders of 15120 * 512 bytes

		 Device Boot    Start      End   Blocks   Id  System
	/dev/hda1   *        18      441  3205408+   b  Win95 FAT32
	/dev/hda2             1       17   128488+  83  Linux native
	/dev/hda3           442     1491  7938000    f  Win95 Extended (LBA)
	Partition 3 has different physical/logical endings:
			 phys=(1023, 239, 63) logical=(1490, 239, 63)
	/dev/hda5           442      864  3197848+  83  Linux native
	/dev/hda6           865      881   128488+  82  Linux swap
	/dev/hda7           882      915   257008+  83  Linux native
	/dev/hda8           916      949   257008+  83  Linux native
	/dev/hda9           950     1491  4097488+  83  Linux native

I used PartitionMagic to move the original Windows 98 partition (hda1)
up a bit, leaving a 128M hole at the beginning of the disk. I used that
hole for my root partition (hda2). LILO handles it with no problem
because it's entirely within the first 1024 cylinders. Here's my
lilo.conf:

	boot=/dev/hda
	map=/boot/map
	install=/boot/boot.b
	prompt
	timeout=50
	image=/boot/vmlinuz
					label=l
					root=/dev/hda2
					read-only
					append="mem=127M"
	image=/boot/vmlinuz.old
					label=old
					root=/dev/hda2
					read-only
					append="mem=127M"
	image=/boot/vmlinuz-2.0.36-0.7
					label=redhat
					root=/dev/hda2
					read-only
	other=/dev/hda1
					label=w
					table=/dev/hda

Note - I left sectors 1492-1824 unallocated, for future expansion.