Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub2 anyone ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3728

PostPosted: Mon Jan 04, 2010 2:46 pm    Post subject: grub2 anyone ? Reply with quote

hi all !

it looks like my powerbook´s hd is going to die in short so that i will have to replace it and, of course, i will probably install gentoo again.
I will try out several things and one of them is grub2. I´ve been using grub2 in another (x86) laptop for a while now but i have no idea what is the current state of things in ppc-world.

The best instructions i´ve been able to find are -> http://grub.enbug.org/TestingOnPowerPC

which look quite outdated and i haven´t find any pointer in the mailinglists either, so, has anyone here played around with grub2 on powerpc? Any advice ?

TIA
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1734
Location: Kentucky

PostPosted: Tue Jan 05, 2010 8:06 am    Post subject: Reply with quote

Only used grub2 on x86 but from that experience I can say that if you only have one hard drive it works fine, but more than two is a pita because it wants to automate everything to its liking, not yours.
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jan 06, 2010 1:26 pm    Post subject: Reply with quote

I last tried it on PowerPC a few months ago, works fine. Can't boot OSX yet afaik though.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3728

PostPosted: Thu Jan 07, 2010 12:12 pm    Post subject: Reply with quote

thanks for answering guys!

Quote:
Can't boot OSX yet afaik though


didnt know that, which means iḿ probably going for the good&old yaboot.

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
jago25_98
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 180

PostPosted: Sun Sep 26, 2010 11:39 pm    Post subject: USB tricks & PPC linux recap Reply with quote

After some debate I've decided to reply to this thread to help people find what they are looking for.

Grub2 is now standard and PPC support added.


If you haven't got a usable PPC system in the first place one trick you can do is write a full iso HFS image to a USB stick with:

Code:
sudo dd if=~/Desktop/mini.iso of=/dev/usbSticky

( from http://mac.linux.be/phpBB3/viewtopic.php?f=10&t=85 )

Geekbox is a quick 17mb iso distro you can use for testing that:
http://www.geexbox.org

Also, searching for yaboot / grub2 will help find threads / help you google.

Here's another link:
HOWTO Boot Apple PowerPCs From A USB Drive In Open Firmware https://sites.google.com/site/shawnhcorey/howto-boot-apple-powerpcs-from-a-usb-drive-in-open-firmware

and another;
http://mac.linux.be/phpBB3/viewtopic.php?f=10&t=85

And, if you came here from google, not forgettnig the Gentoo PPC handbook section on boot:
http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=10

Finally, remember that parted is generally the tool to use for partitions as that AFAIK is the only thing that can read a mac partition layout
( from http://penguinppc.org/mac/#altivec )


Hope this helps someone out there. Sorry to previous posters to bump the tread but I think it's worth it.
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Oct 03, 2010 7:32 pm    Post subject: Reply with quote

Thanks for the information, but I need to correct a few of your points.

Yes, grub2 does work on ppc, but I do not feel that it is ready for everyone's use. It still does not boot OSX as far as I know. I'd be happy to hear other reports.

As for partitioning, mac-fdisk still works just fine, but parted is another option.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Logicien
l33t
l33t


Joined: 16 Sep 2005
Posts: 819
Location: Montréal

PostPosted: Sun Oct 03, 2010 7:52 pm    Post subject: Reply with quote

To have full control of Grub2 configuration, you have to edit /etc/default/grub and/or /etc/conf.d/grub. In plus, you can disable scripts executions in /etc/grub.d/ . I disable every script that write an entry to the Grub menu and edit everythings manually in /etc/grub.d/40_custom. This file is for personalization if you know what to do. So the /boot/grub/grub.cfg resulting from update-grub command is always like I want.
_________________
Paul
Back to top
View user's profile Send private message
Ato
n00b
n00b


Joined: 22 Dec 2007
Posts: 66
Location: Duisburg, Germany

PostPosted: Thu Jun 07, 2012 6:59 pm    Post subject: Reply with quote

Hi folks,

I'd like to revive this thread because I have written a little guide where I explain how to set up Grub2 as a graphical boot loader on a Gentoo PPC box (Mac Mini G4). You can find it here: https://www.senmut.net/~thomas/Wiki/index.php?n=Thomas.Gentoo#toc6. Comments are very welcome!

Cheers,
Ato
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum