📄 windows95.html
字号:
<HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Author" CONTENT="Kevin Lawton"> <TITLE>Help on installing Windows '95 within Bochs</TITLE></HEAD><BODY TEXT="#000000" BGCOLOR="#ececec" LINK="#3333cc" VLINK="#666666"><H1><CENTER>Help on installing Windows '95 within Bochs<BR>(1/18/98 KPL)</CENTER></H1><PRE><B>NOTE: Please read message regarding licensing of software packages which you run within Bochs, and use of temporary files created to facilitate installation. <A HREF="3rdparty.license.html">3rd Party Software Licensing and Temp orary Files</A></B>(Using Windows95 for PCs without Windows, 1.44M floppy distribution)<P>Additional info may be gleaned from the previous documentationon installing Windows '95, which had some info on installingfrom a CD distribution, or update distribution. I haven't hada chance to update that info yet, and will soon. If you wantto have a look, check out <A HREF="OldWindows95.html">Windows '95</A>. Though, pleaseread through this page for any changes.Preparing for the install=========================Copy the floppies to files on your workstation. Keep in mind,they are of 2 formats - 1.44M & 1.680M. The boot disk anddisk#1 are 1.44M. The rest of them (disk#2..disk#13) are1.680M format. You may need a Linux workstation to do thispart, though it should be possible on others if the OS providesa way to specify alternate floppy media geometries. format tracks heads sectors/track 1.44M: 80 2 18 1.680M: 80 2 21+- On linux, you achieve this, via the 'setfdprm' command, and| associated parameters in the '/etc/fdprm' file. Here's an| excerpt from that file:|| # /etc/fdprm - floppy disk parameter table| 1440/1440 2880 18 2 80 0 0x1B 0x00 0xCF 0x6C| 1680/1440 3360 21 2 80 0 0x0C 0x00 0xCF 0x6C # ?????|| To copy the floppies, you would do something like:|| linux-> cp /dev/fd0 win95_boot (after inserting the boot diskette)| linux-> cp /dev/fd0 win95_d1 (after inserting disk #1)|| Then switch to the alternate 1.680M geometry:|| linux-> setfdprm -p /dev/fd0 1680/1440| linux-> cp /dev/fd0 win95_d2 (after inserting disk #2)| linux-> cp /dev/fd0 win95_d3 (after inserting disk #3)| ...| linux-> cp /dev/fd0 win95_d13 (after inserting disk #13)|| And revert back to the default 1.44M geometry if desired|+- linux-> setfdprm -p /dev/fd0 1440/1440If you have instructions for doing the same on other platforms,please email them to me (kevin@bochs.com), and I'll includethem here.You should end up with something similar to the following listing: -rw-r--r-- 1 user group 1474560 Oct 31 12:04 win95_boot -rw-r--r-- 1 user group 1474560 Jul 15 1997 win95_d1 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d2 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d3 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d4 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d5 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d6 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d7 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d8 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d9 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d10 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d11 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d12 -rw-r--r-- 1 user group 1720320 Jul 15 1997 win95_d13Create a hard disk image file. For example, for a 62M disk withthe following settings in '.bochsrc': diskc: file=62M, cyl=940, heads=8, spt=17use (940 * 8 * 17 * 512bytes-per-sector = 127840): unix-> dd if=/dev/zero of=62M bs=512 count=127840Setup your '.bochsrc' file. For example: megs: 16 boot: c diskc: file=62M, cyl=940, heads=8, spt=17 floppya: 1_44=1.44, status=inserted vgaromimage: bios/VGABIOS-elpin-2.00A romimage: bios/BIOS-bochs-980118a (use newest one) log: ./bochs.out hga_update_interval: 300000 keyboard_serial_delay: 200 floppy_command_delay: 500You'll also need a floppy image file, sort of a working file,which you copy the distribution files into, one by one, asthey are needed. This is the file you point the 'floppya:'directive in the '.bochsrc' file to. Copy the Win'95 boot diskto your floppy working file ('1.44' in the '.bochsrc' example): unix-> /bin/cp -f win95_boot 1.44Beginning the install=====================Fire up bochs and boot the Win'95 boot diskette: unix-> bochs boot:a Microsoft Windows 95 SetupQuit Setup to DOS to use FDISK. '[F3]', '[F3]'FDISK C: to use the whole disk for the primary partition. A:\> fdisk '[Return]' '[Return]' '[Return]'Power down Bochs - click the mouse on the 'Power' buttonin the GUI toolbar. Fire up bochs again. unix-> bochs boot:a Microsoft Windows 95 SetupQuit Setup to DOS to use FORMAT. '[F3]', '[F3]' A:\> format /u c: (answer 'Y' and enter a volume label as desired)Click on the floppy A icon in the GUItoolbar. You shouldsee an 'X' through it signifying it's logically ejected.Now we're ready for Disk1: unix-> /bin/cp -f win95_d1 1.44Click on the floppy A icon again to logically insertdisk1. The 'X' should go away. Now run SETUP.EXE which ison disk1. A:\> setup /C To continue ... '[Return]' Welcome to Windows 95 Setup!... '[Return]' (to select Continue button) Please insert "Disk2"...From now on, keep in mind that you must click the floppy Aicon to tell bochs you're ejecting the floppy (in theory)BEFORE you copy over your floppy working file on yourworkstation, and click on it again AFTERWARDS, to insert it.This is most critical, if you transition from images offloppies with different format. (disk1=1.44M, disk2=1.680M)You're giving bochs a chance to look at the size of theimage file, and switch to a different sectors-per-track.Also, in the future, you'll be activating the floppyhardware media changed line which I haven't implemented yet. (Click the floppyA icon to eject) unix-> /bin/cp -f win95_d2 1.44 (Click the floppyA icon to insert) '[Return]' (select OK button) Software License Agreement '[Tab]' '[Return]' (select Yes button) Windows 95 Setup Wizard '[Return]' (select Next button) Choose Directory '[Return]' (select Next button) Setup Options '[Down-Arrow]', '[Down-Arrow]', '[Down-Arrow]' (selects custom) '[Return]' (select Next button) User Information Name: "Your name here" '[Tab]' Company: "Your company here" '[Return]' Key Identification Key: "123-4567890" (from your Certificate of Authenticity) '[Return]' (select Next button) Product Identification '[Return]' (select Next button) Analyzing Your Computer '[Down-Arrow]' (No, I want to modify the hardware list) '[Return]' (select Next button) Analyzing Your ComputerLet me just note that you can get around in this screen,by the Down-Arrow key, Tab to move to a different area,and space to toggle selection. For some options, it'smuch easier to first unselect every device of thattype, than select the one you want.The ultimate selection you're trying to achieve is: CD-ROM Drive (none) Display Default Standard VGA Display Adapter Floppy Disk Controllers Standard Floppy Controller Hard Disk Controllers Standard IDE/ESDI Hard Disk Controller Keyboard Keyboard Mouse (none) Network Adpater (none) PCMCIA Socket (none) Ports (none) SCSI Controllers (none) Sound, MIDI, or Video... (none)The exact sequence I used was: [Space] (unselect all CD-ROMs) [Down-Arrow] [Space] (unselect all Displays) [Tab] (move to Manufacturer and model section) 13 [Down-Arrows] (Default Standard VGA Display Adapter)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -