LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Partition resizing (https://www.linuxquestions.org/questions/linux-general-1/partition-resizing-62064/)

campo 05-27-2003 08:22 AM

Partition resizing
 
hi guys/gals,

its been a while since I last posted here but when I did I got some excellent advise.

So, my current system is an XP / Linux dual boot. 9 Gigs XP, 3 Gigs Linux. Ive been using linux more and more since I installed it and now I want to increase the linux partition to give myself some more space. I have created 4 Gigs of free space in my windows partition and want to transfer 3 gigs of that free space into the linux partition.

I want to know what is the best progam to use or method of partition resizing. any advice would be welcome. Ive started to fiddle with the 'Parted' application but I dont want to make any drastic changes without fully understanding what Im doing. for those of you who know 'Parted' here is the output of a 'print' command which displays my partition table:

Minor Start End Type Filesystem Flags
1 0.031 9499.372 primary fat32 lba
2 9499.373 9601.347 primary ext3 boot
3 9601.348 12276.232 primary ext3
4 12276.233 13037.124 extended lba
5 12276.264 13037.124 logical linux-swap

Sorry the table looks abit out of line, you can find a jpeg of it here:

table

Presumably I need to use Parted's 'resize' command, but which linux partition should I be resizing?

Cheers Andy

rch 05-27-2003 09:28 AM

Re: Partition resizing
 
Quote:

Originally posted by campo
hi guys/gals,

its been a while since I last posted here but when I did I got some excellent advise.

So, my current system is an XP / Linux dual boot. 9 Gigs XP, 3 Gigs Linux. Ive been using linux more and more since I installed it and now I want to increase the linux partition to give myself some more space. I have created 4 Gigs of free space in my windows partition and want to transfer 3 gigs of that free space into the linux partition.

I want to know what is the best progam to use or method of partition resizing. any advice would be welcome. Ive started to fiddle with the 'Parted' application but I dont want to make any drastic changes without fully understanding what Im doing. for those of you who know 'Parted' here is the output of a 'print' command which displays my partition table:

Minor Start End Type Filesystem Flags
1 0.031 9499.372 primary fat32 lba
2 9499.373 9601.347 primary ext3 boot
3 9601.348 12276.232 primary ext3
4 12276.233 13037.124 extended lba
5 12276.264 13037.124 logical linux-swap

Sorry the table looks abit out of line, you can find a jpeg of it here:

table

Presumably I need to use Parted's 'resize' command, but which linux partition should I be resizing?

Cheers Andy

If you have Mandrake Linux you can resize fat32 filesystems using mcc.If you have money to spare you can also try partition magic to resize the fat32 partition.Since you said that you want to extend the ext3 partition a good idea would be to back up your linux partition in windows(use tar and bunzip2 ,but don't back up /proc and /tmp).Now resize the windows partition and create new ext3 partition of your choice ,it is fairly easy and you can do this with the fdisk utility from the linux rescue disk.Now from the same linux rescue disk copy back your data(which you have backed) to your ext3 partition.


All times are GMT -5. The time now is 01:49 AM.