Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yaboot
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
Merlyn
n00b
n00b


Joined: 25 Aug 2004
Posts: 5

PostPosted: Thu May 19, 2005 10:31 pm    Post subject: Yaboot Reply with quote

I am currently installing yaboot bootstrap. I type yabootconfig --chroot /mnt/gentoo

it asks me if i want to install yaboot on /dev/hda2 to boot linux from /dev/hda4, I say yes

It asks me for path to kernel image, I Put kernel-2.6.10

it asks me for path to an initrd image, I hit enter to leave it blank

I then get the following

yabootconfig: Could not determine necessary information, aborting...
yabootconfig: Are you using chroot yaboot instead of yaboot --chroot?

anyone have any idea where this initrd file is if I even have it, or why this would be causing a problem?
Back to top
View user's profile Send private message
MACSRULETHEWORLD
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2004
Posts: 131

PostPosted: Thu May 19, 2005 11:00 pm    Post subject: Reply with quote

this happens to me every time i intsall. i end up having to manually config yaboot (/etc/yaboot.conf)
Back to top
View user's profile Send private message
Merlyn
n00b
n00b


Joined: 25 Aug 2004
Posts: 5

PostPosted: Thu May 19, 2005 11:03 pm    Post subject: Reply with quote

could you post a copy of your exact file... I tried to manually do it... but it is the only OS on my computer, and the ibook boots to the ? and home icon over and over and over, is that all I hvae to do, or is there osmething else I need to do?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri May 20, 2005 6:11 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
tparker
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2002
Posts: 85

PostPosted: Sat May 21, 2005 2:51 am    Post subject: Reply with quote

I've only just done this and for a while had a problem at the exact same stage.

Are you running yabootconfig from within the chroot environment on the LiveCD? Exit that first, then run 'yabootconfig' again, adding /mnt/gentoo/ to all the paths you specify (e.g. for the kernel) to yabootconfig.

I'm guessing that once within the chroot environment on the LiveCD the environment doesn't have full access to all the system information (such as when you type 'mount', often nothing is listed)... hence you need to quit back out. But that's just a guess!!

Anyways, hope this works works for you though.
Back to top
View user's profile Send private message
WhiteSpade
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 89

PostPosted: Thu Jul 13, 2006 7:16 am    Post subject: Reply with quote

Whew! Thanks for the suggestion!
Quote:
adding /mnt/gentoo/ to all the paths you specify
did it for me. Would have been nice if they noted this better in the handbook. I'm a long time x86 user and installing on ppc for the first time. The ppc handbook does leave a bit to be desired. Anyway, thanks for the solution!

---Alex
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 13, 2006 2:47 pm    Post subject: Reply with quote

I've actually fixed this in the new version of yaboot :p

Patch here:
http://dev.gentoo.org/~josejx/yaboot-kernel.patch

What else is unclear in the handbook? Please let me know so I can fix it.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
WhiteSpade
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 89

PostPosted: Thu Jul 13, 2006 3:20 pm    Post subject: Suggestions Reply with quote

Hey, thanks for the reply. Off the top of my head, other issues with the handbook are:
1. The oft complained about etc/fstab section. There seems to be a lot of uncertainty about whether the bootstrap partition should be mounted.
2. The /etc/make.conf section could provide more information (or at least link to a page with more information) for what CFLAGS are even available. I realise the PPC community doesn't have a strong culture of changing those, but it'd still be nice to know what options are available.
3. An explanation of how to requests a specific kernel with options while trying to boot off of the cd. Even one example would have saved me 15 minutes of trying to figure it out. I was trying "boot * video=ofonly" and a bunch of other things (somewhere, I think it was in the documentation in yaboot on the cd, that said the default profile was *). In the end, after reading help quite a bit (and finally seeing the message that said "Press Tab to see available kernels) I did the correct: "ppc32 nodetect video=ofonly"

I'm sure there are other issues, since I'm just remembering stuff from off the top of my head. I am more than happy to help out with things, including documentation. I work quite a bit, but I've been looking for a project to get involved in. My programming skills are limited mostly to PHP and XHTML, so those aren't all that relevant to OS programming. I am working on Perl currently for a new project I'm working on, but it will take a while before I am proficient in it. Let me know if I can help in any way. I'll go over the handbook a little bit more closely later and mention anything else I find.

---Alex
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 13, 2006 3:51 pm    Post subject: Reply with quote

Well, most of the parts that you've mentioned there are in the "common" sections of the handbook. They're the same on *all* architectures. I can't really make those sections PPC specific because of that. That said let's look at some possible different wordings. :)

1. You're probably right about the boot partition:
Quote:
This is just an example, so if your architecture doesn't require a /boot partition (such as Apple PPC machines), don't copy it verbatim.
I guess the language isn't strong enough there. What if it said:
Quote:
If your architecture doesn't require a seperate /boot partition (such as Apple PowerPC machines) or you have elected not to create one, don't include a boot line in your fstab. The Apple Bootstrap partition is not a /boot partition.


2. We do already explictly refer you to make.conf.example for detailed information about your architecture:
Quote:

We will not explain all possible optimization options. If you want to know them all, read the GNU Online Manual(s) or the gcc info page (info gcc -- only works on a working Linux system). The make.conf.example file itself also contains lots of examples and information; don't forget to read it too.

A first setting is the -march= flag, which specifies the name of the target architecture. Possible options are described in the make.conf.example file (as comments). For instance, for the x86 Athlon XP architecture:


This section could be rewritten as:
Quote:

We cannot explain all possible optimization options here, but if you want to know them all, read the GNU Online Manual(s) or the gcc info page (info gcc -- only works on a working Linux system). For common optimizations and architecture specific settings, please read /etc/make.conf.example.

As an example, on the x68 Athlon XP architecture, you will want to set the -march= flag as shown below:


3. You skipped this one: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=4#doc_chap6

4. I can change this one to make it more obvious.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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