View previous topic :: View next topic |
Author |
Message |
dkennedy n00b
Joined: 25 May 2004 Posts: 11
|
Posted: Tue May 25, 2004 5:54 pm Post subject: power outage/re-chrooting in with universal CD |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue May 25, 2004 5:56 pm Post subject: |
|
|
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 |
|
|
az_zel n00b
Joined: 12 May 2004 Posts: 69
|
Posted: Tue May 25, 2004 6:18 pm Post subject: |
|
|
<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 |
|
|
az_zel n00b
Joined: 12 May 2004 Posts: 69
|
Posted: Tue May 25, 2004 6:19 pm Post subject: |
|
|
Is it necessary to do env-update and source /etc/profile after you chroot in? What exactly does each command do? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue May 25, 2004 6:32 pm Post subject: |
|
|
[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 |
|
|
JBroadhead1 n00b
Joined: 23 May 2004 Posts: 23 Location: The Wastelands
|
Posted: Tue May 25, 2004 7:33 pm Post subject: |
|
|
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
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
Jimmy |
|
Back to top |
|
|
JBroadhead1 n00b
Joined: 23 May 2004 Posts: 23 Location: The Wastelands
|
Posted: Tue May 25, 2004 7:34 pm Post subject: |
|
|
OOOPs.. almost forgot do a chroot /mnt/gentoo in there too before the env-update.
Sorry
Jimmy |
|
Back to top |
|
|
|