Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

doggoli

macrumors member
Original poster
Apr 17, 2017
54
78
Serbia
Recently i dualbooted Ubuntu 12.04 on my iBook G4 just to test it out. It ran pretty bad so i booted back into OSX and nuked the partitions that had Ubuntu on it. However every time i boot the computer up i still get the Ubuntu Bootstrap Stage 1, except now it wont do anything. I can still boot into OSX by pressing down on the option key and selecting the partition but i don't want to do that. Is there a way to get rid of yaboot and put back the original apple bootloader without reinstallation?
 
You could mount and trash the yaboot HFS partition (possibly /dev/disk0s2?). Check your partition map with “diskutil list”. Then delete the yaboot files, reformat or just delete the partition, (returning it to free space).

Alternatively, I believe if you just re-select the startup disk in System Preferences and give it a reboot, it will override the yaboot partition and go straight into OS X. If that doesn’t do it, reset nvram by booting into Open Firmware (cmd-opt-O-F) and then;

reset-nvram
set-defaults
reset-all
 
  • Like
Reactions: doggoli and z970
You could mount and trash the yaboot HFS partition (possibly /dev/disk0s2?). Check your partition map with “diskutil list”. Then delete the yaboot files, reformat or just delete the partition, (returning it to free space).

Alternatively, I believe if you just re-select the startup disk in System Preferences and give it a reboot, it will override the yaboot partition and go straight into OS X. If that doesn’t do it, reset nvram by booting into Open Firmware (cmd-opt-O-F) and then;

reset-nvram
set-defaults
reset-all

Sorry for taking long to reply, i've been really busy.
When i type diskutil list i don't see a partition that looks like it has yaboot on it, disk0s2 as you suggested is Apple_Bootstrap (Maybe that is it, idk) i tried to mount disk0s2 but it kept saying that it couldn't read/mount the partition. Resetting the nvram did nothing and selecting the disk from within system preferences also did nothing
 
Sorry for taking long to reply, i've been really busy.
When i type diskutil list i don't see a partition that looks like it has yaboot on it, disk0s2 as you suggested is Apple_Bootstrap (Maybe that is it, idk) i tried to mount disk0s2 but it kept saying that it couldn't read/mount the partition. Resetting the nvram did nothing and selecting the disk from within system preferences also did nothing

That's likely the one. Try mounting with:

mkdir ~/yaboot
sudo mount -t hfs /dev/disk0s2 ~/yaboot

You can then sudo rm (-rf) the files. Mac OS X doesn't use this Bootstrap partition to boot, so you won't damage your OS X installation.

If you want to remove the partiton, it might be best to boot from the Ubuntu live CD and then run GParted.
 
  • Like
Reactions: doggoli
That's likely the one. Try mounting with:

mkdir ~/yaboot
sudo mount -t hfs /dev/disk0s2 ~/yaboot

You can then sudo rm (-rf) the files. Mac OS X doesn't use this Bootstrap partition to boot, so you won't damage your OS X installation.

If you want to remove the partiton, it might be best to boot from the Ubuntu live CD and then run GParted.

That did it!
Thanks man :]
 
  • Like
Reactions: AphoticD
Easy done :cool:

I’ve run Ubuntu Mate and Debian Jessie on my PowerBooks but found they ran hotter than under OS X.

Yeah, that was the reason i erased it. It would be ok but as soon as i opened any program the fans would spin up to 100%. I think Linux is best reserved for beefy G4s and G5s :/
 
  • Like
Reactions: AphoticD
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.