bug-parted
[Top][All Lists]
Advanced

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

how to add space frm a WIN part to an extended, logical Linux


From: Uwe Brauer
Subject: how to add space frm a WIN part to an extended, logical Linux
Date: Fri, 25 Jan 2002 17:15:09 +0000

Hello 

I have not used gpart so far and before doing this I would like 
to be sure that what I want to do is possible.

I have on my Laptop the following hard disc configuration
(fdisk -l):


Disk /dev/hda: 240 heads, 63 sectors, 629 cylinders
Units = cylinders of 15120 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        39    289865   a0  IBM Thinkpad
                                                  hibernation 
Partition 1 does not end on cylinder boundary:
     phys=(38, 83, 4) should be (38, 239, 63)
/dev/hda2   *        39       322   2144394    b  Win95 FAT32
/dev/hda3           323       629   2320920    5  Extended
/dev/hda5           323       324     15088+  83  Linux (/boot) 
/dev/hda6           325       541   1640488+  83  Linux  (/)    
/dev/hda7           542       620    597208+  83  Linux  (/home)
/dev/hda8           621       629     68008+  82  Linux swap



So the first partition is a built in partition provided by HP 

Now I would like to shrink the Windows partition around 300 Mega.

Suppose I get something like this (did not change all the relevant numbers.)
would look  

  Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        39    289865   a0  IBM Thinkpad
                                                  hibernation 
Partition 1 does not end on cylinder boundary:
     phys=(38, 83, 4) should be (38, 239, 63)
/dev/hda2   *        39       285   1844394    b  Win95 FAT32
/dev/hda3           286       322    200000
/dev/hda4           323       629   2320920    5  Extended
/dev/hda5           323       324     15088+  83  Linux (/boot)
/dev/hda6           325       541   1640488+  83  Linux  (/)
/dev/hda7           542       620    597208+  83  Linux  (/home)
/dev/hda8           621       629     68008+  82  Linux swap

Now I want to add this free space between cylinder 301 and 322 
to two partitions:

1. 100 Mega to the swap partion which is between cylinder 621 and 629
2. 200 Mega to the root partion, which is between cylinder 325 and 541

If this is not possible I would then like to add all the 300 Mega to
the root partition 325 and 541.

Is any of this goal possible.

Thank you very much in advance

Uwe Brauer




reply via email to

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