Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Format an external HD with Mac OSX Extended (NOT journaled)?

May 6, 2012 5:02PM PDT

I've had a bad run of luck this year, dropping my powerbook g4, and mucking up my harddrives. I basically want to back up my entire OS as a .dmg to an external drive, and when I need to, restore from it. Since it's an old Powerbook, it's running with the PPC chip, and there is no support for booting via USB. I know the work-around (go into Open Firmware, find the USB device, find the boot file in the connected media, command it to boot from that file location), but in order to do this, I need an external HD that I can format in Mac OSX Extended.

When I use Disk Utility, it automatically formats the device (in this case, a WD Elements 1 Tb drive) as OSX Extended (journaled). The partition it makes is not journaled, but when I look at the main device, it's always journaled.


The problem here, as I understand it, is that the Open Firmware can't see the file tree on the MOSXE(J) format. That prevents finding the boot file, which prevents booting from that media via USB.

I've done it before, with someone else's external, during a previous "rescue", but my WD external, or perhaps Disk Utility doesn't want to cooperate.

Does anyone know why, and have a workaround for it?

Discussion is locked

- Collapse -
Answer
The problem
May 6, 2012 9:49PM PDT

The problem is more likely that only the very last PPC models to come out supported booting via USB at all, and then it was only if you went quite a ways out of your way.

I'm highly skeptical that it has anything to do with the journaling. The filesystem itself is the same, all journaling is, is basically the filesystem writes down what it plans to do, then does it. It's a purely optional function, and in fact you can turn it on/off in OS X on a whim with Disk Utility. So if for some reason you were trying to use a journaled filesystem on an older version of Mac OS X that didn't support that, it should still be able to access the drive. You just wouldn't have the added fault tolerance of the journaling. All the journaling really is, after all, is a special log file on the drive where the commands the filesystem is going to carry out are written down. That way if the process is interrupted, it knows what it still needs to do. When you look at what it actually is, it's really far less impressive than most make it out to be in their minds.

So the more likely scenario here seems to be that yours is not a model that can do booting off of USB.

- Collapse -
Does size matter?
May 7, 2012 1:38AM PDT

I've seen other systems stop booting as hard drive sizes exploded again. We saw HDD booting up to 1TB and then folk complained their systems would not boot 3TB drives no matter what they tried.

I wonder.
Bob

- Collapse -
Also a good point
May 7, 2012 6:54AM PDT

Also a good point. Afraid the PPC models are largely before my time as a repair tech, so aside from a few MLB replacements on some 05 iBook G4s, going to have to defer to others on this one.

- Collapse -
Could Firewire be the "correct" answer?
May 7, 2012 7:12AM PDT
- Collapse -
well...
May 7, 2012 7:38PM PDT

I understand what you mean here, and I get what journaling does, but the issue you raise is a bit beside the point. Your correct in that my model can't be booted via USB, unless you want to mess with Open Firmware.

I may not have elucidated my point, so I'll explain what I've discovered I can do...

1) you need a .dmg, or an actual installed OS on another drive, connected via USB,
2) Start your computer (containing the drive you wish to restore to) in Open Firmware [command-option-o-f]
3) when you see the open firmware screen, find your USB port, using the device list command [dev ls]. In my case its:

/pci@f2000000/usb@1b

4) if the external drive you have connected to that USB port is drive that is formatted so that Open Firmware can read the file tree, you should see [Disk@1]. So I get, if Open Firmware sees the HD device:

/pci@f2000000/usb@1/Disk@1

From there, I just make an alias for the above address (other sources say to call it [ud]):

devalias ud /pci@f2000000/usb@1/disk@1

Then I write a boot command, with a number addressing the partition... in my case its 1s3, or the third partition file on disk 1 (the device):

boot ud:3,\System\Library\CoreServices\BootX

This is how you boot a PPC like mine off of USB. I've done this before, so I know it can be done. I question whether the Mac OSX Extended (journaled) format on the external drive I am booting from is the culprit that prevents me from performing the above operation, because of what I understand about Open Firmware.

My understanding is that Open Firmware is the most pared down shell you can reach on your Mac. Ostensibly, it's for the CPU to know where all it's computer components are. Unlike Single User Mode, you can't even get a command list by typing [help], or anything else for that matter. I read somewhere that it is or resembles the programming language Forth. I can't be sure, because these are things i read elsewhere on the web, so I am unwilling to commit to the truth of that.
Anyhow, my understanding is that journaling is just complicated enough of an extra bit of format code, that it can obscure the Open Firmware's attempts to "see" the device. I don't know if this is necessarily true, as you suggest it may not be, but I've heard it surmised otherwise.

I suppose I could test by formatting a usb Flash stick in MOSXE(j), and see if Open Firmware has trouble with that. I know it can read the flash stick fine in nonjournaled MOSXE. Unfortunately, backup to flash stick failed. I've looked around, and have read that it's because a flash stick is too "slow" a form of memory storage for a mac attempting the boot process.
I'll attempt that soon, and get back to you all...

what R. Proffitt says below is intriguing to me, because I am using a 1TB drive which Open Firmware is failing to detect, and when I succeeded at the USB external boot, it was using an actual 160GB mac formatted desktop drive in an swappable drive chassis. He suggested it was a formatting problem, but perhaps it's the drive size, like some information technology equivalent of mismatched gear ratios?

I'm using an older drive with an earlier OSX for now, but I'd like to fix this issue at some point, so I can put the newer, larger drive back into my laptop. I'd also like to see if I can solve this problem with what I have, rather than use the Open Wallet command.

- Collapse -
correction
May 7, 2012 7:42PM PDT

R. Proffitt doesn't suggest it was a formatting problem. The friend whose swappable drive I was using did. editing error.

- Collapse -
All I can add is a repeat.
May 8, 2012 6:28AM PDT

From my memory, the only bootable thing was firewire back then.

Why not go with what was the standard back then?
Bob

- Collapse -
(NT) I may just need to do that.
May 8, 2012 10:18AM PDT
- Collapse -
Are you sure?
May 8, 2012 6:25AM PDT

Are you sure? Really sure that your specific model can boot from USB devices? Just because the open firmware is registering that something is connected to the USB port doesn't mean you'll be able to boot from it. It really was only the last PPC refreshes that could do this, and even then it was generally more of a PITA than it was worth.

Which is kind of the next point I would make. Even assuming you could get this to work, is it really worth the amount of effort you have to go to? It shouldn't be that difficult to find a FW400 enclosure that is decent in both quality and price. Then you simply hold down the option key, pick the partition you want, and off you go.

I'm very skeptical this is a filesystem issue, and far more willing to believe you're just using an older refresh that doesn't support USB booting at all. So unless when you say you've done it before, you mean with that exact system, I'm likely going to just stick with my supposition that yours is just not a model that's capable of this. And at this point, I would probably find it a little difficult to believe even if you did assert that you've done it with this specific system. If that were true, you probably would have mentioned it right away, or at least in the second go around posting. By this point, I'd be inclined to think you'd just be trying to tell me what I wanted to hear to help you follow this particular rabbit hole which will lead nowhere.

- Collapse -
Yes
May 8, 2012 12:29PM PDT

Yes I'm really, really and for true certain I can boot my PPC (g4 17" powerbook 1.33g aluminum) from an external drive. I really have done it before, with this very machine I'm typing on (which I opened all by myself, and swapped an older, lower gig drive back into).
Yes, I'm really interested in going to that kind of effort. I've done it before, and I'll probably go to that effort again. No, I'm not interested in dropping $100+ dollars on more gear if there is a solution I can employ with someone elses advice and my time and wits. That's my prerogative.

Now, with kid gloves off, I have to say: Jimmy, you are wrong. You were wrong when you posted at first about your opinion that I can't external boot my PPC, and, metaconversationally, you are wrong to believe I posted to satisfy your skepticism.

I posted so that people who have a constructive answer, and are inclined to reply, might help me out. You don't have that answer. That's all.