05 July 2019, 03:19 | #1 |
Registered User
Join Date: Jul 2019
Location: San Diego / USA
Posts: 2
|
Creating blank HDFs in Ubuntu
Hi, not sure if this is the right forum but hoping someone here can help.
I am attempting to use amitools in order to create blank .hdf files. When I try creating an HDF using this command taken straight from the amitools docs: Code:
xdftool empty.hdf format Work size=10M ffs When I try to open it in ADF Opus, I get an error stating Code:
ReadRDSKblock : RDSK id not found Code:
xdfscan -v empty.hdf Code:
scan empty.hdf NDOS empty.hdf @000000:ERROR:invalid boot block dos type Code:
xdfscan -v new.hdf scan new.hdf ok new.hdf |
06 July 2019, 04:18 | #2 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,771
|
No idea what the issue is. An alternative would be to use dd, firstly to create the actual HDF, and then secondly to install a ripped bootblock, RDB, etc.
If there is a problem with this program I am willing to look at the source code if available. |
06 July 2019, 11:13 | #3 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
This is a bug. Did you install from git?
However... the following command works: Code:
xdftool empty.hdf create size=10M + format Work ffs rdbtool. |
07 July 2019, 01:09 | #4 | |
Registered User
Join Date: Jul 2019
Location: San Diego / USA
Posts: 2
|
Quote:
Thanks, that did the trick! Yes, I did install from git. As far as the partition error, that's just what ADF Opus gave when I tried to open the file. My understanding was, I shouldn't need do do any partitioning at all; sure enough, with the command you gave above, I am able to open, write, and read the generated .hdf. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I create HDFs? | Foebane | support.WinUAE | 5 | 04 February 2017 13:53 |
Problem with creating HDFs on 2.7 | amiga1200gamer | support.WinUAE | 3 | 17 January 2014 13:16 |
TinyLauncher working on FFS formatted .hdfs, but not on PFS .hdfs | bladecgn | support.WinUAE | 10 | 23 November 2013 05:32 |
Creating HDF File of 1GB in size in E-UAE on Ubuntu 8.10 | Paradroid90 | support.OtherUAE | 6 | 17 July 2009 21:17 |
3.5 hdfs? | samos3.9 | support.WinUAE | 4 | 08 October 2004 23:10 |
|
|