Installation of Red Hat Linux 6.2
Driver: any PC-compatible driver with an 80386(not SX) or better CPU. at386, at486, ct486, at586 and clones should all work.
Red Hat Linux 6.2 installation CD-ROM - https://archive.org/details/Linux_Red_Hat_6.2_CD-ROM_Walnut_Creek_April_2000
Smart Boot Manager (for BIOSes that aren't able to boot from a CD) - http://mahlemiut.marpirc.net/SmartBootManager.zip
A lot of spare time. This will take around a few hours, depending on your system speed.Step 1
- Create HD image to install to
Create a blank HD of the size you'd like (1GB is enough).
./chdman createhd -o <CHD image filename> -chs 2048,16,63 -c none
Increase the cylinder count (first CHS value) to increase the overall disk size. -c none
denotes no compression to be used. This allows direct writing to the CHD.Step 2
- Boot from the CD-ROM
You'll need to start MAME with the appropriate commandline options to load the disk images needed. You'll want to use at least -cdrom /path/to/Linux_Red_Hat_6.2_CD-ROM_Walnut_Creek_April_2000.iso
. at386,at486 and ct486 don't attach a CD drive by default, but you can attach one by adding -board3:ide:ide:1 cdrom
to the commandline *BEFORE*
the image switch. These drivers also require you to boot from Smart Boot Manager, which is a floppy-based application that will boot a CD-ROM on systems with BIOSes that otherwise cannot, so add -flop1 /path/to/SmartBootManager.zip
. You need more RAM than default, so also add -ramsize 64m
. Some drivers (ficpio2, at586) can support more RAM than this.
Also consider adding any additional hardware you want to use.
The default video adapter is the Tseng ET4000, but these examples use the S3 Trio64 (svga_s3).
./mame ct486 -hard1 /mnt/win/mess/pc/rh62hd.chd -board3:ide:ide:1 cdrom -cdrom /mnt/win/mess/pc/Linux_Red_Hat_6.2_CD-ROM_Walnut_Creek_April_2000.iso -ramsize 64m -isa1 svga_s3 -flop1 /mnt/win/mess/pc/SmartBootManager.zip
If you're using Smart Boot Manager, then select CD-ROM from the boot menu, otherwise, go to the driver's BIOS menu and enable booting from CD-ROM.
You'll then be greeted with the installation boot menu.
and press Enter to continue. This will force text-based installation (graphical doesn't work for some reason).Step 3
- Installation setup
Controls are keyboard only in the text installer, but they are common enough to use easily. TAB will switch to the next dialog item or button, Space or Enter selects/"clicks" button, and Space will toggle option items.
First, it will ask for a driver disk. This is for network or SCSI hardware drivers, but since we're using neither, just select Cancel. Then it asks for drivers, since we don't need any, select Done.
Now you'll have the first rather long wait. I recommend you disable throttling, as there are plenty of idle periods which will run fast on most half-decent systems. Just be careful of the Scroll Lock key when toggling UI controls, this key can suspend console output, suspending any running application.
Eventually, you'll get this screen:
Select the language you wish to use.
Next, select the keyboard layout. US will do the job.
Next, select what sort of installation you want.
Gnome and KDE are different graphical environments. Server is likely to lack any graphical environment (haven't personally tried it). Choose whichever option suits you.Step 4
- Partitioning the HD
The next screen will let you partition the HD image. There can be issues with creating partitions over 500MB, but a way around that limitation is to have a small boot partition.
So, first add a new partition, set the mount point to /boot
, the size to 16MB, and type to Linux native
You can add a swap partition if you wish, it can help performance. Add a new partition, leave the mount point blank, set size to 128MB (or whatever you want, double your RAM is usually good), and set type to Linux swap
And now, add the main partition, where everything is going to be stored. Add a new partition, set mount point to /
, leave size alone, set type to Linux native
, and toggle the expand to fill disk option so that it is enabled.
If all has gone well, you should get this setup:Step 5
- Further setup
Next dialog asks for mouse type. The default mouse used in all PC drivers in MAME is a serial mouse.
Generic 2 button serial mouse should be selected by default, so just select OK to continue.
The next screen ask for the serial port the mouse is attached to. Again, the default of /dev/ttyS0 is fine. Select OK to continue.Step 6
- Account setup
First, it will ask for the root user password.
Enter your root password in both entry boxes. Nothing is displayed as you type, this is normal. If both password entries match, you can continue. Passwords must be 6 characters long or greater.
Now, you can enter a regular user ID and password. You may skip this if you wish, it can be done later.Step 7
Next dialog asks for the video adapter you're using. Select whichever is appropriate for what adapter you are emulating. Some 2D accelerator cards (Mach8/32, Trio32/64) will work with the appropriate X-server, although may be a bit glitchy.
Now the system will start to install packages from the CD onto the HD. This may take a couple of hours, so disabling throttling may again be a good idea. Once complete, you have a bootable system, so if something goes wrong with the steps after package installation, you can boot from the HD, and complete them from there.