QEMU and Firewire devices - help!

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
mr_glide
Space Cadet
Posts: 5
Joined: Wed May 05, 2021 7:26 pm

QEMU and Firewire devices - help!

Post by mr_glide »

Hi all,

What lead me to Emaculation in the first place is a long, long road I've been on where I've repeatedly attempted to get access to an old external Lacie drive that I used back in the day with a PowerMac G4 running Mac OS 9.2.2. I would simply like to get a backup of what's on it before the drive itself fails. The last time I checked with actual G4 hardware a couple of months ago, it was functional, but a power supply failure has temporarily removed that option.

After no success with HFSExplorer and other such programs (I assume because it's PPC), I landed here, successfully managed to install and run Qemu-Win64-5.2-09-12-2020 , and Mac OS 9.2.2 is now working and usable. The problem is that the Lacie drive uses Firewire to connect, and after some research, I'm under the impression that QEMU doesn't support access to external devices connected that way.

If that is indeed the case, does anyone know what I should try next to access this drive? Is it even possible to do so within Windows? I'm a loss right now, so any help is appreciated.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU and Firewire devices - help!

Post by Cat_7 »

Hi,

Hi,

Both HFS explorer and HFV explorer only read HFS disks, not HFS+ disks
Is that power failure happing with your G4 or the firewire disk?
I assume you have a firewire connection on your Windows machine? If so, you might be able to find some disk imaging tool to create an image of the disk content and add that to the qemu command line.

Best,
Cat_7
mr_glide
Space Cadet
Posts: 5
Joined: Wed May 05, 2021 7:26 pm

Re: QEMU and Firewire devices - help!

Post by mr_glide »

Cat_7 wrote: Thu May 06, 2021 5:13 am Hi,

Hi,

Both HFS explorer and HFV explorer only read HFS disks, not HFS+ disks
Is that power failure happing with your G4 or the firewire disk?
I assume you have a firewire connection on your Windows machine? If so, you might be able to find some disk imaging tool to create an image of the disk content and add that to the qemu command line.

Best,
Cat_7
Thanks for the reply. I'll attempt to clarify (I'm in unfamiliar waters here)

1) On the HFS+ front, I tried a couple of options, but no luck there:
-Read-Only HFS+ drivers that come with Boot Camp (before MacDrive and Paragon were tried, because I know they don't play well)
-Paragon HFS+ (not detecting any drives to read)

2) The power failure is with the G4. The Lacie drive runs quite happily.

3) Yes, the Lacie is currently connected to my Windows machine. it registers that a device is connected is detected, but obviously, I just get a format prompt when clicking on the drive. What disk imaging tool would you recommend that might be suitable?
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: QEMU and Firewire devices - help!

Post by adespoton »

If you're running Windows 10 on the Windows machine, I'd recommend installing WSL and using the dd command. If you don't want the unfamiliar waters of WSL, if you install Git for Windows, it comes with Git Bash, which also has dd built-in.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU and Firewire devices - help!

Post by Cat_7 »

You might also try the graphical tool from https://hddguru.com/software/HDD-Raw-Copy-Tool/ which seems to use dd to copy disks.
If you download the portable version, no installation is needed. After startup it should show your disk. Select it as source disk, click Continue. At Target, double-click file FILE. Select a destination on your hard disk and give the image a name. Then click "Continue" and grab some coffee.

When finished, you can try to add the image as a new disk to the Qemu command line.

Best,
Cat_7
mr_glide
Space Cadet
Posts: 5
Joined: Wed May 05, 2021 7:26 pm

Re: QEMU and Firewire devices - help!

Post by mr_glide »

Thanks to both of you for the reply., I appreciate the time.

I gave the HDD Raw Copy tool a go, though both times I've tried so far, the operation ended up being aborted with these errors:

06/05/2021 20:32:26
06/05/2021 20:32:26 HDD Raw Copy Tool 1.10; http://hddguru.com
06/05/2021 20:32:26
06/05/2021 20:32:26 Source: [2] WDC WD25 00JB-00REA0 20.0 [250.05 GB]
06/05/2021 20:32:26 Target: [FILE] C:\Users\Carillon AC-1\Documents\MacOS_9-2_files\Lacie_raw_image.img
06/05/2021 20:32:33 Locking device...
06/05/2021 20:32:33 Copying...
06/05/2021 20:38:12 Read Error occurred at offset 67,043,328; LBA 130,944 (A device which does not exist was specified)
06/05/2021 20:38:12 Read Error occurred at offset 71,237,632; LBA 139,136 (The specified network resource or device is no longer available)
06/05/2021 20:38:12 Source was unplugged, aborting...
06/05/2021 20:38:12 Average speed: 0.2 MB/s
06/05/2021 20:38:12 Operation terminated at offset 71,237,632 LBA 139,136

After this, the drive is no longer present in My PC - does this not bode well for the health of the drive, do you think? I may give Git Bash a try today as well.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU and Firewire devices - help!

Post by Cat_7 »

Well, who knows. Perhaps the firewire drivers also play a role? Or some sleep setting?

It seems that inside the FW enclosure is a Western Digital WD2500JB disk with an IDE interface. If you have one, you might put it in a SATA enclosure.
As last option, you might take the disk out and connect it to your PC directly via IDE cable and try again.

Best,
Cat_7
Post Reply