change linux vs windows xp partition size

When I installed Suse 11.0, I left Windows XP Pro on the hard drive and repartitioned, but only gave it about 1GB. I wish I would have allocated more. Can I change this allocation?

Likely xp is the first Partition. So the next Partition along is the only space you could free up.

You can see the dilemma.

Looks like you will need to start fresh really.

Well let’s have a look at the structure at the moment. Can you show the partitions by posting the dialogue you get when you enter this command in a console window:

sudo /sbin/fdisk -l

and this will help to fill in the picture, report it as well:

df -Th

And also tell us what size you’d like to have the windows partition and where you’d like it to come from. May not be possible, but tell us anyway.

I’m looking at doing the same thing on my laptop. Can you answer the question with the following informaiton?

I have a HP dv1000 laptop with the following partions:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x94e494e4

Device Boot Start End Blocks Id System
/dev/sda1 * 2 7185 57705480 f W95 Ext’d (LBA)
/dev/sda5 2 3825 30716248+ 7 HPFS/NTFS
/dev/sda6 3826 3920 763056 82 Linux swap / Solaris
/dev/sda7 3921 5275 10884006 83 Linux
/dev/sda8 5276 7185 15342043+ 83 Linux
horrangi@Cheetah-Lap:~> df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda7 ext3 11G 3.4G 6.4G 35% /
udev tmpfs 247M 88K 247M 1% /dev
/dev/sda8 ext3 15G 399M 14G 3% /home
/dev/sda5 fuseblk 30G 3.5G 26G 12% /windows/D

I would like to eliminate the entire Windows partion completle and divide it between my ext partions.


Hello regghen, welcome to the forums.
When you operate on a partition it should be unmounted. Currently sda5 is mounted in /windows/C. So you use Yast’s partitioner (Yast → system → partitioner) to unmount it. Open partitioner and highlight sda5 and “edit” it. Rub out the mount point and “finish”/“next”/whatever to make it happen.

(i) The simplest thing would be to format it to ext3 filesystem and remount it as an auxiliary data partition or just use it for another Linux distro; very straightforward.

(ii) But it might be that you want to incorporate it into the /home partition or the root partition; that’s easy enough but tricky, involving mounting and manipulating the hard drive in a Linux that runs from a CD in the CD drive. For a new user it’s not without danger and requires backing up the data on separate media and possibly making the drive unbootable if you do a wrong step. I can give you the steps but there’s potential for error there.

Which do you prefer? If it’s (ii) then what Suse version are you running?