Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-22-2010, 01:01 AM   #1
LQ Newbie
Registered: Jan 2009
Posts: 27

Rep: Reputation: 15
Unable to resize partitions

I have a dual boot system on my Laptop running Arch Linux and Windows XP. I have the following setup on my Laptop.

[sam@sony ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              14G   12G  1.4G  90% /
udev                   10M  192K  9.9M   2% /dev
none                  751M     0  751M   0% /dev/shm
/dev/sda1              19G   16G  3.3G  83% /mnt/winxp
/dev/sda2              92M   24M   63M  28% /boot
/dev/sda5              45G  4.3G   38G  11% /home
My plan was to use some of the free space on my /home partition and transfer it to my Windows XP partition.
The /home partition used to be around 60 G which I managed to shrink to 45G using Gparted on a live Ubuntu CD.
However, I cannot seem to add it to the WinXP partition as my actual fourth primary partition is /dev/sda4 which was then split into /dev/sda5 and swap.
Now, although /home is shrunk, the unallocated space ( around 13 G) is still in /dev/sda4 according to Gparted which it does not allow me to manipulate.
I even tried using Partition Magic on Windows to add the unallocated space to my Win Xp partition. It fails on the first step which is shrinking /dev/sda4.
I am a bit of a noob....but /dev/sda4 does not even show up in $df -h.
Also, on my laptop $fdisk -l produces no output.

Any advise?
Old 04-22-2010, 01:18 AM   #2
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
You can't add from a logical to a primary partition. The primary partition it is on must be reduced, moved, and then you can resize.
You also need to run fsck for each filesystem type and save the logs somewhere.
It doesn't show up because you created an extended partition on sda3.
Old 04-22-2010, 02:02 AM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,486

Rep: Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099
Gparted will handle it, but you have to move everything one at a time:
- move swap (sda6 presumably) to the far right of the extended partition
- then move your home as far right as possible
- drag the left boundary of the extended partition to the right as far as it will go.
- apply all that.
- move your root
- move your boot
- expand sda1.
- fix grub
- pray


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
resize the partitions piduruviswa Linux - Newbie 8 04-28-2009 09:28 AM
How do I resize partitions? watha SUSE / openSUSE 4 09-28-2006 11:29 PM
Resize Partitions mramos Red Hat 4 09-12-2005 10:32 AM
how do i resize my partitions?? PeO Linux - General 10 08-27-2004 05:54 AM
resize partitions wolfe2554 Linux - General 1 07-05-2004 09:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration