Repartitiong existing Linux installation for Windoze

Hey all,

I currently have SuSE 6.3 installed on the following partitions  :

/dev/hda3 (root)
/dev/hda5 (not used by anything)
/dev/hda6 /home
/dev/hda7 /usr

Now, in this current configuration is it possible to install windows on /dev/hda5 by some clever stuff ?

I remember hearing a while back that Windows can only be installed on the first partition, in this case /dev/hda3 . If this is true, is there any way to swap it with /dev/hda5 (ie /dev/hda5 becomes /dev/hda3) ?
LVL 2
gravityAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

biardCommented:
Windows doesn't have to be on the first partition, but it has to be on a Primary partition.  You should be able to use Linux's fdisk to make more than one of your partitions primary and turn /dev/hda5 into a Vfat partition.  Then your windows install should see it.
0
gravityAuthor Commented:
OK, I'm not too hot with fdisk... I can get it to basic stuff, but how would I go about telling fdisk to make /dev/hda5 the primary partition ?
0
swwelshCommented:
you'll have to delete it and then recreate it as a primary. You can have 4 primaries on the disk. Use the t command to toggle the partition type to vfat - you can get a list of the number codes from fdisk. Then try your windows boot disk to format and install
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

gravityAuthor Commented:
OK, I may be able to do virtually anything in Linux including getting the irda port to communicate with another Windoze box, but could you please explain precisly what I need to do with fdisk... there are a lot of points on offer, and as someone not to used to partitioning, I'm really not that keen to much around with them... 'just in case' :)
0
jetxCommented:
Do this.

fdisk /dev/hda

then you will see

Command (m for help):

Hit m and enter to see the keys.

hit d to delete a partition

d

you will see

Partition number (1-4):
enter 2

then proceed

now hit n to add a new partition

make a new Linux primary partition

then after you are finish

list the partitions hit p

hit t to change the partition system id

you will see

Partition numner (1-4): enter whatever partition number the new partition is

then you will see
Hex code (type L to list codes):

hit SHIFT l and enter

now you will see the different partitions.

Select b for Win95 FAT32

and exit.

now reboot your computer with a clean dos preferebly Win98 bootdisk and boot to it. Make sure you got a fdisk, format and sys program on the disk. Then first fdisk in dos. all the commands are easy.

first do c:\

If it works then you can format c:\

If it doesn't then do delete and recreate the partition it should show as FAT32 on the list partition in fdisk. Delete that and create a primary partition.

WARNING: do not delete your linux partition or you will not be able to boot linux.

After the fdisk. Reboot your computer and still use your dos boot disk.

Now issue the command 'format c:\'

and then reboot after that.

now install windows98 with the cdrom.

it should work now.

Jeff
PS: please let me know what happen. my email is jbuan@Home.com
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gravityAuthor Commented:
I do a list and get :

/dev/hda1   *         1        18    136048+  82  Linux swap
/dev/hda2            19       678   4989600    5  Extended
/dev/hda3           679       839   1217160   83  Linux
/dev/hda5            19       154   1028128+   6  FAT16
/dev/hda6           155       290   1028128   83  Linux
/dev/hda7           291       678   2933248   83  Linux

When I hit 'd' I get the option of 1-7... which one should I delete ?
0
jetxCommented:
/dev/hda5            19       154   1028128+   6  FAT16

use 4 if 4 doesn't work then 5.

either it's reading the partitions one by one or using the table as a basis.

0
gravityAuthor Commented:
Fair enough... it's about to work for me ;)
0
jetxCommented:
/dev/hda5            19       154   1028128+   6  FAT16

use 4 if 4 doesn't work then 5.

either it's reading the partitions one by one or using the table as a basis.

0
jetxCommented:
Oops damn repost :) sorry for the repeat.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.