English Amiga Board


Go Back   English Amiga Board > Support > New to Emulation or Amiga scene

 
 
Thread Tools
Old 02 February 2008, 12:34   #1
AliasXZ
Guru meditator
 
AliasXZ's Avatar
 
Join Date: Jan 2008
Location: England, Huddersfield
Age: 39
Posts: 166
Send a message via MSN to AliasXZ
Linux mounting hdd

Hey guys

I just want to ask if I have got this right:

I have FFS support and Amiga partition types in my kernel.
My Amiga boots fine with the cf card, im trying to plug into my pc using an IDE to USB, Linux finds the device, but says the RDB in block 0 has a bad checkcum, unknown partition table?

So I cant mount it, could it be that this ide to usb adapter is being weird? I had heard that some work and some don't?

cheers for help

Last edited by AliasXZ; 02 February 2008 at 12:44.
AliasXZ is offline  
Old 02 February 2008, 21:30   #2
poohbear
Registered User
 
Join Date: Jan 2004
Location: Toronto / Canada
Posts: 65
I have not tried such a thing. However, you can probably find the location of the FFS filesystem manually and then setup the loopback driver at the right offset into the disk. Then you could mount the filesystem from the loopback driver, eliminating the use of the partition.
poohbear is offline  
Old 04 February 2008, 10:43   #3
AliasXZ
Guru meditator
 
AliasXZ's Avatar
 
Join Date: Jan 2008
Location: England, Huddersfield
Age: 39
Posts: 166
Send a message via MSN to AliasXZ
nah its no good

Hmmm.. I take it that noone else has really tried what im trying to do?
AliasXZ is offline  
Old 04 February 2008, 20:17   #4
OddbOd
Registered User
 
Join Date: Jul 2005
Location: Australia
Age: 46
Posts: 666
This all sounds very strange.

Since you asked, yes I have mounted FFS partitions under Linux however not from an RDB disk (this failed when I tried it) and this is where I suspect the problem lies. Before going any further I need to know two important things, the kernel version you are using and the exact error message that the FS driver is producing (i.e. what does dmesg | grep AFFS produce).
OddbOd is offline  
Old 04 February 2008, 21:05   #5
AliasXZ
Guru meditator
 
AliasXZ's Avatar
 
Join Date: Jan 2008
Location: England, Huddersfield
Age: 39
Posts: 166
Send a message via MSN to AliasXZ
ok:

The kernel im using is 2.6.22-r9, i cant begin to mount the device because it says:

"sdc: RDB in block 0 has bad checksum"
unknown partition table"

So it doesnt see the 2 partitions that the cf contains.

the output of dmesg | grep affs is nothing, which, i think is probably because it just doesn't recognise any partitions to begin with.

cheers for replies
AliasXZ is offline  
Old 04 February 2008, 21:24   #6
OddbOd
Registered User
 
Join Date: Jul 2005
Location: Australia
Age: 46
Posts: 666
OK, when you configured the kernel did you also enable "Amiga partition table support" ?
OddbOd is offline  
Old 04 February 2008, 22:13   #7
AliasXZ
Guru meditator
 
AliasXZ's Avatar
 
Join Date: Jan 2008
Location: England, Huddersfield
Age: 39
Posts: 166
Send a message via MSN to AliasXZ
yeah i did and not as a module
AliasXZ is offline  
Old 05 February 2008, 18:07   #8
OddbOd
Registered User
 
Join Date: Jul 2005
Location: Australia
Age: 46
Posts: 666
Oops of course you did, it's the partition identifier that's generating the error message, I should have read the source more carefully before posting that last question, sorry about that.

I have a solution for you but unfortunately not an explanation as to why it works, my suspicion is that the prep tool you used to partition the card has written an RDB that the Amiga can understand but the Linux partition identifier code cannot.

To get it working correctly zero fill the entire card (I used WinHex but dd should work just as well) then use amiga-fdisk to partition the card. Note that amiga-fdisk is marked unstable by most distros probably because when you first run it the program checks the specified device for a valid RDB and if it doesn't find one it writes an RDSK block without prompting the user, so be certain to specify the right device node. Once the partitions are setup put the card back in your Amiga, format it and you should be good to go.
OddbOd is offline  
Old 06 February 2008, 23:36   #9
AliasXZ
Guru meditator
 
AliasXZ's Avatar
 
Join Date: Jan 2008
Location: England, Huddersfield
Age: 39
Posts: 166
Send a message via MSN to AliasXZ
cheers for reply

ill have a play around and see what I can do
AliasXZ is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting .hdf files from Linux side? How? Hercules support.OtherUAE 5 13 January 2020 10:48
Porting to Tiny Core Linux and Puppy Linux lorenzos support.FS-UAE 1 05 January 2013 16:13
Linux E-UAE HDD access? mips support.OtherUAE 2 09 January 2011 11:42
Mounting Amiga HDD Win (winuae) or OSX Wasagi support.Hardware 11 18 June 2010 19:41
'clone' virtual HDD in winuae to real Amiga HDD? gizmomelb support.Other 1 11 December 2009 09:13

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:02.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.31148 seconds with 13 queries