That's the part I'm having trouble with. I'll [E]dit partition 2 and enter a new, smaller size, but the changes aren't reflected and I can't subsequently create an OpenBSD partiton of any size. It's unclear as to how I should continue. Edit 2, type a smaller size, Write the changes and enter the newfs -t msdos /dev/rwd0k command, then re-enter the OpenBSD install and create the fourth partition? But I doubt that would work, as fdisk in the i386 OpenBSD has never lead me wrong, and it's reporting that no space is left for OpenBSD, even after I try to shrink it.
It may be easier to do this from within the Linux, hence load your Linux installation and perform the following steps:# umount /dev/hda3
# /usr/sbin/fdisk /dev/hda
and from within fdisk: 1. Press 'p'. You should see something like this:
/dev/hda1 1 20 10048+ 83 Linux
/dev/hda2 21 40 10080 83 Linux
/dev/hda3 41 7936 3979584 c Win95 FAT32
2. Press 'd' to delete a partition then press '3' to delete partition #3
3. Press 'p' again to verify that the 3rd partition has been deleted. You should see this:
/dev/hda1 1 20 10048+ 83 Linux
/dev/hda2 21 40 10080 83 Linux
4. Press 'n' then press 'p' for primary since you dont want extended. For the partition number press '3'
5. Select the default start cylinder but for the last cylinder type '+XXXM' where XXX is some numeric value. This will be the
WIN95 FAT32 partition.
6. Press 'n' then press 'p' for primary. For the partition number press '4'
7. Select the default start and last cylinders. This will be the
OpenBSD partition.
8. Press 't' to modify the partition filesystem type then press '3' for partition #3 and finally press 'c' for the hex code option. This will change partition #3 back to a WIN95 FAT32 filesystem.
9. Once again press 't' to modify the partition filesystem type then press '4' for partition #4 and finally type 'a6' for the hex code option. This will change partition #4 to a OpenBSD filesystem.
10. Press 'p' again and you should see something like this:
/dev/hda1 1 20 10048+ 83 Linux
/dev/hda2 21 40 10080 83 Linux
/dev/hda3 41 XXX YYYY c Win95 FAT32 (LBA)
/dev/hda4 XXX ZZZZ a6 OpenBSD
11. Press 'w' to write the changes.
12. Reboot your system
# /sbin/shutdown - r now
13. Once Linux has rebooted:
# /sbin/mkfs.vfat /dev/hda3
# mount - t vfat - o noatime /dev/hda3 /hdd3
14. Continue on with OpenBSD installation. The OpenBSD fdisk may still pop up but if you type 'print' you will see that the partitions are already created, hence you can just type 'exit'.
15. Disklabel will open:
I'll let you take it from here. Good luck!