02 February 2008, 12:34 | #1 |
Guru meditator
|
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. |
02 February 2008, 21:30 | #2 |
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.
|
04 February 2008, 10:43 | #3 |
Guru meditator
|
nah its no good
Hmmm.. I take it that noone else has really tried what im trying to do? |
04 February 2008, 20:17 | #4 |
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). |
04 February 2008, 21:05 | #5 |
Guru meditator
|
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 |
04 February 2008, 21:24 | #6 |
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" ?
|
04 February 2008, 22:13 | #7 |
Guru meditator
|
yeah i did and not as a module
|
05 February 2008, 18:07 | #8 |
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. |
06 February 2008, 23:36 | #9 |
Guru meditator
|
cheers for reply
ill have a play around and see what I can do |
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 |
|
|