We currently have a partitioning schemeon our machines that looks like:
/dev/hda1       /boot   100MB
/dev/hda2       Windows 10GB
/dev/hda3       /       10GB
/dev/hda5       swap    ~512MB

We currently install linux first, so that the partitioning scheme is setup
properly and then install windows, there is little point reversing this as
we reinstall Windows significantly more often than Linux and do not want to
deal with having to reinstall both at the same time.

When using the linux boot disk I manually recreate hda2 so that it contains
an empty FAT32 partition:
        rm 2
        mkpartfs 2 FAT32 100-9460
        set 2 boot yes

The partition appears to be recreated succesfully, the commands are from
memmory so apologies if they are in the wrong order.

I tell the system to format the C: and reinstall the mbr. When it goes to
the dos emulator and attempts to load windows it exits with an error "Could
not create swap partition".

>From the command prompt given I cannot access C:, When running FDISK on the
drive it reports that there is only one partition, the /boot and it is a
linux partition.

I have tried simply changing the partition type to FAT32 using the
partitioning tool however this has the same problem.

If I use the whole C: option it works correctly so the problem should not be
hardware related.

Has anyone had success in a similiar situation. I believe the problem is
that the C: is not been created correctly so the format fails and the
windows swap cannot be created. My next test is to manually setup the system
and then attempt to do no partitioning and just format the C:, this is
currently been setup, and I will post results of this when it is done.

-- 
Nich


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to