I think I did not tell you all the info you need. Here goes again :-).
Some weeks ago, I successfully installed Mandrake 9.1 next to Windows XP by resizing the NTFS partition during the Mandrake setup (great job
). So I ended up with 4 partitions:
- linux root: ext3
- linux swap: ? (probably ext3)
- linux home: ext3
- windows: NTFS
Everything worked like a charm. However, after some time my home partition, where I store all my data, became quite full. I had about 1Gb free space on there.
Yesterday, I wanted to download Mandrake 9.2 (powerpack) which is about 2 Gb. So I needed 1 Gb more space on the home partition.
My idea was to resize the NTFS partition (i.e., make it smaller) from within linux and use the extra partition to download the new Mandrake on. And so I did. I started up DiskDrake and performed the following:
- unmount /mnt/windows
- resize this partition (make smaller)
* this resulted in an extra partition - the previous partition numbers (hda5, hda8, etc) all shifted in numbers (so I got hda6, hda7, etc).
- format the extra partition as FAT32 (which had become hda5, which used to be my linux root partition number)
- change lilo.conf as follows:
>replace all hda5 with hda6 (as hda6 had become my root (I think))
- run lilo -v
- Select windows
Result: Windows did not start at all (stopped immediately after showing the windows XP logo for about half a second)
- Select linux
* Linux booted just fine, however did complain about hda5 not being ext3 or something during boot
Once in linux console I looked at /mnt/windows, but it was empty. So I decided to restore the backed up partition in DiskDrake (so I basically did a rollback of all my actions above). And everything was as it used to be ...
Now, I might have overlooked something during this process. I already mentioned that the hda numbers shifted. May be /dev/hda1 on which windows resides, changed as well?
I will try it again this night and carefully look at what happens to the windows partition.
In any case, if anyone had done this before he/she can tell me how to do it properly.
PS: I did defragment within Windows XP prior to this.