RDB compatibility query
  • Caterpillar
    Caterpillar
    ncafferkey
    Posts: 38 from 2006/1/6
    Hi,

    I recently came across an apparent incompatibility in the handling of RDB disks between MorphOS and OS4. As I'm not sure if this is a bug (in one or the other OS) or the result of a divergence in standards, I thought I should share my experience.

    I used HDConfig on MorphOS 3.7 to create a partition in the unused space at the end of my SAM440's system disk. The disk was attached to my MorphOS machine (Peg-II) through a SATA to USB converter. When I attempted to boot the SAM from this disk afterwards, it couldn't find the SLB (second-level bootloader), so HDConfig had apparently clobbered it. Would it be possible for HDConfig to preserve the SLB information in the RDB, or is OS4 embedding the SLB in a hacky or non-standard way that the devs don't want to support?

    A related problem was that OS4's Media Toolbox reported this RDB error: "rdb_RDBBlocksHi is too low: 2063. It should be 1529977020." Is it right?

    In retrospect I realise what I did was probably silly, but I still think it's an edge case worth mentioning. I also realise that if there *are* any bugs here, they may have been fixed in more recent versions.

    BTW, when I clicked on the empty space and selected to create one partition with the ~129GB available, I wasn't initially warned that the partition was too big for SFS (which was chosen by default IIRC). The size warning tooltip only appeared after I selected another FS for the partition and then switched back to SFS.
  • »05.01.21 - 01:08
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    NewSense
    Posts: 1041 from 2012/11/10
    From: Manchester, UK/GB
    Quote:

    ncafferkey wrote: I used HDConfig on MorphOS 3.7 to create a partition in the unused space at the end of my SAM440's system disk.

    Are you saying you are booting MorphOS on your Sam440 system? I thought the Sam440 was unsupported on MorphOS that's all! :-o
    Quote:

    ncafferkey wrote: The disk was attached to my MorphOS machine (Peg-II) through a SATA to USB converter.

    I take it you are aware that the OS4/68k SFS, certainly v2, is incompatible with MorphOS's version of SFS AFAIK! :-?

    Quote:

    ncafferkey wrote: When I attempted to boot the SAM from this disk afterwards, it couldn't find the SLB (second-level bootloader), so HDConfig had apparently clobbered it. Would it be possible for HDConfig to preserve the SLB information in the RDB, or is OS4 embedding the SLB in a hacky or non-standard way that the devs don't want to support?

    I think this is probably an issue with using the MorphOS specific version of SFS instead of the OS4/68k version. I seem to remember there are major differences with the 2 filesystems - same name, but very confusing that they are now so very much different from one another - IIRC.
    Quote:

    ncafferkey wrote: A related problem was that OS4's Media Toolbox reported this RDB error: "rdb_RDBBlocksHi is too low: 2063. It should be 1529977020." Is it right?

    I'm not sure frankly, as I don't use the 68k or OS4 SFS filesystems currently, only the MorphOS SFS version. Though maybe someone else in the forum will be able to offer you a more complete response on this topic to you.
    Quote:

    ncafferkey wrote: In retrospect I realise what I did was probably silly, but I still think it's an edge case worth mentioning. I also realise that if there *are* any bugs here, they may have been fixed in more recent versions.

    As I said, I think it's incompatibilities between the 2 systems, as you don't see on Aminet that SFS is shown as compatible (no butterfly logo) next to the 68k/OS4 versions of SFS, so that is definitely a clue. I can't currently find the link that mentions the 2 versions are incompatible, but I think that is where the issue lies, sadly for you. :-(
    Quote:

    ncafferkey wrote: BTW, when I clicked on the empty space and selected to create one partition with the ~129GB available, I wasn't initially warned that the partition was too big for SFS (which was chosen by default IIRC). The size warning tooltip only appeared after I selected another FS for the partition and then switched back to SFS.

    Usually as you try to save a partition on a HDD that is too large to be formatted by SFS on MorphOS you get a warning, but initial sizing does not generate a warning - IIRC.
    MacMini 1.5GHz,10,2,64MB VRAM,1GB,Airport, Bluetooth,A1016 Keyboard,T-RB22 Mouse,DVD-RW-DL+CD-RW,Iomega MiniMax,Belkin 6 port 3 x Firewire/3 x, USB2, MorphOS 3.12, Mac OSX 10.4/10.5, A1138+A1139 PwrBk MOS v3.12,Model 5,8/5,9, & PowerMac G5 2.3GHz(DP)
  • »05.01.21 - 02:47
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 11294 from 2003/5/22
    From: Germany
    > Are you saying you are booting MorphOS on your Sam440 system?

    As I understand it, he removed the internal SATA HDD from his Sam440, put it in a USB enclosure, connected the enclosure to a USB port of his Pegasos II, booted MorphOS from the internal drive, made the described changes to the external HDD from within MorphOS HDConfig, removed the enclosure from the Pegasos II, removed the HDD from the enclosure, put the HDD into his Sam440 and attempted to boot OS4 from it, which failed with an RDB error (but which, in theory, should have worked as he just created an additional partition in the unused space without touching the existing OS4 ones).
  • »05.01.21 - 12:27
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    sailor
    Posts: 169 from 2019/5/9
    From: Central Bohemi...
    Sorry, I don't know how to solve it. Best way is backup and made partitioning from scratch.

    In any case, it is a good idea to use for partitioning only disk tools from one operation system on single disk (or better one tool only).
    In the past, I had problems even with mixing tools from Linux and MacOSX on one HDD.
    Also on Pegasos 2 mixing HDconfig and MediaToolbox produces some warnings.
    AmigaOS: Pegasos II, Sam440ep-flex, Micro A1-C, AmigaOneX1000
    MorphOS: Pegasos II, Powerbook G4, iMac G5, Powermac G5 Quad
  • »05.01.21 - 14:25
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 616 from 2007/10/23
    From: Gelsenkirchen,...
    @ncafferkey
    Maybe some undefined behavior of RDB. How about a bug report?
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17"
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.15
  • »05.01.21 - 15:39
    Profile