I had my laptop setup with WinXP Pro and Ubuntu in dual boot. Due to a failed dist-upgrade I had to reinstall Ubuntu and WinXP failed to boot anymore - no biggie as I very rarely booted Windows anyway. Well, I had 20GB of wasted space on my Windows partition so I wanted to reclaim it and use it for my root partiton (4GB of 8GB used). I did this:
1. Boot with Ubuntu LiveCD and load up GParted
2. Delete the 20 GB Windows partition (/dev/hda1)
3. Copy the '/' partition (/dev/hda2) to the former Windows partition
4. Reboot and edit the grub boot loader to boot from /dev/hda1 - boots successfully
5. Boot with Ubuntu LiveCD again and load up GParted
6. Delete the old 8 GB '/' partition (/dev/hda2)
7. Resize the /dev/hda1 partition to use the deleted partition (28 GB after resize) and reboot
8. Check the file system and it's got the same free space (4 GB) but now has 24 GB used?
9. Did a 'shutdown -F' to force a fsck on reboot - it ran but nothing changed
10. Boot with the LiveCD again and load up GParted - the newly resized partition shows 24 GB of 28 GB used
1. Boot with Ubuntu LiveCD and load up GParted
2. Delete the 20 GB Windows partition (/dev/hda1)
3. Copy the '/' partition (/dev/hda2) to the former Windows partition
4. Reboot and edit the grub boot loader to boot from /dev/hda1 - boots successfully
5. Boot with Ubuntu LiveCD again and load up GParted
6. Delete the old 8 GB '/' partition (/dev/hda2)
7. Resize the /dev/hda1 partition to use the deleted partition (28 GB after resize) and reboot
8. Check the file system and it's got the same free space (4 GB) but now has 24 GB used?
9. Did a 'shutdown -F' to force a fsck on reboot - it ran but nothing changed
10. Boot with the LiveCD again and load up GParted - the newly resized partition shows 24 GB of 28 GB used