Re: "Missing operating system" after i386 dual boot install
On Sat, Aug 4, 2018 at 7:00 PM Sijmen J. Mulder wrote: > 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? Boot the install CD, and run 'machine boot hd0c'. This will boot the OpenBSD partition directly, without involving the MBR. (With 'machine boot', hd0a..hd0d are the fdisk partitions, not BSD disklabel entries, so e.g. 'machine boot hd0a' should boot NT.) If that works: the OpenBSD boot loader in its partition is fine, but the MBR is not loading it correctly. Installing new MBR code, e.g. 'fdisk -u wd0', may help. If it doesn't (unlikely, since NTLDR works with the PBR): there is a problem with the PBR, or with the BIOS's ability to boot from it. Using the NT loader menu may end up being a better solution for you, but this should sort out the direct-boot case. -Andrew
Re: "Missing operating system" after i386 dual boot install
On Sun, Aug 5, 2018 at 5:02 AM Sijmen J. Mulder wrote: > Success! > > Unfortunately NT4 predates the BCD but I managed to do something > similar by adding the following line to C:\boot.ini: > > C:\openbsd.pbr="OpenBSD" > > I still wonder why it wouldn't boot from the partition directly but at > least it works and I'm happy to report that OpenBSD performs remarkably > well on this old hardware (PIII 800 MHz, 128 MB RAM). > > Sijmen > That's awesome! I've been dual-booting OpenBSD since the Win2000 era using the NT Boot loader, and don't recall how I had to do it back then, but I don't think it had BCDEdit either. I probably had to do the same thing. Anyhow, happy to help, and enjoy OpenBSD on that thing.
Re: "Missing operating system" after i386 dual boot install
Success! > 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 Unfortunately NT4 predates the BCD but I managed to do something similar by adding the following line to C:\boot.ini: C:\openbsd.pbr="OpenBSD" I still wonder why it wouldn't boot from the partition directly but at least it works and I'm happy to report that OpenBSD performs remarkablywell on this old hardware (PIII 800 MHz, 128 MB RAM). Sijmen
Re: "Missing operating system" after i386 dual boot install
On Sat, Aug 4, 2018, 19:00 Sijmen J. Mulder 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: 05261 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: 07261 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 17525792swap# none > c: 802932480 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 4193028NTFS > 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 >
"Missing operating system" after i386 dual boot install
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: 05261 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: 07261 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 17525792swap# none c: 802932480 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 4193028NTFS 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