Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hanbook - Installing Gentoo x86_64 vs x86
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
i3v
n00b
n00b


Joined: 01 Jan 2013
Posts: 6

PostPosted: Tue Jan 01, 2013 12:12 pm    Post subject: Hanbook - Installing Gentoo x86_64 vs x86 Reply with quote

Happy new year, everyone!
I've just installed my first Gentoo on a VMware machine.
Here's my result (including full log from putty and a backup of "Installing Gentoo" guide I've used).

Though, I've got a couple of questions concerning the installation guide.

I'm a 100% noob, so, I'm not going to tell you that there's something wrong in the handbook....

Though...


  • 6.a. Chrooting, Code Listing 1.5.
    Code:
    # env-update
    >> Regenerating /etc/ld.so.cache...

    For me, it resulted in
    Code:
    livecd / # env-update
    !!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage'
    !!! main-repo not set in DEFAULT and PORTDIR is empty.

    >>> Regenerating /etc/ld.so.cache..


    Since there's no Portage at this time. Or... am I missing something?

    I had to do
    Code:

    cd /mnt/gentoo/usr
    wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
    time tar xjf portage-lat*

    before, for env-update to complete successfully (like in Code Listing 1.5), like it's written in gentoo-x86-quickinstall Listings 2.14-2.15. (Note, in gentoo-x86-quickinstall chroot is in listing 2.16 , i.e. after unpacking Portage.)

    So, what's wrong with me?

  • /etc/timezone
    Chapter 8, below Code Listing 3.4.
    Quote:

    You should define the timezone that you previously copied to /etc/localtime in the /etc/timezone file so that further upgrades of the sys-libs/timezone-data package can update /etc/localtime automatically.

    Isn't it already done in Chapter 7, Code Listing 1.1 ?
    Code:
    echo "Europe/Brussels" > /etc/timezone


    In my case, there already was appropriate timezone printed in /etc/timezone ....

  • ls /boot/kernel* /boot/initramfs*
    (This is just a suggestion).
    Chapter 7, Code Listing 4.3

    Code:
    (chroot) livecd etc # ls /boot/kernel* /boot/initramfs*
    /boot/initramfs-genkernel-x86_64-3.6.11-gentoo  /boot/kernel-genkernel-x86_64-3.6.11-gentoo


    won't it be just a little bit more intuitive, if we list them separatly:
    Code:
    (chroot) livecd etc # ls /boot/kernel*
    /boot/kernel-genkernel-x86_64-3.6.11-gentoo

    (chroot) livecd etc # ls /boot/initramfs*
    /boot/initramfs-genkernel-x86_64-3.6.11-gentoo


    (the thing is: they appear in the wrong order, which might be confusing for a noobs, like myself.)


Thank you!
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5249

PostPosted: Tue Jan 01, 2013 4:34 pm    Post subject: Reply with quote

The Portage tarball should have been unpacked before you chrooted anyway. That's why env-update didn't work.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
i3v
n00b
n00b


Joined: 01 Jan 2013
Posts: 6

PostPosted: Tue Jan 01, 2013 5:09 pm    Post subject: Reply with quote

OK, thank you for your reply!
Though, I was just trying to say: I can't see a thing about unpacking Portage before chroot in the guide....
Maybe I missed something?
Back to top
View user's profile Send private message
gabrielg
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2012
Posts: 87

PostPosted: Tue Jan 01, 2013 5:32 pm    Post subject: Reply with quote

audiodef wrote:
The Portage tarball should have been unpacked before you chrooted anyway. That's why env-update didn't work.

Is this still true with the latest handbook? I think that downloading+unpacking the Portage tarball was replaced by running emerge-webrsync, as per http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6 , step 6.b.

Edit: fixed link


Last edited by gabrielg on Tue Jan 01, 2013 6:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5249

PostPosted: Tue Jan 01, 2013 6:05 pm    Post subject: Reply with quote

Well, what do you know. This must be a recent update to the handbook. I have yet to make a fresh install using this method, so I will have to defer to someone else with more experience using this method.

But if you're new to Gentoo, I can tell you when I started out, I did installs more than once because I missed a step or didn't quite understand something. But not to worry! You'll get to the point where you'll know it like the back of your ha - hey! What's this? :P

FYI, your link didn't quite work. This is what you want: http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
i3v
n00b
n00b


Joined: 01 Jan 2013
Posts: 6

PostPosted: Tue Jan 01, 2013 6:19 pm    Post subject: Reply with quote

gabrielg wrote:
I think that downloading+unpacking the Portage tarball was replaced by running emerge-webrsync

This looks pretty feasible for me, since after I've installed Portage with
Code:
livecd usr # wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
livecd usr # time tar xjf portage-lat*

emerge-webrsync returned
Code:
(chroot) livecd portage # emerge-webrsync
Fetching most recent snapshot ...
 * Latest snapshot date: 20121230
 *
 * Approximate snapshot timestamp: 1356914700
 *        Current local timestamp: 1356914101
 *
 * The current local timestamp is possibly identical to the
 * timestamp of the latest snapshot. In order to force sync, use
 * the --revert option or remove the timestamp file located at
 * '/usr/portage/metadata/timestamp.x'.
.

Still, in current handbook, chapter 6, emerge-webrsync could be found in "Code Listing 2.1: Running emerge-webrsync to install a Portage snapshot" , which is below "Code Listing 1.5: Chrooting into the new environment"....
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Tue Jan 01, 2013 7:01 pm    Post subject: Reply with quote

You're right about the PORTDIR_OVERLAY error. This section of the handbook was reordered and changed slightly. I think the error is harmless, but if you post a bug for it https://bugs.gentoo.org/ the maintainers will probably fix it however is appropriate. Quite a few people have come across this and can confirm it.
Back to top
View user's profile Send private message
i3v
n00b
n00b


Joined: 01 Jan 2013
Posts: 6

PostPosted: Tue Jan 01, 2013 7:16 pm    Post subject: Reply with quote

jrussia wrote:
if you post a bug for it https://bugs.gentoo.org/ the maintainers will probably fix it

Thanks for your suggestion. I already was going to do it, but I wasn't sure, if I was right. So, I've posted this here before.

PS
Oops, someone already posted similar bugs there:
https://bugs.gentoo.org/show_bug.cgi?id=449192
https://bugs.gentoo.org/show_bug.cgi?id=447726

Sorry then...
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