Installing Win XP on SuSe - Resize partiotion

Hi:)
I have SuSe installed on my machine, and I would like to install XP as alternative platform too. I am not expert in Linux and regarding to my research, I have to resize the existing linux partiotion, format it to NTFS and then install XP on that partition.

At the moment I have the following partitions:
Device Size Mount
/dev/sda 149.0 GB
/dev/sda1 2 GB swap
/dev/sda2 20.0 GB /
/dev/sda3 127.0 GB /home

Now I tried to resize the /sda3 partition, but since /home is a mount point, I can not resize it. Is there anything that can be done here?! Changing the mount point from /home to something else or so without damaging my current SuSe installation??

Another solution, which I tried was burning an INSERT distro LIVE CD and trying to shrink/resize my partition from the GPARTED. But the problem is that the LIVE CD just freezes under the boot-up and I can’t find any reason for that…

Can anyone help with the mentioned issues or has anyone a better way to install XP on my current SuSe??

Thanks. :slight_smile:

Your main problem won’t be resizing the partitions but the fact that Windows will overwrite the MBR and you will not be able to access Linux.

You will need a live CD and some understanding of Grub to be able to reinstall Grub after you have installed Windows.

Depending on how much you actually have in /home and whether you have tweaked your setup in unusual ways, you may find it easier to backup /home and any other files e.g. in /etc which you may have modified, install Windows and then reinstall SuSE. It may sound longwinded but, unless you have a huge number of files in /home, you may find it only takes about an hour to reinstall SuSE and /home.

If you don’t want to do it that way, you can unmount /home within YaST in order to repartition it. Disconnect from the Internet and login as root.

But whatever you do, backup first!

Try to use parted magic live CD to resize.
Bryan’s technical world: Parted Magic new version has been released!

Hi,

You would do better the whole thing if you focused the multiboot install issue the other way:

  1. Install Windows XP.

  2. Install Open Suse.

Windows XP is very picky regarding the partition it should be installed to. It usually wants to be installed in the first partition of the first disk. In addition, it will overwrite the grub stage1 boot code in the MBR with its own boot loader, what means you will have to boot Open Suse in rescue mode to fix that.

Besides, in order to resize a linux partition without data loss, no matter what file system it is hosting, you first have to unmount the device, then you have to resize the fs and finally you will resize the partition itself.
It is not a difficult operation, but fully discouraged if you aren’t very familiar with linux and with working at the command line. You will have to be very familiar with several tools to achieve the resizing task with success: fdisk/parted, e2resize, etc.

Don’t get into trouble, do as suggested by John_Hudson above. Get backup copies of your current linux fs, install Windows and then Open Suse.
You can restore your data once the two systems boot smoothly.

Better yet, get another disk and install each OS in its own disk.

You even can tweak the Windows boot loader configuration to load Open Suse from it.

On 2008-08-02, salar 2008 <salar_2008@no-mx.forums.opensuse.org> wrote:

> I have SuSe installed on my machine, and I would like to install XP as
> alternative platform too. I am not expert in Linux and regarding to my
> research, I have to resize the existing linux partiotion, format it to
> NTFS and then install XP on that partition.

No, you’d have to

  • resize the partition (to make space available)
  • make a new partition (in the new free space)
  • format that partition in NTFS (Windows will do that for you)

> At the moment I have the following partitions:
> Device Size Mount
> /dev/sda 149.0 GB
> /dev/sda1 2 GB swap
> /dev/sda2 20.0 GB /
> /dev/sda3 127.0 GB /home

If you wanted 40 GB for Windows, the result should be:
Device Size Mount
/dev/sda 149.0 GB
/dev/sda1 2 GB swap
/dev/sda2 20.0 GB /
/dev/sda3 87.0 GB /home
/dev/sda4 40.0 GB /mnt/windows

> Now I tried to resize the /sda3 partition, but since /home is a mount
> point, I can not resize it. Is there anything that can be done here?!
> Changing the mount point from /home to something else or so without
> damaging my current SuSe installation??

Login into your system as root, unmount the /home partition manually:

  • umount /home
  • resize /dev/sda3 to 83 GB
  • create /dev/sda4 (40 GB), setting the mount point to /mnt/windows
  • mount /home


The sand remembers once there was beach and sunshine
but chip is warm too
– haiku from Effector Online, Volume 1, Number 6

Hi
What I did:

umount /home
resized partition /dev/sda3
created partiotion /dev/sda4 (NTFS)
mount /home

then I installed XP on the sda4, but the now when I start my machine it automaticly starts XP and I don’t get any start-up menu to choice between XP and SuSE. What should I do for making the platform choice menu available?:confused:

On 2008-08-06, salar 2008 <salar_2008@no-mx.forums.opensuse.org> wrote:

> umount /home
> resized partition /dev/sda3
> created partiotion /dev/sda4 (NTFS)
> mount /home
>
> then I installed XP on the sda4, but the now when I start my machine it
> automaticly starts XP and I don’t get any start-up menu to choice
> between XP and SuSE. What should I do for making the platform choice
> menu available?:confused:

I’m not running 11.0 on this machine, but there shouldn’t be much
difference.

Go into Yast, System, Boot Loader.
Add a menu choice called WindowsXP, type ‘other’, device /dev/sda4.


The sand remembers once there was beach and sunshine
but chip is warm too
– haiku from Effector Online, Volume 1, Number 6

On 2008-08-06, salar 2008 <salar_2008@no-mx.forums.opensuse.org> wrote:

> umount /home
> resized partition /dev/sda3
> created partiotion /dev/sda4 (NTFS)
> mount /home
>
> then I installed XP on the sda4, but the now when I start my machine it
> automaticly starts XP and I don’t get any start-up menu to choice
> between XP and SuSE. What should I do for making the platform choice
> menu available?:confused:

Sorry, I missread.
If your machine is starting XP by default, Grub has been removed.
Boot on the Linux DVD, and ‘repair’ by installing Grub.


The sand remembers once there was beach and sunshine
but chip is warm too
– haiku from Effector Online, Volume 1, Number 6

If you do not have the installation DVD, it can also be done from any Live-CD. If that is what you need to do, post back and we can give you the instructions.