[Top][All Lists]

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

Resize problem.

From: rithin
Subject: Resize problem.
Date: Mon, 01 Jul 2002 15:29:01 +0530

    I'm trying to create a prtition on my linux system. I need a 1GB
partition on my sda. The print command gives:

(parted) p
Disk geometry for /dev/sda: 0.000-8683.222 megabytes
Disk label type: msdos
Minor    Start       End             Type          Filesystem      Flags

1          0.031     47.065         primary       ext3
2         47.065   7397.116      primary       ext3
3       7397.117   8675.727    primary       linux-swap

I need to resize Minor 2 so that it will have 1 GB less than the current
size. And then create a new partition of 1 GB from the space thus
obtained, this partition should be

Are the following commands proper for the above requirements:

resize 2 47.065 6397.116
mkpartfs  etx2 6397.116 7397.116

        Any help in this regard will be appreciated.


"in a world without walls and fences - who needs windows and gates ?"

Rithin Kumar Shetty
EMBU, Cisco Systems Inc.
Ph: 2299 625 x 3879.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]