1 |
On Thu, 2004-04-22 at 22:12, Ed Sutherland wrote: |
2 |
> I went through the entire installation process and forgot to issue the |
3 |
> ybin command so that my Gentoo installation boots from disk. Using my |
4 |
> LiveCD, how do I rescue this -- what are the commands? Thanks! |
5 |
|
6 |
I did a variant of this. As far as I recall, this is how I fixed it: |
7 |
|
8 |
> >>> |
9 |
> >>> |
10 |
> Yes, a G3 iMac. What are the specific commands? |
11 |
> >> |
12 |
> >> This is what I've tried (and the results): |
13 |
> >> |
14 |
> >> <boot livecd> |
15 |
> >> |
16 |
> >> mkdir /mnt/gentoo |
17 |
> >> mkdir /mnt/gentoo/dev |
18 |
> >> mount -t proc none /mnt/gentoo/proc |
19 |
> >> mount /dev/hda10 <my root partition> |
20 |
> >> chroot /mnt/gentoo /bin/bash |
21 |
> >> ybin |
22 |
> >> "Seems the boot partition hasn't been initialize" (paraphrase) mkofboot |
23 |
> >> "Do you want to create an HFS partition? <y/N>" (I pick "y") "Aborting" |
24 |
> >> |
25 |
|
26 |
Is this what you tried? You may have to use fdisk to set the boot |
27 |
partition up as an Apple Bootstrap partition first. If you did that when |
28 |
formatting, make sure that the path to the boot partition specified in |
29 |
yaboot.conf is still the path you want. I had trouble because the hard |
30 |
drive changed from hda to hdc depending on how I booted. |
31 |
|
32 |
ybin -h is a good thing to try; there are a couple of useful options in |
33 |
there, including one for initial set-up and one for passing in a |
34 |
different path to your boot drive if you need it. The above instructions |
35 |
look basically right, however. You want to be mounting root, not the |
36 |
boot partition. |
37 |
|
38 |
-- |
39 |
David Chart |
40 |
http://www.dchart.demon.co.uk/ |
41 |
PGP Key: 1786 15B1 53A3 7ED0 CBD4 AFBE 9B61 6D10 46C9 1CBE |
42 |
|
43 |
-- |
44 |
gentoo-ppc-user@g.o mailing list |