Page 1 of 1

HDD Image as Secondary Master

Posted: 7. Apr 2009, 22:12
by renatoriolino
Hi.

I need to mount a VDI as secondary master. I know that secondary master is reserved for the virtual CD/DVD, but I'm running on primary master a real HDD with a closed proprietary system that "generate" some data output ONLY ON SECONDARY MASTER DISK (/dev/hdc on linux).

I tried to disable CD/DVD and manually edit the VB xml file forcing it to use secondary master but it didn't work.

Is there any hidden setting that allows me to remap CD/DVD to secondary slave and use secondary master as an HDD?

Thanks

Re: HDD Image as Secondary Master

Posted: 7. Apr 2009, 22:53
by Sasquatch
Only option to get that working, is to modify the source code yourself, compile it and run that. But you might not be up to that. I find it rediculous for a propriatary application to force it's users that kind of setup. Go complain at them that you have no authority or means to change the system setup. For Linux, hard drives aren't labed on where they are attached to, but in the order they are detected. So the Secondary Slave would be /dev/hdc. However, current releases no longer use /dev/hd* names, they use /dev/sd*.

Re: HDD Image as Secondary Master

Posted: 8. Apr 2009, 00:24
by renatoriolino
Sasquatch wrote:Only option to get that working, is to modify the source code yourself, compile it and run that. But you might not be up to that. I find it rediculous for a propriatary application to force it's users that kind of setup. Go complain at them that you have no authority or means to change the system setup. For Linux, hard drives aren't labed on where they are attached to, but in the order they are detected. So the Secondary Slave would be /dev/hdc. However, current releases no longer use /dev/hd* names, they use /dev/sd*.
Unfortunately it's not an option since the company who made the application doesn't exist anymore. And it still uses /dev/hd* names because it still runs kernel 2.2 series.

I know how to code in C/C++ but as I'm not familiar with the project development I think it will take more time than I'd like to solve this.

I'll try to mount the system root partition using my Linux and swap the major/minor numbers from /dev/hdc* and /dev/hdd*. Since it's using kernel 2.2 I guess it doesn't have udev or similar to create those files on the fly.

Anyway, thanks for helping out.

[]'s

Renato