Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
power outage/re-chrooting in with universal CD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dkennedy
n00b
n00b


Joined: 25 May 2004
Posts: 11

PostPosted: Tue May 25, 2004 5:54 pm    Post subject: power outage/re-chrooting in with universal CD Reply with quote

I had JUST finished compiling my kernal and bam, lights go out.
I am installing gentoo off the universal CD. I rebooted and tried to chroot back in:

chroot /mnt/gentoo /bin/bash

which doesnt work-says /bin/bash does not exist.

I'm not the best linux dude, what did i miss/forget to do?

thanks in advance..
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue May 25, 2004 5:56 pm    Post subject: Reply with quote

Forgot to mount the gentoo partition before chrooting?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
az_zel
n00b
n00b


Joined: 12 May 2004
Posts: 69

PostPosted: Tue May 25, 2004 6:18 pm    Post subject: Reply with quote

<edited into the next post>

Last edited by az_zel on Tue May 25, 2004 6:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
az_zel
n00b
n00b


Joined: 12 May 2004
Posts: 69

PostPosted: Tue May 25, 2004 6:19 pm    Post subject: Reply with quote

Is it necessary to do env-update and source /etc/profile after you chroot in? What exactly does each command do?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue May 25, 2004 6:32 pm    Post subject: Reply with quote

[quote="az_zel"]Is it necessary to do env-update and source /etc/profile after you chroot in? What exactly

From the gentoo handbook:
Quote:
Then we will create a new environment using env-update, which essentially creates environment variables. Finally, we load those variables into memory using source.

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
JBroadhead1
n00b
n00b


Joined: 23 May 2004
Posts: 23
Location: The Wastelands

PostPosted: Tue May 25, 2004 7:33 pm    Post subject: Reply with quote

That's one thing I really like about this distro of Linux.. I don't have to set it all up at once.. set up what you feel like setting up and then reboot later from the liveCD and remount everything and bang you are there again :P

I'm a n00b as well.. but one thing I have learned in my short time with it is that anytime you have to reboot from the liveCD don't forget to :

Code:
#mount /dev/hda3 /mnt/gentoo
#mount /dev/hda1 /mnt/gentoo/boot
#mount -t proc none /mnt/gentoo/proc
#env-update
#source /etc/profile


Where hda3 is your root and hda1 is your boot partitions.

Wow.. I can actually help a little :D

Jimmy
Back to top
View user's profile Send private message
JBroadhead1
n00b
n00b


Joined: 23 May 2004
Posts: 23
Location: The Wastelands

PostPosted: Tue May 25, 2004 7:34 pm    Post subject: Reply with quote

OOOPs.. almost forgot do a chroot /mnt/gentoo in there too before the env-update.

Sorry

Jimmy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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