[lug] error trying to add new drive

D. Stimits stimits at idcomm.com
Wed Oct 10 14:51:54 MDT 2001


"Scott A. Herod" wrote:
> 
> Hi,
> 
> I'm trying to add a new IDE drive at /dev/hdc.  I ran fdisk
> and created one ext2 linux extended file system from block 1
> of size 500M and a linux swap partition of from the end of the
> first one of size 128M.  fdisk appeared to have finished happily.
> 
> I ran "mkswap /dev/hdc2" successfully followed by "swapon /dev/hdc2".
> 
> Next I tried to run "mkfs -t ext2 /dev/hdc1".  I get an error that
> basically says, "Not enough space to build proposed filesystem".
> 
> All tools are in RH7.1 distro.  The existing boot drive is 90% full
> with 30M of swap.  The machine has 64M of RAM.
> 
> Can someone suggest what might be wrong or something else to try?
> 
> Thanks,
> 
> Scott
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

If you run "fdisk /dev/hdc", go to extra functionality with "x", then
print the raw data with "d", are the last two entries "55 AA"? They
should be. If not, it could be incorrectly determining the end of the
MBR. Also, if for some reason that partition is somehow turned read-only
(I don't know how), it would probably do this. Or if it really ran out
of sufficient memory...for all I know, it might need /tmp/ space, and
not just ram and swap, to do this. In any case, since some partition
data might not be written until a reboot (or the bios might not see it,
and mkfs could actually consult the bios), have you done a reboot since
the fdisk, partitioning, and mkswap?

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list