kategoria: A2000/A3000
[#1] [janus] mountowanie partycji PC
Zrobiłem sobie partycję na amigowym dysku dla bridge-boarda A2286, według tego poradnika - rozmiar 200MB, DOSType 0x4d534800 (CrossDOSFilesystem).

Wszystko pięknie działa pod "PCtem" tylko jak to teraz zamontować pod Amigą, żeby łatwo przenosić dane? Myślałem, że jak wybiorę filesystem CrossDOS, to partycja automatycznie się pojawi. Na blacie mam jednak tylko DOSC:NODOS.

Co śmieszniejsze, jak robiłem to za którymś razem, w celach testowych jeszcze, to udało mi się zobaczyć poprawnie zamontowaną partycję PC na blacie, wraz z plikami, tylko za cholerę nie pamiętam, co tam wtedy ustawiłem, że to działało

Ktoś z tym walczył może?



Ostatnia aktualizacja: 18.07.2024 20:53:54 przez _arti
[#2] Re: [janus] mountowanie partycji PC

@_arti, post #1

Pewnie w mountliście trzeba podać startcyl i endcyl bo chyba ten sposób nie zapisuje mbr na dysku a tam zwykle te filesystemy znajdują te dane.
[#3] Re: [janus] mountowanie partycji PC

@_arti, post #1

pomysł
spr to:
https://aminet.net/package/disk/misc/giggledisk

i dostosuj do tego co ci pasuje
:)
[#4] Re: [janus] mountowanie partycji PC

@ppill, post #2

To sprawdziłem - nie bangla. Spróbuje jutro z GiggleDiskiem.
[#5] Re: [janus] mountowanie partycji PC

@_arti, post #4

Z aminetu. Wklejam całość ;)
This file describes the steps neccessary to access a JanusTools hard disk
partition using CrossDos.  You may also be able to use other MS-DOS file
systems, such as MessyFileSystem.

1.  Set up the partition you wish to use with the Bridgeboard or PC-Task
    on your Amiga hard drive according to the JanusTools documentation
    *except* you must set the DOSType for the new partition to 0x4D534400
    *not* 0x4D534800 as stated in the JanusTools documentation.  CrossDos
    will not work with the 0x4D534800 DOSType, but JanusTools will work with
    the 0x4D534400 DOSType.  This should be possible to do with HDTools
    or the utilities that came with your Amiga hard drive.

2.  Obtain PCDISK91B (from Aminet).  In it is a utility called DISKINFO.
    Run DISKINFO to obtain the Mountlist parameters for the JanusTools
    drive.  It is best to redirect this to a file so that it can be imported
    into your Mountlist.  I use something like: DISKINFO DH2: >DH2.PARMS.

3.  Add this entry (DH2.PARMS in my case) to the end of your Mountlist.
    The Mountlist usually resides in SYS:DEVS/Mountlist  (where SYS: is the
    boot partition and usually a hard drive, but could be a floppy).

4. Modify 5 of the parameters in the Mountlist entry that you just added for
   the JanusTools partition.  Change the name of the entry.  If it is DHx:,
   you can change it to something like IBMC:, IBMD:, or whatever.
   Change the DosType parameter to 0x4D534400 (but, it should already be set).
   Now the entries for LowCyl and HighCyl should be modified according to
   the formulas (taken from PCDISK91B):

   NewPCLowCyl = (AmigaLowCyl * Surfaces) + 1
   NewHighCyl  = (AmigaHighCyl + 1) * Surfaces) - 1

   where AmigaLowCyl is the LowCyl parameter of the unmodified Mountlist entry
         AmigaHighCyl is the HighCyl parmater of the unmodified Mountlist entry
         Surfaces is the Surfaces parameter of the unmodified Mountlist entry

   Replace LowCyl and HighCyl with these values and replace Surfaces with 1.

5. Add a parameter entry (or change any existing one for FileSystem):
   FileSystem = L:CrossDosFileSystem (or L:MessyFileSystem)

6. If you plan to use this partition with any of the various Bridgeboards,
   you will need to edit the ABOOT.CTRL file which is usually in the PC/SYSTEM
   drawer.  Put in this file the name of your PC partition (i.e IBMC:, IBMD:
   etc.)  Be sure you have the ":", but do not put a carraige return (newline)
   at the end.  Thus, you should have one line only in the file.

7. Now, when you boot your Bridgeboard, you will have to go through the usual
   steps to initialize and format the new partition.  Please see you MS-DOS
   documentation if you are not familiar with this.

8. If you have done everything correctly, you can now Mount this entry (add
   a statement in your startup-sequence such as MOUNT IBMC:) prior to
   invoking the Binddrivers command to boot the Bridgeboard and when you
   do a DIR on it from AmigaDOS, you should see the PC files.  You should
   also be able to add this entry as a primary (C:) or secondary (D:) hard
   disk entry in the PC-Task startup menu and access it when in PC-Task.
   If you have problems or are reading garbage, go back and carefully
   check the parameters.

As an example, I have an IBM 728 MB IDE drive partitioned into
DH0: (200 MB), DH1: (200 MB), DH2: (200 MB) and DH3: (99 MB).  I used
DH2: as my PC DOS partition.

My DH2 entry (from DISKINFO) looks like this:

DH2: Device          = ExpSys.device
     Unit            = 80
     BlockSize       = 512
     Surfaces        = 16
     BlocksPerTrack  = 63
     Reserved        = 2
     PreAlloc        = 0
     Interleave      = 0
     LowCyl          = 818
     HighCyl         = 1224
     Buffers         = 32
     BufMemType      = 1
     MaxTransfer     = 0x7FFFFFFF
     Mask            = 0x00FFFFFE
     BootPri         = 0
     DosType         = 0x444F5301
#

My JanusTools PCE entry (modified from DISKINFO) looks like this:

PCE: Device          = ExpSys.device            ;<- changed
     FileSystem      = L:CrossDosFileSystem     ;<- added
     Unit            = 80
     BlockSize       = 512
     Surfaces        = 1                        ; <- changed
     BlocksPerTrack  = 63
     Reserved        = 2
     PreAlloc        = 0
     Interleave      = 0
     LowCyl          = 13089                    ; <- changed
     HighCyl         = 19599                    ; <- changed
     Buffers         = 32
     BufMemType      = 1
     MaxTransfer     = 0x7FFFFFFF
     Mask            = 0x00FFFFFE
     BootPri         = 0
     DosType         = 0x4D534400               ; <- changed
#

My ABOOT.CTRL has PCE: and I can access PCE: from the Bridgeboard, if I
disable my PC IDE drive via the CMOS settings, or I can access it from
PC-Task, or I can access it via AmigaDOS (CrossDOS).

Jordan Krim
krim@vnet.ibm.com
krim@azstarnet.com
2
[#6] Re: [janus] mountowanie partycji PC

@_arti, post #1

Ja używałem Mountdos który sam rozpoznawał partycje Fat16 do 2GB, do tego osobna łatka na długie nazwy z Win95, i opcjonalnie łatka by widział 4x IDE.
Nie pamiętam nazw tych łatek. Ale nic nie grzebałem w żadnych HDtool.

Miałem też programik do czytania Fat32 (tylko odczyt) ale nie zachowywał sie stabilnie.
Później nie śledziłem rozwoju.
[#7] Re: [janus] mountowanie partycji PC

@ZorrO, post #6

Jak MountDos, to obsługę długich nazw włącza się przez dodatnie w tooltypes zmiennej FAT95.
FAT95 trzeba mieć zainstalowane na dysku.
[#8] Re: [janus] mountowanie partycji PC

@Norbert, post #7

Ja pamiętam, że miałem pod systemem Amigi nawet pliki z plikopartycji widoczne ale też coś padło.
[#9] Re: [janus] mountowanie partycji PC

@ppill, post #5

To mi pod WinUAE zadziałało! Teraz walczę by zadziałało na prawdziwej Amidze. Póki co, po "dir PCDH0:" wyskakuje błąd, że "dysk nie znaleziony", oczywiście po zamontowaniu (Mount PCHD0:). Ale jest krok do przodu!
2
[#10] Re: [janus] mountowanie partycji PC

@_arti, post #9

Zobacz jaką geometrię masz pod WinUAE. Czyli Cylinders/Heads/Sectors. Trzeba się wstrzelić w cylinder gdzie faktycznie zaczyna się ta partycja DOS, bo jest przesunięta względem tej Amigowej o "jeden" przez MBR. Tylko jeżeli fdisk zgaduje geometrię inaczej niz HDToolBox cylindry się rozchodzą i trzeba w mountliście podać taką by się "wstrzelić".

Zapodaj co wyświetla fdisk -h albo fdisk --help. W linuksowym można podać C/H/S przy starcie ale w starym dosowym pewnie nie ma takiej opcji. Ewentualnie FDISK /INFO albo /STATUS.

Jakoś się trzeba dowiedzieć co dla tego fdiska oznacza jeden cylinder(ile ma blocków). Wtedy można dopasaować mountlistę. Te formułki(jest jeszcze druga w readme od PCDISK) nie zawsze zadziałąją.

Ostatnia aktualizacja: 19.07.2024 17:32:27 przez ppill
1
[#11] Re: [janus] mountowanie partycji PC

@_arti, post #9

A czy zworkę master/slave masz jak trzeba?
[#12] Re: [janus] mountowanie partycji PC

@ZorrO, post #11

Ma. Sprzętowo wszystko jest OK.
[#13] Re: [janus] mountowanie partycji PC

@ppill, post #12

Sprawdziłem na szybko i partycje fat zawszy mają 63 sektory czy po amigowemu blocks per track czyli formułka zawsze powinna działać.
Na stronie www.PPA.pl, podobnie jak na wielu innych stronach internetowych, wykorzystywane są tzw. cookies (ciasteczka). Służą ona m.in. do tego, aby zalogować się na swoje konto, czy brać udział w ankietach. Ze względu na nowe regulacje prawne jesteśmy zobowiązani do poinformowania Cię o tym w wyraźniejszy niż dotychczas sposób. Dalsze korzystanie z naszej strony bez zmiany ustawień przeglądarki internetowej będzie oznaczać, że zgadzasz się na ich wykorzystywanie.
OK, rozumiem