[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error mkswap



On Sat, Sep 18, 2004 at 12:46:01PM +0200, Fernando wrote:
>  Hi all. I want to install debian in a old pc. Its a
> PII 333, 64Ram,3Gb HD. I want to install sarge using
> knoppix and debootstrap. Ok, i make all partitions
> with fdisk and there isnt problems. 
> But when i do mkswap /dev/hda2, i get this error:
>  mkswap: error: swap area needs to be at least 40kB
>  Usage: mkswap [-c] [-v0|-v1] /dev/name [blocks]
> The partition's table is:
>  Disco /dev/hda: 3249 MB, 3249340416 bytes
>  128 cabezas, 63 sectores/pista, 787 cilindros
>  Unidades = cilindros de 8064 * 512 = 4128768 bytes
>  
>  Disposit. Boot      Start         End      Blocks  
>  Id
>   System
>  /dev/hda1              50         787     2975616  
>  83
>   Linux
>  /dev/hda2               1          49      197536+ 
>  82
>   Linux swap

Heh heh, from the fdisk manpage "fdisk is a buggy program that does
fuzzy things ... avoid it if you can" (Then goes on to recommend cfdisk)
:-)

If you have to use fdisk, perhaps try go to the advanced menu 'x' and
then do 'f' to fix partition order.  That will probably make swap hda1.
Also try 'v' for verify.

hth,
Patrick.



Reply to: