Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating Amiga AFFS on linux

768 views
Skip to first unread message

Przemek Kramarczyk

unread,
Jun 21, 2009, 4:53:20 AM6/21/09
to
Hello

How to create and format amiga AFFS parttion under Linux. I want
prepare harddisk under linuxbox, and using this disk in real amiga.

Sorry for my poor english.

Billsey

unread,
Jun 21, 2009, 7:07:27 AM6/21/09
to
Przemek Kramarczyk wrote:

> Hello
>
> How to create and format amiga AFFS parttion under Linux. I want
> prepare harddisk under linuxbox, and using this disk in real amiga.

I'm not sure you CAN do this. I know that Linux is supposed to be able to
read Amiga partitions (I've never succeeded with this under Ubuntu Linux), I
don't know that it allows you to actually create and format an Amiga-
formatted partition using AFFS.

Can't you create it in the real Amiga? If you are able to read a hard drive
in the Amiga, you should be able to create the formatting there as well. No?

> Sorry for my poor english.

No need to apologize; it was actually quite intelligible. Even though it was
not GOOD English, it was intelligible English—which is more than I can say
for some people for whom English is SUPPOSED to be their first language.
_______________________________________________________________________________
http://www.lulu.com/billsey

Antti Pyykko

unread,
Jun 22, 2009, 2:44:13 PM6/22/09
to
On 2009-06-21, Przemek Kramarczyk <pkram...@gmail.com> wrote:
> How to create and format amiga AFFS parttion under Linux. I want
> prepare harddisk under linuxbox, and using this disk in real amiga.

Best option: use UAE.


If you don't want to use UAE, I guess you can use amiga-fdisk[1]
to partition the drive and mkaffs from affstools[2] to create the
file system.


[1] http://www.freiburg.linux.de/~stepan/bin/amiga-fdisk-0.04.tar.gz
[2] http://www.xs4all.nl/~zippel/affstools-0.1a.tar.gz

--
Microsoft Corp is prohibited from redistributing this work

Przemek Kramarczyk

unread,
Jun 25, 2009, 2:01:57 AM6/25/09
to
On 22 Cze, 20:44, Antti Pyykko <comp.sys.amiga.m...@molukki.com>
wrote:

> Best option: use UAE.

I have UAE 0.8.29 and E-UAE 0.8.29. how to prepare the drive with the
help of these programs?

Antti Pyykko

unread,
Jun 25, 2009, 1:46:35 PM6/25/09
to
On 2009-06-25, Przemek Kramarczyk <pkram...@gmail.com> wrote:
> I have UAE 0.8.29 and E-UAE 0.8.29. how to prepare the drive with the
> help of these programs?

Personally I use only E-UAE, so I'd recommend to use that.

The configuration.txt in E-UAE docs folder describes how to use
the hardfile2-option. I think you could point it to a harddisk
device, but I'm not 100% sure. Also if the drive doesn't have RDB
then you need to define the disk geometry too.

The syntax is:
hardfile2=<access>,<device>:<path>,<sectors>,<surfaces>,<reserved>,<blocksize>,<bootpri>,<handler>

and the text file gives this example:
hardfile2=rw,DH1:/home/evilrich/myhardfile,32,1,2,512,1,

In your case you should make the raw device read/writable for the
user and in the above example replace the hardfile path
(DH1:/home/evilrich/myhardfile) with your raw device (probably
/dev/sdX or /dev/hdX).

Also replace proper values for these:
<sectors> = the number of sectors per track
<surfaces> = the number of heads or surfaces on the disk (typically 1)
If you're lucky, these are printed on the hard disk cover.

Reserved value is always 2. Blocksize is always 512. Boot priority should
be low. Handler should be left empty.

Append the hardfile2-line to your $HOME/.uaerc and you should have
the hard disk available in E-UAE. Here's an example line if your
hard disk is /dev/sdc with 63 sectors per track and 15 surfaces:
hardfile2=rw,DH1:/dev/sdc,63,15,2,512,1,

Once you get E-UAE to recognize your harddisk, just boot from
Install 3.1 ADF and partiton disk and install Workbench as usual.


Note: I have never done this. I have used E-UAE only to
read data from my hard disk images. This is how I *think* it should
or could be done.

Good luck!

0 new messages