On Thu, Jun 03, 1999 at 04:39:33PM -0700, Hidong Kim wrote:
> Hi,
>
> I just installed Mandrake 5.3 on a machine with a single 10.1 GB ide
> drive. During the installation, I only set up a 200 mb /boot, a 2 gb /,
> and 190 mb of swap in three logical partitions. Now that the system is
> running, I want to format the rest of the 7 gb or so on the drive into a
> single ext2 partition, but I'm having problems. Here's the partition
> table after creating the new ext2-to be partition (/dev/hda4):
>
> Disk /dev/hda: 16 heads, 63 sectors, 19650 cylinders
> Units = cylinders of 1008 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 407 205096+ 83 Linux native
> /dev/hda2 408 4471 2048256 83 Linux native
> /dev/hda3 4472 4846 189000 5 Extended
> /dev/hda4 4847 19650 7461216 83 Linux native
> /dev/hda5 4472 4596 62968+ 82 Linux swap
> /dev/hda6 4597 4721 62968+ 82 Linux swap
> /dev/hda7 4722 4846 62968+ 82 Linux swap
>
>
>
> When I do '/sbin/mkfs -t ext2 /dev/hda4 7461216', I get the error:
>
> mke2fs 1.12, 9-Jul-98 for EXT2 FS 0.5b, 95/08/09
> mkfs.ext2: Filesystem larger than apparent filesystem size.
> Proceed anyway? (y,n)
>
> If I say yes, the screen gets filled with errors about not being able to
> write 8 blocks in inode table. This is the procedure I used to format
> two scsi hard drives on two other Linux machines. How do I format the
> rest of this ide drive? Thanks,
You need to run fdisk and create /dev/hda8 that contains the remainder of
the /dev/hda4 extended partition (remember, hda5 and 6 both reside INSIDE
hda4!!).
After you create that partition and reboot, you should be able to mke2fs on
/dev/hda8.
--
Steve Philp
[EMAIL PROTECTED]