bug-parted
[Top][All Lists]
Advanced

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

Re: Question


From: Andrew Clausen
Subject: Re: Question
Date: Wed, 8 Aug 2001 15:52:27 +1000
User-agent: Mutt/1.2.5i

On Tue, Aug 07, 2001 at 05:42:14PM -0600, address@hidden wrote:
> Command (m for help): p
> 
> Disk /dev/hda: 255 heads, 63 sectors, 2491 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1       243   1951866    c  Win95 FAT32 (LBA)
> /dev/hda2           244      2491  18057060    f  Win95 Ext'd (LBA)
> /dev/hda5           487      2491  16105131    b  Win95 FAT32
> /dev/hda6           244       470   1823314+  83  Linux
> /dev/hda7           471       486    128488+  82  Linux swap
> 
> Command (m for help):
> 
> Here is my table.  I want to take half of the large Win95 drive and give
> it to the /dev/hda6.

Very easy:

(1) get rid of /dev/hda7.  You can make it again later ;)

        rm 7

(2) shrink /dev/hda5 however you want:

        resize 5 1500 2491

(3) grow /dev/hda6:

        resize 6 244 1500

(4) create your swap again


NOTE: you should replace those values with the appropriate Megabyte
values.

> It looks like hda5,6 & 7 are within hda2. With hda1 my main windows drive,
> hda6 & 7 Linux and hda5 my Windows D drive.  Do I cut hda5 into two
> partitions by resize 5 487 1491 then move 487 to 1491 to 1492 then expand
> had6 to 244 1476 - do I delete my swap first (471-486) and make it 1477 to
> 1491
> 
> Is that close?

Much more complicated than it needs to be!  The FAT resizer is rather
flexible... Just resize/move it to where you want it, and it'll do it ;)

> How do I know where the data is on my Windows D drive?

You don't need to know.

> Maybe I'm thinking too much.

I think so! :P

Andrew




reply via email to

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