Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck on Chrooting step
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
Re_Anne
n00b
n00b


Joined: 28 Sep 2016
Posts: 5

PostPosted: Wed Sep 28, 2016 4:59 pm    Post subject: Stuck on Chrooting step Reply with quote

Greetings everyone. I am brand new to both Gentoo and Linux. Recently I was able to upgrade the harddrive on my old Alienware M11x laptop from 250mb to a 2T (I had already upgraded the memory from 4 gb to 8 gb a few years earlier - other than that all hardware specs are out ofthe boxx) and instead of just installing the old windows CD I would commit defenstration and put linux on it insread.

My brother recomended Gentoo to me andd gave me the link to download the system rescue CD and I found the handbook on my own. I downloaded the files and burned them onto a flash drive.

First few steps after pluging the flash card in were easy peasy - until I got to the installing stage 3 step where it kept telling me the file didn't exist when I tried to download. I thought it meant the file itself but was able to find, through my friend google, that it was the actual unzip file bzip2 that was missing. Got that installed with a wget bzip2 command and the unzip worked like a charm

so now am stuck at the Chrooting stage of the next step:

I entered in root@sysresccd /mnt/gentoo % nano -w /mnt/gentoo/etc/portage/make.conf as recomended by the handbook - but all it did was return me to the root@sysresccd /mnt/gentoo % line

Figuring this didn't mean anything bad and that something had been done behind the scenes and I entered in the root@sysresccd /mnt/gentoo % mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf and got;
* Using url: https://api.gentoo.org/mirrors/distfiles.xml
* Downloading a list of mirrors...
Got 155 mirrors.
And a list of mirrors

I arrowed down to the mirror closest to me and hit space and then enter.

And nothing. Just returned me to thee command line.

worried that it didn't like my current command line I opened up a new terminal and repeated the steps from the root@sysresccd /root % line andd got the samething. I tried it using a diferrent mirror andd still nothing.

Thinking maybe this didn't really mean anything I read on. The part about the cat command confused me (mostly because I have no idea what the cat command is or how to initialize it and no information was given on that) and all I could get from a google search was there were several cat commands (none that seemed to match what the handbook wanted me to do) and that you can make your own cat commands. After reading the section a bit more I decided it was just a verification step and moved on.

As per the handboodk I entered;

root@sysresccd /mnt/gentoo % mkdir /mnt/gentoo/etc/portage/repos.conf

then

root@sysresccd /mnt/gentoo % cp /mnt/gentoo/usr/share/portage/config/repos.conf /mnt/gentoo/etc/portage/repos.conf/gentoo.conf

and

root@sysresccd /mnt/gentoo % -L /etc/resolv.conf /mnt/gentoo/etc/

and got

zsh: command not found: -L

So I removed the -L

root@sysresccd /mnt/gentoo % /etc/resolv.conf /mnt/gentoo/etc/

and got

zsh: permission denied: /etc/resolv.conf
root@sysresccd /mnt/gentoo %

more searching on google turned up nothing useful except these boards

If anyone can help me figure out what I did wrong I would be most apreciative

Did I skip a step? Do them in the wrong order? Do a step wrong? Is there another file not mentioned in the handbook I need to install?

Thank you so very much in advance.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22058
Location: here

PostPosted: Wed Sep 28, 2016 5:27 pm    Post subject: Reply with quote

For mirrorselect you can skip the step is optional.
Code:
root@sysresccd /mnt/gentoo % -L /etc/resolv.conf /mnt/gentoo/etc/
and got
zsh: command not found: -L

The correct command is
Code:
root@sysresccd /mnt/gentoo % cp -L /etc/resolv.conf /mnt/gentoo/etc/

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Re_Anne
n00b
n00b


Joined: 28 Sep 2016
Posts: 5

PostPosted: Wed Sep 28, 2016 5:46 pm    Post subject: Reply with quote

Thanks for the advise on the mirrors.

I entered the comand you gave and got zsh: command not found: root@sysresccd

USB with the OS is still plugged in.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43437
Location: 56N 3W

PostPosted: Wed Sep 28, 2016 6:22 pm    Post subject: Reply with quote

Re_Anne,

There are a number of subtle problems with the amd64 handbook on the Wiki right now.
The wiki team are working the issue. The google cache looks OK.

bzip2 should have been provided by your System Rescue CB image that you booted.
There is something going wrong very early in your install if you had to fetch that.

What does
Code:
ls /mnt/gentoo
return?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Re_Anne
n00b
n00b


Joined: 28 Sep 2016
Posts: 5

PostPosted: Wed Sep 28, 2016 6:50 pm    Post subject: Reply with quote

@NeddySeagoon

Thanks so much for your help as well

that command returns

Code:
bin         make.conf.save  stage3-amd64-20160922.tar.bz2
boot        media           stage3-amd64-20160922.tar.bz2.1
dev         mnt             stage3-amd64-20160922.tar.bz2.2
etc         opt             sys
home        proc            tmp
index.html  re              usr
lib         root            var
lib32       run
lib64       sbin

root@sysresccd /mnt/gentoo %

Should I redownload and reburn to the USB? If so can that be done from the gentoo GUI?

Code tags added by NeddySeagoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43437
Location: 56N 3W

PostPosted: Wed Sep 28, 2016 7:03 pm    Post subject: Reply with quote

Re_Anne,

You have three copies of the stage3 tarball there. A little junk and what appears to be the beginnings of a Gentoo root filesystem.
In other words, it looks good.

Continue the install with the steps after untaring the stage3.
I cannot see what you have in /usr/portage
Code:
ls /mnt/gentoo/usr/portage
.
If the answer is lots, you also have the portage snapshot.
If its nothing, you haven't got to that bit yet.

Follow the handbook in Googles cache ...
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Re_Anne
n00b
n00b


Joined: 28 Sep 2016
Posts: 5

PostPosted: Wed Sep 28, 2016 7:31 pm    Post subject: Reply with quote

thanks that brings back

ls: cannot access /mnt/gentoo/usr/portage: No such file or directory

as for the extra stage 3 tarballs I should delete them. any suggestions on how to do so? Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43437
Location: 56N 3W

PostPosted: Wed Sep 28, 2016 8:18 pm    Post subject: Reply with quote

Re_Anne,

Go back to the handbook and continue from the step after installing the stage3 tarball.
Deleting the stage3 tarbal is covered at the end of the handbook.

That /mnt/gentoo/usr/portage does not exist, tells that you don't have a portage snapshot yet.
That's fine. Its a later step in the install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2971
Location: Germany

PostPosted: Wed Sep 28, 2016 8:21 pm    Post subject: Reply with quote

first you did not type the command (cp) at all but started with one of its options -L thus you get """command not found: -L""" and instead of adding the missing command you removed the option as well and that's not gonna solve it...

second you interpreted the shell prompt as a command and typed that ("""command not found: root@sysresccd""" since root@sysresccd is not the command; cp is)

Gentoo is _very_ difficult if you do not know basics of the console/terminal/shell whatever you want to call it. This is also something the Gentoo documentation does not teach. Maybe you can find a tutorial for using a shell in general, or just be more careful reading things (you should be able to tell what is just part of the shell prompt, and what is the actual command), and try to make sense of error messages.

The error message should be obvious enough, (command not found: xyz) when xyz wasn't even the command you were trying to use, you should understand what went wrong. If you don't even know what command you're trying to use, just copying things blindly, then you probably won't be going anywhere.
Back to top
View user's profile Send private message
Re_Anne
n00b
n00b


Joined: 28 Sep 2016
Posts: 5

PostPosted: Wed Sep 28, 2016 9:26 pm    Post subject: Reply with quote

@NeddySeagoon

Thanks I will do that. I skipped over the part about configuring the compile options due to the warning given about makine changes when I opened the nano -w /mnt/gentoo/etc/portage/make.conf command. Should I not have skipped it?

@frostschutz

Thanks adding cp before the command solved the problem and I was able to move ahead with the mount commands and moving to the sysresccd commands. I'm currently waiting for it to finish fetching the portage files.
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