bug-parted
[Top][All Lists]
Advanced

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

Re: Question


From: muglesto
Subject: Re: Question
Date: Tue, 7 Aug 2001 17:42:14 -0600 (MDT)

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.

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?  How do I know where the data is on my Windows D drive?
Maybe I'm thinking too much.

Any help would be fantastic.

Brad Mugleston, KI0OT
Aurora, Arapahoe Cty, Colorado
DM79oq 39.692500N 104.802600W
CQC #170, QRP-L #316, NorCal #2934

On Wed, 8 Aug 2001, Andrew Clausen wrote:

> On Tue, Aug 07, 2001 at 02:06:36PM -0600, Mugleston, Brad wrote:
> > I just got PARTED for my Linux box (RH 6.0) and have read the HOW-TO.  I'm
> > ready to go but would feel better if someone were there to help.
> > 
> > I have a 20G hard drive with Linux on a 2.5G partition and under Windows 95
> > a 2.5G partition for the Windows software and the balance in a Windows D
> > drive.  I want to take half of this D drive and use it to grow the 2.5G Ext2
> > drive.
> 
> It's a bit difficult to follow what you just said... could you run
> Parted or fdisk, and copy the output of the "print" command?
> 
> > Looking at the HOW-TO in section 2.5.2 Example 2 it looks like you shrink
> > the larger drive (my D drive) and copy the one you want to grow into the new
> > free space.
> 
> Well, the start of ext2 partitions must remain fixed during a resize.
> So this all depends on the order of your partitions (so answer the
> previous question ;)
> 
> > It looks like you end up not using the old space (the old Minor 7 in the
> > example).
> 
> It depends...
> 
> > I am also wondering about the format of the filesystem and how that all
> > fits.
> 
> The FAT resize code can do more than the ext2 resize code.
> 
> Andrew
> 
> 




reply via email to

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