For more details:
#################On windows 8.1 side:
C:\Users\wesley\Desktop>diskpart
Microsoft DiskPart version 6.3.9600
Copyright (C) 1999-2013 Microsoft Corporation.
Sur l'ordinateur : WIN-FP7P8RGJ41R
DISKPART> list disk
N° disque Statut Taille Libre Dyn GPT
--------- ------------- ------- ------- --- ---
Disque 0 En ligne 15 G octets 7168 K octets
DISKPART> select disk 0
Le disque 0 est maintenant le disque sélectionné.
DISKPART> list partition
N° partition Type Taille Décalage
------------- ---------------- ------- --------
Partition 1 Principale 13 G 1024 K
Partition 2 Principale 1016 M 14 G
C:\Users\wesley\Desktop>dd --list
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <j...@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.
Win32 Available Volume Information
\\.\Volume{7eb8fac6-3a97-11e3-8250-806e6f6e6963}\
link to \\?\Device\HarddiskVolume1
fixed media
Mounted on \\.\c:
\\.\Volume{7eb8facf-3a97-11e3-8250-806e6f6e6963}\
link to \\?\Device\Floppy0
removeable media
Mounted on \\.\a:
\\.\Volume{7eb8face-3a97-11e3-8250-806e6f6e6963}\
link to \\?\Device\CdRom0
CD-ROM
Mounted on \\.\d:
NT Block Device Objects
\\?\Device\CdRom0
size is 2147483647 bytes
\\?\Device\Floppy0
\\?\Device\Harddisk0\Partition0
link to \\?\Device\Harddisk0\DR0
Fixed hard disk media. Block size = 512
size is 16106127360 bytes
\\?\Device\Harddisk0\Partition1
link to \\?\Device\HarddiskVolume1
\\?\Device\Harddisk0\Partition2
link to \\?\Device\HarddiskVolume2
Fixed hard disk media. Block size = 512
size is 1065503744 bytes
C:\Windows\system32>bcdedit
Gestionnaire de démarrage Windows
---------------------------------
identificateur {bootmgr}
device partition=C:
description Windows Boot Manager
locale fr-FR
inherit {globalsettings}
integrityservices Enable
default {current}
resumeobject {d12fb8de-3a9f-11e3-87ed-8386d37742c1}
displayorder {current}
{0eae31b8-4f98-11e3-8260-00264aa3d5ac}
toolsdisplayorder {memdiag}
timeout 30
Chargeur de démarrage Windows
-----------------------------
identificateur {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 8.1
locale fr-FR
inherit {bootloadersettings}
recoverysequence {d12fb8e0-3a9f-11e3-87ed-8386d37742c1}
integrityservices Enable
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {d12fb8de-3a9f-11e3-87ed-8386d37742c1}
nx OptIn
bootmenupolicy Standard
Secteur de démarrage en mode réel
---------------------------------
identificateur {0eae31b8-4f98-11e3-8260-00264aa3d5ac}
device partition=C:
path \openbsd.pbr
description OpenBSD 5.4
#################On OpenBSD side:
# fdisk sd0
Disk: sd0 geometry: 1958/255/63 [31457280 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
*0: 07 0 32 33 - 1827 116 17 [ 2048: 29356032 ]
NTFS
1: 00 0 0 0 - 0 0 0 [ 0: 0 ]
unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ]
unused
3: A6 1828 117 18 - 1957 254 63 [ 29374208: 2081062 ]
OpenBSD
# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: VMware Virtual S
duid: 5a595447d111e24a
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1958
total sectors: 31457280
boundstart: 29374208
boundend: 31455270
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 2046720 29374208 4.2BSD 2048 16384 1 # /
b: 34332 31420928 swap # none
c: 31457280 0 unused
i: 29356032 2048 NTFS
17.11.2013 20:20 пользователь "Wesley MOUEDINE ASSABY"
<open...@e-solutions.re> написал:
Hi
I just tested this. It works nice for me.
I have a Windows 8.1 on a hard drive 15 GB (A full one partition).
So i want to install OpenBSD 5.4 and have multiboot.
-1- Reduce the disk using disk management (MMC snap)
i reduced Windows partition, i have now a second partition 1GB.
Put OpenBSD 5.4 CD, and reboot.
-2- Install OpenBSD using CHS (Be careful!)
OpenBSD is now installed, eject cd, and reboot to windows
# fdisk -e 3
-3- Download the tool dd for windows
http://www.chrysocome.net/dd [1]
Unzip dd-0.6beta3 and do :
open "cmd" as administrator and do:
dd --list
# this will list device (we are looking for partition 2 (openbsd)
dd if=\?DeviceHarddisk0Partition2 of=openbsd.pbr bs=512 count=1
# This record OpenBSD PBR
Copy the file openbsd.pbr to the root c:
-4- Modify boot.ini using bcdedit
In a cmd console (need administrator rights)
bcdedit /create /d "OpenBSD 5.4" /application boot sector
# copy the identifier and paste it to the 4 following lines
# For me, identifier is : {0eae31b8-4f98-11e3-8260-00264aa3d5ac}
bcdedit /set {0eae31b8-4f98-11e3-8260-00264aa3d5ac} device boot
bcdedit /set {0eae31b8-4f98-11e3-8260-00264aa3d5ac} path
openbsd.pbr
bcdedit /set {0eae31b8-4f98-11e3-8260-00264aa3d5ac} device
partition=c:
bcdedit /displayorder {0eae31b8-4f98-11e3-8260-00264aa3d5ac}
/addlast
-5- Reboot, you re done!
As Dmitri said, windows 8.1 load graphical before you have the boot
choice.
And when you choose OpenBSD, the box reboot and load OpenBSD.
I hope this helps!!
If you want i can do a better how-to with snapshots, and put it on
the web.
Or contribute to the FAQ!*
Cheers,
Wesley MOUEDINE ASSABY
http://www.mouedine.net [2]
Links:
------
[1] http://www.chrysocome.net/dd
[2] http://www.mouedine.net