View previous topic :: View next topic |
Author |
Message |
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Mon Mar 22, 2004 4:02 am Post subject: Restarting the computer after finishing chapter 8 |
|
|
I've spent like 12 hours straight (OK, I know it's no big deal) on installing stage 1 Gentoo 2004.0. It was late, my wife wanted to use Windows, so I've shut down the installation.
Well, back to work today, I was going to re-run the failed command where I was stuck yesterday, see the error message and ask for enlightement here. I've mounted root and boot partitions, and then
Code: | -bash: emerge: command not found |
Why, why, WWWHHHYYYYYY????
How can I recover from shutting down the computer? I guess I already figured out what was wrong with
,
but the thing is I can't even start the thing anymore... _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Mar 22, 2004 4:24 am Post subject: Re: Restarting the computer after finishing chapter 8 |
|
|
dmvianna wrote: | I've mounted root and boot partitions, and then |
... and then you need to chroot. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Mon Mar 22, 2004 5:28 am Post subject: |
|
|
Code: | chroot: /bin/bash: No such file or directory |
This is actually weird, because
Code: | # ls /bin/bash
/bin/bash |
bash is a file (???), and not a directory, so I don't know how to chroot after that. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Mon Mar 22, 2004 6:12 am Post subject: |
|
|
OK, got it from https://forums.gentoo.org/viewtopic.php?t=151527&highlight=chroot. I had to specify the file system when mounting
Code: | mount -t reiserfs /dev/hda6 /mnt/gentoo |
, all from /mnt/gentoo. Strangely enough, I could not run chroot, env-update or source except from the same window I mounted reiserfs... Anyway, thanx for setting me in the right track. Now to the next problem... _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Mon Mar 22, 2004 12:59 pm Post subject: |
|
|
OK, this is for n00bs like me:
How to get back on track again:
Everywere they say "remount, chroot", fine, but how???
Here's more or less how:
Code: | #mount /dev/hdXX /mnt/gentoo [XX is your / hd]
#mount /dev/hdYY /mnt/gentoo/boot [YY is your /boot hd]
#mount -t proc none /mnt/gentoo/proc
#chroot /mnt/gentoo /bin/bash
#env-update
#source /ect/profile |
Actually I got an error message after the #source command last time, but except for that, I got what I wanted, that is, finding my installation files in my HDs after shutting down the computer. I've finished the handbook, and now I'm trying to figure out why the normal boot isn't working as should. Wish me luck! _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
|
Back to top |
|
|
|
|
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
|
|