Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck on installation 6.a, no /bin/bash directory, help!
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
chrislee8
n00b
n00b


Joined: 26 Jul 2004
Posts: 23

PostPosted: Fri Jul 30, 2004 8:56 pm    Post subject: Stuck on installation 6.a, no /bin/bash directory, help! Reply with quote

Env: Gentoo 2004.2 dual boot with OSX

I followed the installation guide.

I had the proper partition: /dev/hda1-8 are defaulted Mac mapping etc.
/dev/hda9 is the bootstrap. /dev/hda10 is the swap partition.
/dev/hda11 is the root partition for gentoo.
/dev/hda12 is the OSX hfs+ partition.

then i followed the guide section 5 installing the Gentoo Installation files.
5a, 5c, 5d are done. 5b is skipped because i do livecd installation instead of network.

when I do the 5.c section, it says:
Quote:

Code Listing 11: Extracting the stage tarball

# tar -xvjpf /mnt/cdrom/stages/stage3-<subarch>-2004.2.tar.bz2

In my 2004.2 livecd, /stages/ has 2 similar tar files:
1. stage3-g4-2004.2.tar.bz2
2. stage3-ppc-2004.2.tar.bz2
which one is which? what is the different, there is no readme for that? so confusing.
bythe way, i picked stage3-g4-2004.2.tar.bz2.
I didn't do stage1 and stage2 because it says stage3 is the least treaking needed stage.

On 5.e. It says:
Quote:

Fire up your favorite editor (in this guide we use nano) so we can alter the optimization variables we will discuss hereafter.

Code Listing 15: Opening /etc/make.conf

# nano -w /mnt/gentoo/etc/make.conf

But i don't have /etc directory, either the make.conf file, so I skipped anyways.
why don't I have /etc/make.conf?
On to 6a,
It says do this:
Code:

# chroot /mnt/gentoo /bin/bash
# env-update
 * Caching service dependencies...
# source /etc/profile

then error says No such file or directory of '/bin/bash'!!!!

I look throught the whole document, i don't see anything mentioned about /bin/bash. What is going on?
why don't I have the /bin/bash directory, my limited linux knowlege told me it is shell command, right?
That is the step of enter new Gentoo environment. I am just two command away.


please help.
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Fri Jul 30, 2004 9:01 pm    Post subject: Reply with quote

it seems taht you didnt actually extract the stage tarball (g4 is what you want, if you have a g4, i think the ppc on eis just really generic)

you have to be in the directory /mnt/gentoo (or whereever you mounted /dev/hda11)

and then issue the command


after you do that, do an ls, and let us know what you come up with....

btw, /bin/bash is not a directory, its the shell, its an binary executable....

a side note:
i would move your bootstap partition to /dev/hda2 (you can do that in mac-fdisk) because you can run into trouble booting if you dont....


regards,

killfire
Back to top
View user's profile Send private message
chrislee8
n00b
n00b


Joined: 26 Jul 2004
Posts: 23

PostPosted: Fri Jul 30, 2004 9:09 pm    Post subject: thanks for the quick response. Reply with quote

1. i started the installation late last night, couldn't finish. i thought once i extract the tar file, it will be there for ever!! lol

extracting now, see what happen.

2. the yaboot guide and gentoo guide both mention the same partition structure that i followed and as of now, if I come across with booting later, i will move it. rather do it step by step.

thanks tho
Back to top
View user's profile Send private message
chrislee8
n00b
n00b


Joined: 26 Jul 2004
Posts: 23

PostPosted: Fri Jul 30, 2004 9:11 pm    Post subject: Reply with quote

just finish extracting.

b4
i have dev, lost & found, usr, proc,

now
I have:
bin, boot, dev, etc, home, lib, lost+found, mnt, opt, proc, root, sbin, sys, tmp, usr, var,

looks good, right?

man, exhausting........ but go on...
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Fri Jul 30, 2004 9:15 pm    Post subject: Reply with quote

that looks a lot healthier!


with the bootstrap partition, some computers do not recognize it uless its /dev/hda2 (rigt after the partition map)
but you might as well see if it works...


let us know if you have any more trouble...


killfire
Back to top
View user's profile Send private message
chrislee8
n00b
n00b


Joined: 26 Jul 2004
Posts: 23

PostPosted: Fri Jul 30, 2004 9:26 pm    Post subject: Reply with quote

thanks,

i am now on to installing kernel. i do 2.6 instead of 2.4, is it stable for 2.6 which is gentoo-dev-source?

i don't think i am able to try dual boot with yaboot yet, right?
_________________
everyone who helped deserves a 'Thank you', dude!
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