How to create HDF with morphos?
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    cip060
    Posts: 141 from 2010/7/30
    How can I create an hdf file with morphos?
    What is the giga limit for an HDF file?
    Thank you
  • »09.12.23 - 12:56
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    cip060
    Posts: 141 from 2010/7/30
    I don't care about 100 mega, I need the maximum I can get and what fat 32 4 gig supports
    at this point I create them with winuae
  • »09.12.23 - 17:09
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2078 from 2003/2/24
    From: po-RNO
    You can create empty files of any size with the FileWrite command in MorphOS. Check the ADF creating example on the linked page, HDFs work in the same way, just calculate the wanted size in bytes there. Remember the filesystem limits for the max file size.

    After creating an empty file, you can add RDB on it, partition it, and format it either directly in MorphOS (FileImageCtrl/HDConfig/Format) or under the emulation with Amiga tools (HDToolbox/Format). Or do some steps under MorphOS and rest on Amiga etc...

    Doing everything in MorphOS goes basically like this (creating a 200MB HDF with FFS, ready to use):

    1) Calculate the size: Eval 1024*1024*200
    2) Create an empty file: FileWrite Empty200MB.hdf 209715200
    3) Launch Tools/FileImageCtrl and drag&drop the empty file on its window
    4) Launch Tools/HDConfig
    5) Click the button next to the FILE IMAGE device which shows the size of the file you just created, and select RDB
    6) Accept and click the Save button on the red area
    7) Click on the area that shows free space, select how many partitions you want
    8) Click on the newly created partition and change its Filesystem to FFS and change the Name to something else than DH0 (FI0 for example)
    9) Accept and save with the red area button again
    10) Launch Tools/Format or "Utilities/Format Disk..." Ambient menu, select your new image file, give it a Label, and Quick Format it


    [ Edited by jPV 10.12.2023 - 14:05 ]
  • »10.12.23 - 11:07
    Profile Visit Website