Link to home
Start Free TrialLog in
Avatar of TheSilverBullet
TheSilverBullet

asked on

resizing the linux native ( root) directory on dual boot machine

Hi experts,

I would like to resize the root partition of my machine, wich has a windows xp as well, I have run the rescue disk and found patrted, but the resize has three variables : the number of partition, the start and end, I didnt understand the start and end part, the documenta. says : the partition will start "start " from the beginning of the disk and ends "end" from the beginning of the disk.

I cant understand exactly what both are, and how to know the start and end that will not affect the other partitions ( ive got no unused space, all us used , just want to resize from another)
Avatar of charan_jeetsingh
charan_jeetsingh

probably this will give you a better picture.
SOLUTION
Avatar of charan_jeetsingh
charan_jeetsingh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TheSilverBullet

ASKER

hi charan,

thanks for the contribution, but this is exactly the same documentation which I get when choosing --help,  I dont know yet what the start and end represent, and what happens if you choose a start and end that contradicts another partition?

ok ... its simple,

"start" is the point from where your partition starts, so for example you have your first share as 200 MB and second as 300 MB and you want to resixe the third partition as 400 MB you will give :
parted /dev/sda resize 3 500Mb 900Mb
                                    /\           /\
                                     |            |
             the point from where       |
that partition starts (from the be    |
gining of disk)                              |
                                     Point uptil which you want your partition to be, size mentioned from the begining of disk.

i hope this helps u
what if the fourth is between 600 and 1000, in this case I will increase the size of the third by destroying the fourth, what if the fourth contains the windows os !!?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
mymymac,

have u read my question completly??
simple answer to this question.....ALL DATA WILL BE LOST  :(
TheSilverBullet,

which part of my answer did you not understand? my interpretion of your question is you are trouble understanding parted in command line so i suggested you to use the GUI version instead.

if i understand wrongly, please correct me.