To add another hard disk & Install Windows ?

I get OpenSuse 11 on my PC.

My Intel PC has 1 DVD reader, 1DVDburner, and
one Hard-disk drive: 40 Meg.

When I installed OpenSuse, I partitionned my
hard drive to allow all the space on the
hard disk to OpenSuse.

Is’it possible to add a new hard-disk
and partitionning this new hard disk to be
used to install Windows?

Your hard drive is 40 MB? Is this correct?
Yes you can add a second hard drive and put anything on it including Windows. Or if your current drive is large enough you can resize the current partitions and add Windows to it.

Thanks a lot for time you’ve taken to answerd me!!!

Yes, it’s true. I have a 40GB hard disk.
I want to add another 40GB to install Window

After i plugged my second hard-disk, and reboot,
OpenSuse will detect this unpartitioned and unformatted
disk… I suppose that OpenSuse ask me for partionning
this New disK… automatically?

The goal reached by this new disk is when OpenSuse
boot, he will ask me to choose;
1-Open Suse
2-Failsafe Suse
3-Windows

Is it possible… in that way?

S.B.

It is possible that way, but it is not automatic. You have to set it up. After you boot opensuse, it will not automatically offer to partition it for you. You will have to do that your self using a tool like Gparted. The disk will be associated with a device file, e.g. if your current disk is /dev/sda, the new one will be /dev/sdb. Open a root console and type “fdisk -l /dev/sdb”.

Your boot menu is something you will have to set up by adding entries to /boot/grub/menu.lst.
After you set up windows on the second drive you can add the following entry to menu.lst:

title = windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
rootnoverify (hd1,0)
makeactive
chainloader +1

:
Thanks a lot, i will check all of it!
Take time to choose the right alternative
and, if required, i will try it and
be back…

SB

Delete “root (hd1,0)” in the above block. The rest is ok.

Just a little clarification to the above . . .

You can add the new disk partitions in YaST Partitioner, but you cannot format them for Windows if you want to use NTFS (and unless you have a good reason not to, you should). All you need to do is go into the bios setup and change the boot device configuration to use the new second disk for boot. Then boot from the Windows installation and it will see the new disk and you can partition/format there however you please. After the installation completes, go back into the bios and switch the boot device back to the first drive.

Then boot into openSUSE, go to YaST Boot Loader, click Other (bottom-right), Propose New Configuration - it will add the new disk to grub’s device.map disk list file, and it will find Windows and add a new boot stanza to grub’s menu.lst file. It may even do the “map” commands above for you; you can double-check this by clicking on Other/Edit Configuration Files and looking at the proposed new menu.lst - if the map lines are missing, just add them there. Click OK and Finish and you’re done.

There is an alternate way!

You can also remove the Linux drive completely from the system and replace it with the new drive. When installing windows, it should do the partitioning/formatting automatically during the install. Once your windows disk is installed and running properly, you can shutdown your system and replace the Linux drive as master.

I am not sure about the jumpers on your disks, but set the linux disk to master and windows disk to slave!

Start openSuSE and run “yast” and configure your bootloader as stated in one of the previous posts!

You will not need to partition/format anything from Linux if you do it this way! You will need to set your bios for the second (windows) disk as stated above as well!