View previous topic :: View next topic |
Author |
Message |
Merlyn n00b
Joined: 25 Aug 2004 Posts: 5
|
Posted: Thu May 19, 2005 10:31 pm Post subject: Yaboot |
|
|
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 |
|
|
MACSRULETHEWORLD Tux's lil' helper
Joined: 17 Apr 2004 Posts: 131
|
Posted: Thu May 19, 2005 11:00 pm Post subject: |
|
|
this happens to me every time i intsall. i end up having to manually config yaboot (/etc/yaboot.conf) |
|
Back to top |
|
|
Merlyn n00b
Joined: 25 Aug 2004 Posts: 5
|
Posted: Thu May 19, 2005 11:03 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Fri May 20, 2005 6:11 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
tparker Tux's lil' helper
Joined: 03 Oct 2002 Posts: 85
|
Posted: Sat May 21, 2005 2:51 am Post subject: |
|
|
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 |
|
|
WhiteSpade Tux's lil' helper
Joined: 16 Apr 2005 Posts: 89
|
Posted: Thu Jul 13, 2006 7:16 am Post subject: |
|
|
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 |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
WhiteSpade Tux's lil' helper
Joined: 16 Apr 2005 Posts: 89
|
Posted: Thu Jul 13, 2006 3:20 pm Post subject: Suggestions |
|
|
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 |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Thu Jul 13, 2006 3:51 pm Post subject: |
|
|
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 |
|
|
|