[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mounting AFFS R/W?



Gene Heskett sends Greetings to Alan ;

>Hi,

>I've got my machine working a little better, though the disk is still
>showing errors. In any case, I'm trying to R/W mount an AFFS formated
>removable drive under Debian so I can put the install files on it, but
>it refuses to mount.  I have other HD partitions for AmigaDOS that I can
>mount just fine. Both R/W and R/O, but since I have heard of potential
>issues with R/W, I don't want to try it on these partitions. They are
>all formated in the same way with the DOS\1 format. The mount for the
>removable, even R/O, always fails with this message:

>mount -t affs -o ro /dev/sdc /mnt
>AFFS: Can't find a valid root block on device 08:20
>mount: wrong fs type, bad option, bad superblock on /dev/sdc,
>	or too many file systems

>Any ideas what this means and how to fix it?

This may not be the problem at all, but in most installs, /mnt is where
you put other devices and you can have quite a lengthy list, such as
/mnt/floppy, /mnt/hdc3dos, /mnt/cdrom etc.  Each of these points must
have been made with a mkdir command before they are used, as does the
/mnt itself, therefore one should have a '/mnt/amigaffs' mountpoint, and
use syntax like this

mount -t affs -o ro /dev/sdc /mnt/amigaffs

And if the disk is a complete disk, with no partition table installed in
the rdb area of the disk, it may refuse to mount.  I have one scsi
device, formatted ext2, that I've not fdisk'd, and although it mounts
and functions in r/w just fine, there is a message in the logs at mount
time about its missing partition table.  Other file systems may be even
pickier.

If you have the disk 'partitioned' and the filesystem installed on it by
using either hdtoolbox or rdprepx, then you probably should change the
/dev/sdc to /dev/sdc4 or whatever partition number on the disk you're
mounting.  Even if its all one partition, it would be a good idea to use
one of the amiga partitioning tools, and hdtoolbox works for this
although I prefer rdprepx myself, to make a whole disk partition and
install the ffs on it.  I don't think linux will use the ffs thats
there, but it probably does need the rest of the partition info stored
in the rdb area, the first 2 or 3 tracks of the disk in order to
properly mount the rest of the disk as a partition from that data.

As another poster commented, you might have to use the
/dev/sdc'address_on_scsi_buss' device since zips are fond of 4, and
can't be set at any lower device number on the scsi bus, ISTR the other
option being address 5.

This, as I said, might be all hogwash, but it makes sense to give it a
try.

Cheers, Gene
--
  Gene Heskett, CET, UHK       |Amiga A2k Zeus040, Linux @ 400mhz
	email gene underscore heskett at iolinc dot net
ISP's please take note: My spam control policy is explicit!
#Any Class C address# involved in spamming me is added to my killfile
never to be seen again.  Message will be summarily deleted without dl.
This messages reply content, but not any previously quoted material, is
© 2000 by Gene Heskett, all rights reserved.
--



Reply to: