Saturday, August 04, 2018

Re: "Missing operating system" after i386 dual boot install

On Sat, Aug 4, 2018, 19:00 Sijmen J. Mulder <ik@sjmulder.nl> wrote:

> Hi all,
>
> I've installed OpenBSD 6.3 on a Pentium III machine alongside existing
> installations of Windows 95 and Windows NT 4 by manually setting up a
> partition in the fdisk step and using the suggested disklabel
> configuration. As recommended in INSTALL.i386, I've emarked the OpenBSD
> partition as active.
>
> After booting the PC pauses for a few seconds before displaying "Missing
> operating system".
>
> What I've tried:
> - "boot hd0a:/bsd" from the installation CD: works
> - mark partition 0 active: works, brings up NT's bootloader
> - "installboot -v wd0": no change
>
> Any ideas?
>
> Output of "fdisk wd0", "disklabel wd0", and "installboot -nv wd0"
> reproduced below.
>
> Thanks,
> Sijmen J. Mulder
>
>
> --> fdisk wd0
>
> Disk: wd0 geometry: 4998/255/63 [80293248 Sectors]
> Offset: 0 Signature: 0xAA55
> Starting Ending LBA Info:
> #: id C H S - C H S [ start: size ]
>
> -------------------------------------------------------------------------------
> 0: 06 0 1 1 - 260 254 63 [ 63: 4192902 ]
> FAT16B
> 1: 05 261 0 1 - 1023 254 63 [ 4192965: 12257595 ]
> Extended DOS
> *2: A6 1024 0 1 - 3071 254 63 [ 16450560: 32901120 ]
> OpenBSD
> 3: 00 0 0 0 - 0 0 0 [ 0: 0 ]
> unused
> Disk: wd0 geometry: 4998/255/63 [80293248 Sectors]
> Offset: 4192965 Signature: 0xAA55
> Starting Ending LBA Info:
> #: id C H S - C H S [ start: size ]
>
> -------------------------------------------------------------------------------
> 0: 07 261 1 1 - 521 254 63 [ 4193028: 4192902 ]
> NTFS
> 1: 00 0 0 0 - 0 0 0 [ 0: 0 ]
> unused
> 2: 00 0 0 0 - 0 0 0 [ 0: 0 ]
> unused
> 3: 00 0 0 0 - 0 0 0 [ 0: 0 ]
> unused
>
>
> --> disklabel wd0
>
> # /dev/rwd0c:
> type: ESDI
> disk: ESDI/IDE disk
> label: Maxtor 6K040L0
> duid: bcc4a547f3b61211
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 4998
> total sectors: 80293248
> boundstart: 16450560
> boundend: 49351680
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 1075232 16450560 4.2BSD 2048 16384 8366 # /
> b: 1045744 17525792 swap # none
> c: 80293248 0 unused
> d: 1474592 18571552 4.2BSD 2048 16384 11474 # /tmp
> e: 2160704 20046144 4.2BSD 2048 16384 12958 # /var
> f: 2611232 22206848 4.2BSD 2048 16384 12958 # /usr
> g: 1247232 24818080 4.2BSD 2048 16384 9744 #
> /usr/X11R6
> h: 4401248 26065312 4.2BSD 2048 16384 12958 #
> /usr/local
> i: 4192902 63 MSDOS
> j: 4192902 4193028 NTFS
> k: 2969600 30466560 4.2BSD 2048 16384 12958 #
> /usr/src
> l: 6905856 33436160 4.2BSD 2048 16384 12958 #
> /usr/obj
> m: 9009664 40342016 4.2BSD 2048 16384 12958 # /home
>
>
> --> installboot -nv wd0
>
> Using / as root
> would install bootstrap on /dev/rwd0c
> using first-stage /usr/mdec/biosboot, second-stage /usr/mdec/boot
> would copy /usr/mdec/boot to /boot
> /boot is 6 blocks x 16384 bytes
> fs block shift 2; part offset 16450560; inode block 104, offset 2472
> master boot record (MBR) at sector 0
> partition 0: type 0x06 offset 63 size 4192902
> partition 1: type 0x05 offset 4192965 size 12257595
> partition 2: type 0xA6 offset 16450560 size 32901120
> /usr/mdec/biosboot will be written at sector 16450560
>

Did you read the FAQ on multi-booting where they talk about creating the
openbsd.pbr file and using bcdedit? In running dual-boot with Win7/OpenBSD
on one system, and Win10/OpenBSD on another, and the procedure in the FAQ
has worked well for me. https://www.openbsd.org/faq/faq4.html#Multibooting

>

No comments:

Post a Comment