VOGONS


First post, by wkjagt

User metadata
Rank Newbie
Rank
Newbie

I have an old Pentium 2 laptop that I would like to install Windows 98 on. The CD drive doesn't work unfortunately, which complicates things a bit. I do have one of those USB adapters to connect the IDE hard drive to my MacBook. I can successfully see the contents of the drive, and write to it. It currently has two partitions. Is there a way to install Windows 98 on that hard drive with what I have? I can copy a Windows 98 installation CD to the hard drive, but I would need to make it bootable first so I can boot the laptop and start the installation.

What I tried so far: When I got the laptop it had a French, and somewhat broken Windows 98 install on it, and I want to do a fresh install a fresh in English. I had a Windows 98 bootable floppy disk that I used to boot the laptop, and format the hard drive. (I formatted it because the W98 install complained that there was already an operating system present.) Using the USB adapter, I copied a W98 install CD to the second partition. I booted the laptop from the floppy, and started the installation from the second partition. During the install, it wanted to make a new W98 bootable floppy. I used the same floppy (mistake!), but creating the bootable floppy failed (and as it turned out, broke my bootable floppy). The W98 install failed at around 95% saying it couldn't read a certain file. So now I no longer have a floppy left to boot from, and the W98 failed, so it also won't boot from the hard drive. I don't have currently have access to another PC with a floppy drive, so I can't make a new bootable floppy.

Does anyone have any ideas how to continue? Ideally without buying anything else. The only possibility I see is to make the hard drive bootable from my Mac while plugged in to the USB adapter. That way I can at least boot into MS DOS and start the W98 install. I still have to figure out why it failed at 95% but at least I'd be a step further.

Stay at home dad playing around with 286-486. Programming C and assembly. Repairing old stuff.

Reply 1 of 7, by elszgensa

User metadata
Rank Member
Rank
Member

How about passing the HDD (as well as a fresh boot floppy image and setup CD) through to some VM and do the prep work (partitioning, format /s c:, copy over CD contents) in there? NB, you gotta pass through the device itself, not some partition, and have write access to it. Not sure about the details on macOS but fwiw I've done exactly this using QEMU on Linux a couple times. The only thing that comes to mind that could throw a spanner in the works is when the VM and the actual PC's BIOS look at the HDD differently (wrt C/H/S count).

wkjagt wrote on 2024-11-18, 00:58:

I still have to figure out why it failed at 95%

If the file that fails is "banana.ani" then you gotta fix up your boot floppy - some of them specify "banana" for the cd device name for some friggin reason, resulting in a conflict.

Reply 2 of 7, by myne

User metadata
Rank Oldbie
Rank
Oldbie

Boot vm.
Install dos.
Image hdd
Clone to real one

I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic

Reply 3 of 7, by wkjagt

User metadata
Rank Newbie
Rank
Newbie
myne wrote on 2024-11-18, 08:05:
Boot vm. Install dos. Image hdd Clone to real one […]
Show full quote

Boot vm.
Install dos.
Image hdd
Clone to real one

This worked! I set up QEMU with an empty hard drive image, installed M-DOS 6.22 in it, and then wrote that image to the hard drive with

qemu-img dd  -O raw bs=4M if=msdos.disk of=/dev/disk6

The only minor problem now is that the partition is too small, but that seems easy enough to solve.

Stay at home dad playing around with 286-486. Programming C and assembly. Repairing old stuff.

Reply 5 of 7, by kmeaw

User metadata
Rank Member
Rank
Member

You can also set up QEMU to use your external disk: qemu-system-i386 -drive file=/dev/disk6,format=raw

Reply 6 of 7, by wkjagt

User metadata
Rank Newbie
Rank
Newbie
kmeaw wrote on 2024-11-19, 04:45:

You can also set up QEMU to use your external disk: qemu-system-i386 -drive file=/dev/disk6,format=raw

Oh that's awesome. Will it be the primary drive (hda) and replace the image?

Stay at home dad playing around with 286-486. Programming C and assembly. Repairing old stuff.

Reply 7 of 7, by wkjagt

User metadata
Rank Newbie
Rank
Newbie
wkjagt wrote on 2024-11-19, 13:38:
kmeaw wrote on 2024-11-19, 04:45:

You can also set up QEMU to use your external disk: qemu-system-i386 -drive file=/dev/disk6,format=raw

Oh that's awesome. Will it be the primary drive (hda) and replace the image?

I just answered my own question: it booted right up from the physical hard drive! This is amazing. Thank you!

Stay at home dad playing around with 286-486. Programming C and assembly. Repairing old stuff.