770Z using the full 14G drive

Heikki Vatiainen linux-thinkpad@www.bm-soft.com
Sat, 17 Jul 1999 22:03:05 +0300


John D'Ausilio wrote:
> My Z is using the full drive, but it was a long, strange road to get there.
> I have NT, 2000, and SuSE 6.1 installed as follows:
> 
> 	hda1	2G	W2K /
> 	hda2	2G	NT /
> 	hda3	2G	Linux /
> 	hda4	8G	Extended, containing
> 	 hda5 100M	swap
> 	 hda6	3G	Linux /usr
> 	 hda7 5G	Windoze work
> 
> It all works fine, but after I was done Linux fdisk won't read the partition
> table anymore :(
> but that's OK cause I'm not going to change it anytime soon :)

I also had this problem with a 770Z, but managed to get around it 
by using hda3 as the extented partition, not hda4. With hda4 as 
the extented partition, I had the exactly same problems as you did.

Here is what I have now:

# uname -a
Linux mandoliini 2.2.9 #4 Wed May 26 01:34:26 EEST 1999 i686 unknown
# fdisk -l

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

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       339   2562808+  83  Linux
/dev/hda2           340       746   3076920    b  Win95 FAT32
/dev/hda3           747      1288   4097520    f  Win95 Ext'd (LBA)
/dev/hda4          1289      1825   4059720   83  Linux
/dev/hda5           747       781    264568+  82  Linux swap
/dev/hda6           782      1288   3832888+   b  Win95 FAT32
# grep append /etc/lilo.conf
        append="mem=127M hda=1825,240,63"
# cat /proc/ide/ide0/hda/geometry
physical     16383/15/63
logical      1825/240/63

I think I should have used hda=1826,240,63 but I saw 1825 when I 
tried partitioning the disk with Partition Magic, so that's why it 
currently has 1825 in /etc/lilo.conf

If you want to get rid of hda4 and its logical partitions, you can
use sfdisk to toggle the partition type of hda4 to e.g. linux
native. After that fdisk and cfdisk will read the partition table.

> john d.

// Heikki
-- 
Heikki Vatiainen                  * hessu@cs.tut.fi
Tampere University of Technology  * Tampere, Finland