How to install SFS within WinUAE with a real HDD? (by Killergorilla)
I put together a guide of how to install SFS within WinUAE with a real HDD from my experiences at doing it the other day. Ooh it was fun.
Getting a Hard Drive:
Firstly you actually need a Hard Drive to use. It will eventually go inside your Amiga so make sure you make the correct choice whether to use a 3.5" or 2.5" one.
If you use a 3.5" one it'll be easier to plug into your PC and will be cheaper, but remember a1200's are only designed to be used with 2.5" Hard Drives so it won’t fit as standard. I’ve heard that plenty of people have fitted a 3.5" drive inside a standard a1200 but I’ve never tried it so will not be giving any information on this.
If you use a 2.5" one then you are likely to pay a little more for it, and you will need a 2.5" > 3.5" connector so that your PC’s IDE cable will fit it. (The hard drive will fit perfectly inside your a1200 with no trouble though)
Once you’ve got a hard drive, turn your PC off, connect it inside your PC and turn your PC on. The drive should be recognised by the computer straight away and the name of the drive should be displayed on the boot screen. If it isn’t you may need to fiddle with some settings in your BIOS.
Run WinUAE and setup a configuration similar to that of the Amiga the drive will go in to. Now click on the "Hard Drives" icon (might be a tab if you use an earlier version of WinUAE).
Click on Add Hard Drive…, this should make a small box appear. Click on the drop down box and select the hard drive you have just fitted inside the PC. Tick the read/write box. You have now added the HDD to WinUAE. Next up we add a directory as a virtual hard drive. Click on Add Directory, select the PC folder you want as an Amiga hard drive and set it’s name to Work and device number DH2. (This drive is used so we can use files we download on the PC side, instead of setting up the amiga to connect to the internet) Save the configuration!
Download the latest version of sfs from either of these two sites. Make sure you use the version for AmigaOS 3.x/m68k, NOT AmigaOS 4/PPC.
http://strohmayer.org/sfs/ AmigaOS 3.x/m68k
Then unpack it to your shared pc/amiga drive.
You will now need a workbench 3.0/3.1 Install disk (adf). Put the WB3.X install adf in DF0: (make sure you untick write-protected) and boot WinUAE. It should boot into workbench. Open the Install drive (it should be called something like Install3.1. From this drive open the HDTools drawer and click ONCE on the HDToolbox icon. Now right click and select Information from the Icon menu. This should bring up a new window.
In this new window, in the tooltypes section it should have a line saying: SCSI_DEVICE_NAME=scsi.device
Change this to: SCSI_DEVICE_NAME=uaehf.device (make sure you press return)
Now close the window by clicking OK and double click the HDToolbox icon. If all has gone correctly your new drive should appear in the box after it finishes scanning.
You can launch launch HDToolBox with the specific device as a command line parameter:
- Press WindowsKey + E to open a command window
- Type "DF0:HDTools/HDToolBox uaehf.device" then press enter
This also means that you do not need to remove write protection on the floppy.
Once you have HDToolBox up and running:
- Click on the drive name and then click Change Drive Type, a new window should appear.
- In this new window click on Define New, a new window should appear.
- Change the FileName: text box to ram:junk (this will stop the drive definitions being written back to the floppy)
- Click on Read Configuration
- Click on Continue
- Click Ok.
- Click Ok again.
- Click Continue in the next box.
Click on Save Changes to Drive. Next up we need to set the size of each partition. Click on Partition Drive Set your partitions up as you want them by moving the sliders up and down. I’d recommend you call each partition DH0, DH1, DH2 etc. I use two partitions, one for workbench, one for games!
Make sure that the Advanced Options Box is ticked for each partition.
Highlight your first partition and click on Add/Update. On the next screen click Add New Filesystem. The next box is where we add the new filesystem! (surprisingly)
Now in the next box you need to type the address of the file you unpacked from the sfs.lha into your shared amiga/pc directory. If you simply unpacked the lha to your Work dir then this should be Work:SmartFileSystem/L/smartfilesystem
Now click Ok and enter the following information:
(Version and Revision are only used to identify which version of SFS you are installing, at the time of writing the most recent version is 1.270)
Click Ok. Custom File System should now be listed. Click Ok yet again.
We have now added SmartFileSystem! We now need to make sure each partition we created uses the new file system. Click On Change… On the next screen click on the top box until it cycles through to SFS\00
Type the following information EXACTLY into the corresponding boxes
|Mask = 0x7ffffffe (There are 6 f’s)|
|MaxTransfer = 0x1fe00|
|Blocksize = 512|
Make sure you press Return after you enter each value. Now Click Ok This should return you to the partition screen. We now set Buffers = 100 (Again make sure to press Return)
You need to set SFS/00 and the values (Mask, MaxTransfer, Blocksize, Buffer) for each partition you have created.
Click Ok again to return to the main HDToolbox menu. Click Save Changes to Drive and click Continue
Now select Exit and then Continue to reboot. Wait for it to reboot. Workbench should now reappear with new icons saying DH0:NDOS, DH1:NDOS etc.
We now need to format the drives, DO NOT do this by simply using the workbench format command.
Open a command window by pressing WindowsKey+E In the following box type Work:SFSformat DRIVE DH0: NAME drivename (replace drivename with the name you want the drive to be labelled)
(The SFSformat command should be in the same dir you extracted the sfs.lha to, change the above command if you unpacked it to a different directory)
Press Return again, it should quick format the drive! You can now install workbench, or whatever you like on the drive!
Make sure you repeat the format procedure for each drive (DH1, DH2 etc.)
Guide by Killergorilla