Discussion:
running Mac OS on a movable harddisk?
(too old to reply)
Zhang Weiwu
2009-08-31 04:00:26 UTC
Permalink
Hello.

I currently run OpenSUSE on my iBook G4 / powerpc. Most of my daily work
is done on OpenSuSE. I also want to occassionally run Mac OS X 10.4
because some computer games only run on Mac OS, also because I want to
use a few weekend to learn objective-C GUI programming.

I wonder if it is possible to install Mac OS X on a removable USB
harddisk (or, if the G4 box only support USB 1.x, a removable IEEE 1394
harddisk), and load the Mac OS X, perhaps using yaboot? (even better
would be directly load it but I am not sure if G4 firmware supports this).

Thanks.
Tinkerer Atlarge
2009-09-01 02:28:13 UTC
Permalink
Post by Zhang Weiwu
Hello.
I currently run OpenSUSE on my iBook G4 / powerpc. Most of my daily work
is done on OpenSuSE. I also want to occassionally run Mac OS X 10.4
because some computer games only run on Mac OS, also because I want to
use a few weekend to learn objective-C GUI programming.
I wonder if it is possible to install Mac OS X on a removable USB
harddisk (or, if the G4 box only support USB 1.x, a removable IEEE 1394
harddisk), and load the Mac OS X, perhaps using yaboot? (even better
would be directly load it but I am not sure if G4 firmware supports this).
Just install OSX 10.4 from the distribution DVD direct onto your
FireWire disk using the Mac you want it to run on. I have heard in the
past that some FireWire controllers don't support booting OSX, but I
have never had any problems booting from a variety of external FireWire
disk enclosures. (I can't remember if the disk has to be initialized
with an Apple Partition Map. IIRC the OS X Installer will let you do
that with Disk Utility if necessary.)

The Startup Disk preferences pane might not be able to see your Yaboot
partition after you boot from OS X. So, to get back to your internal HD
Linux, you might need to unplug your external drive or hold down the
Option key as you boot up. That should give you the Mac's built-in
OS-picker.

If the OS X Installer hijacked your mac for itself, and you can't change
its default back to Linux using Startup Disk, you can fix it by
overwriting the nvram "boot-device" parameter direct in Open Firmware.
It might be a good idea to make a note of its current setting before you
install OS X. (printenv boot-device).

USB 1.1 is too slow. I have heard that OS X won't boot via USB, although
I have never tried it myself. However I have been able to boot simpler
programs over USB 1.1 using Open Firmware's 'boot' command without any
problems.

Good luck with it.
tortoise
2009-09-01 03:54:31 UTC
Permalink
Post by Tinkerer Atlarge
Post by Zhang Weiwu
Hello.
I currently run OpenSUSE on my iBook G4 / powerpc. Most of my daily work
is done on OpenSuSE. I also want to occassionally run Mac OS X 10.4
because some computer games only run on Mac OS, also because I want to
use a few weekend to learn objective-C GUI programming.
I wonder if it is possible to install Mac OS X on a removable USB
harddisk (or, if the G4 box only support USB 1.x, a removable IEEE 1394
harddisk), and load the Mac OS X, perhaps using yaboot? (even better
would be directly load it but I am not sure if G4 firmware supports this).
Only a few ibooks just before firewire models can boot off usb. As far
as I know.
Firewire is fine though. You can also boot off a pc-card memory card
adapter if you want, if get fastest memory card.
Post by Tinkerer Atlarge
The Startup Disk preferences pane might not be able to see your Yaboot
partition after you boot from OS X. So, to get back to your internal HD
Linux, you might need to unplug your external drive or hold down the
Option key as you boot up. That should give you the Mac's built-in
OS-picker.
The linux picker has never worked on the macs for me, its there but if
osX is selected startup disk switching from won't work. However switch
to macos will if linux is the set startup.

There is a way to put a menu into yaboot to pick an osX disk as an
alternative. That is how I have mine set up.
It should be in yaboot.conf commented out.
Post by Tinkerer Atlarge
If the OS X Installer hijacked your mac for itself, and you can't change
its default back to Linux using Startup Disk, you can fix it by
overwriting the nvram "boot-device" parameter direct in Open Firmware.
It might be a good idea to make a note of its current setting before you
install OS X. (printenv boot-device).
If yaboot is on the first partition it will default. That should be
the default, when linux is installed...
To unset a macos drive, reset pram with clover-option-p-r at startup
to a 2nd chime...
Tinkerer Atlarge
2009-09-01 11:05:20 UTC
Permalink
Post by tortoise
Post by Tinkerer Atlarge
The Startup Disk preferences pane might not be able to see your Yaboot
partition after you boot from OS X. So, to get back to your internal HD
Linux, you might need to unplug your external drive or hold down the
Option key as you boot up. That should give you the Mac's built-in
OS-picker.
The linux picker has never worked on the macs for me, its there but if
osX is selected startup disk switching from won't work. However switch
to macos will if linux is the set startup.
Do you get icons for the other disks/partitions? I have never had any
problems with my 2003 eMac. It could be dependent on the Open Firmware
version. It also depends on Yaboot being installed in a separate
partition. The openSUSE installation is different, but it should also
work. Admittedly, there are alternative ways of starting Linux, some of
which might leave it invisible to the OS-picker.
Post by tortoise
There is a way to put a menu into yaboot to pick an osX disk as an
alternative. That is how I have mine set up.
It should be in yaboot.conf commented out.
When external Linux is not the default, you can also get it to boot by
holding down Cmd-Opt-Shift-Delete during boot-up. You need to make sure
there are no bootable media in the CDROM drive and, maybe, no other
external storage devices plugged in. Yaboot needs to be the first
bootable partition on the external drive. Also, not all Linux
installations are configured to boot via FireWire. I was able to get
external Debian to work, but not openSUSE.
tortoise
2009-09-02 04:37:47 UTC
Permalink
Post by Tinkerer Atlarge
Post by tortoise
Post by Tinkerer Atlarge
The Startup Disk preferences pane might not be able to see your Yaboot
partition after you boot from OS X. So, to get back to your internal HD
Linux, you might need to unplug your external drive or hold down the
Option key as you boot up. That should give you the Mac's built-in
OS-picker.
The linux picker has never worked on the macs for me, its there but if
osX is selected startup disk switching from won't work. However switch
to macos will if linux is the set startup.
Do you get icons for the other disks/partitions? I have never had any
problems with my 2003 eMac. It could be dependent on the Open Firmware
version. It also depends on Yaboot being installed in a separate
partition. The openSUSE installation is different, but it should also
work. Admittedly, there are alternative ways of starting Linux, some of
which might leave it invisible to the OS-picker.
Its not invisible, the penguin simply does not boot into linux. But if
penguin is default you may switch to a macos partition. It is just
that if macos is default then you cannot switch to penguin.

I always put yaboot on a separate partition at the beginning of the
partitions. That way it can be default if nothing is set. I think if a
person already had mac on the first by mistake, the linux partition
tools let you reorder the number logic to make it logically first if
not physically, which is good enough.
Post by Tinkerer Atlarge
Post by tortoise
There is a way to put a menu into yaboot to pick an osX disk as an
alternative. That is how I have mine set up.
It should be in yaboot.conf commented out.
When external Linux is not the default, you can also get it to boot by
holding down Cmd-Opt-Shift-Delete during boot-up. You need to make sure
there are no bootable media in the CDROM drive and, maybe, no other
external storage devices plugged in. Yaboot needs to be the first
bootable partition on the external drive. Also, not all Linux
installations are configured to boot via FireWire. I was able to get
external Debian to work, but not openSUSE.
Yes thanks for the reminder. As far as external booting, configured
maybe means in the kernel ? Driver must be "y" not "m" to be in
kernel... still umm if OF sees /dev/sda there is some support....
Tinkerer Atlarge
2009-09-02 11:03:45 UTC
Permalink
Post by tortoise
Post by Tinkerer Atlarge
Post by tortoise
Post by Tinkerer Atlarge
The Startup Disk preferences pane might not be able to see your Yaboot
partition after you boot from OS X. So, to get back to your internal HD
Linux, you might need to unplug your external drive or hold down the
Option key as you boot up. That should give you the Mac's built-in
OS-picker.
The linux picker has never worked on the macs for me, its there but if
osX is selected startup disk switching from won't work. However switch
to macos will if linux is the set startup.
Do you get icons for the other disks/partitions? I have never had any
problems with my 2003 eMac. It could be dependent on the Open Firmware
version. It also depends on Yaboot being installed in a separate
partition. The openSUSE installation is different, but it should also
work. Admittedly, there are alternative ways of starting Linux, some of
which might leave it invisible to the OS-picker.
Its not invisible, the penguin simply does not boot into linux. But if
penguin is default you may switch to a macos partition. It is just
that if macos is default then you cannot switch to penguin.
Possibly I never tried it. At one stage I had MacOS X and three Linux
distros installed on my internal HD. I could certainly see all the
startup icons. But it is possible I relied on the Yaboot menu to start
them without giving the OS-picker a workout. I was more concerned with
getting FireWire to boot at the time. There were a lot more icons than
disks on my screen. I know at least some of them worked.
Post by tortoise
I always put yaboot on a separate partition at the beginning of the
partitions. That way it can be default if nothing is set.
That is how I also have my own internal HD set up at present, except
mine defaults to Mac. I did a lot of experimenting trying to find the
most robust setup. I never did find one which was 100% foolproof. In the
end I decided that putting Yaboot on Partition 2 and OSX on partition 3
with boot-device set to hd:3 was the best plan.

That way, it continues to seem like a normal Mac to anyone else. Only if
I press the 'd' key during startup will Yaboot (and thence Linux) boot
because Open Firmware then ignores Open Firmware's boot-device paramater
and goes for the first bootable partition on the disk. The reason for
putting OSX on Partition 3 is because that is the Open Firmware default.
That way, if someone resets the pram, it should continue to boot like a
normal Mac. (Or that was my original reasoning. It turns out Open
Firmware ignores its own 'boot-volume' (default = 3) and looks at
'boot-device' only. That means it still needs adjusting after a pram
reset, but all it takes is using Open Firmware setenv to insert a 3
between the default boot parameter's first colon ':' and the comma. You
don't have to remember any more details than that :-)

I suspect if an ordinary Mac user unexpectedly started seeing the
unMaclike yaboot menu, they would think the computer had a virus. They
would probably think it was trying to trick them when it claimed they
have to press 'x' in order for it to behave like a mac :-)
Post by tortoise
I think if a
person already had mac on the first by mistake, the linux partition
tools let you reorder the number logic to make it logically first if
not physically, which is good enough.
That works too. However I found it confuses mac-side Disk Utility into
wrongly calculating the size of the disk, and making a mess of the
partition layout on screen.
Post by tortoise
Post by Tinkerer Atlarge
Post by tortoise
There is a way to put a menu into yaboot to pick an osX disk as an
alternative. That is how I have mine set up.
It should be in yaboot.conf commented out.
Trying to eliminate the Yaboot menu (but not Yaboot itself) became one
of my goals.

One problem with the above system is that each new Linux distro alters
nvram's 'boot-device' setting. Once you have everything working you can
insert 'nonvram' in yaboot.conf and re-run ybin after you have restored
and readjusted nvram, hopefully for the final time :-)

However the above scheme does solve the problem of people messing things
up by changing Startup Disk preferences. Because Startup Disk only
displays Mac partitions, the user can only select Mac partitions, and
can use Startup Disk from one of the other Mac partitions to revert to
the original boot partition themselves if required :-)
Post by tortoise
Post by Tinkerer Atlarge
When external Linux is not the default, you can also get it to boot by
holding down Cmd-Opt-Shift-Delete during boot-up. You need to make sure
there are no bootable media in the CDROM drive and, maybe, no other
external storage devices plugged in. Yaboot needs to be the first
bootable partition on the external drive. Also, not all Linux
installations are configured to boot via FireWire. I was able to get
external Debian to work, but not openSUSE.
Yes thanks for the reminder. As far as external booting, configured
maybe means in the kernel ? Driver must be "y" not "m" to be in
kernel... still umm if OF sees /dev/sda there is some support....
I'm not sure what the problem was. I could get openSUSE to install on
the FireWire disk ok, but during startup the kernel seemed unable to
identify the sda partition I gave it as 'root' parameter. I tried
removing all other external storage devices, thinking that maybe what
started out as 'sda' might have got re-designated 'sdb' somewhere along
the way, but it made no difference.

However Debian installed successfully on FireWire, proving it is
possible. Once debian was installed, it would also boot without problems
on any other eMac I plugged the drive into.
tortoise
2009-09-03 03:25:44 UTC
Permalink
Post by Tinkerer Atlarge
mine defaults to Mac. I did a lot of experimenting trying to find the
most robust setup. I never did find one which was 100% foolproof. In the
end I decided that putting Yaboot on Partition 2 and OSX on partition 3
with boot-device set to hd:3 was the best plan.
That way, it continues to seem like a normal Mac to anyone else. .
That way, if someone resets the pram, it should continue to boot like a
normal Mac. (Or that was my original reasoning. It turns out Open
I suspect if an ordinary Mac user unexpectedly started seeing the
unMaclike yaboot menu, they would think the computer had a virus. They
would probably think it was trying to trick them when it claimed they
have to press 'x' in order for it to behave like a mac :-)
Well I always think of it as a "security feature". If I wanted to loan
the computer I'd warn them about the menu.

As far as booting multiple distros it is less painful on old world
macs, except for they are getting pretty slow these days. Since I
don't mind the yaboot menu I suppose I could fix the menu if I wanted.
So far the only reason I had to multi distro was for old systems I
needed to build/ run old ("obsolete" or actually just someone's
project that was discontinued or dropped or just plain finished)
versions of software. So I have had a few of those which run quicker
and so forth OK on the ancient machines...
Zhang Weiwu
2010-04-28 09:56:28 UTC
Permalink
Post by tortoise
Only a few ibooks just before firewire models can boot off usb. As far
as I know.
Firewire is fine though. You can also boot off a pc-card memory card
adapter if you want, if get fastest memory card.
I confirm my notebook could not boot from any of my USB storage devices.
However Firewire isn't so "fine" neither, I have two firewire harddisks
and one firewire CF-card reader, only one firewire harddisk can boot the
ibook, the other two devices fail, not shown as bootable option if I
start my iBook with Option key pressed.

Continue reading on narkive:
Loading...