View previous topic :: View next topic |
Author |
Message |
i3v n00b
Joined: 01 Jan 2013 Posts: 10
|
Posted: Tue Jan 01, 2013 12:12 pm Post subject: Hanbook - Installing Gentoo x86_64 vs x86 |
|
|
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...
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 |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
i3v n00b
Joined: 01 Jan 2013 Posts: 10
|
Posted: Tue Jan 01, 2013 5:09 pm Post subject: |
|
|
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 |
|
|
gabrielg Tux's lil' helper
Joined: 16 Nov 2012 Posts: 134
|
Posted: Tue Jan 01, 2013 5:32 pm Post subject: |
|
|
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 |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
i3v n00b
Joined: 01 Jan 2013 Posts: 10
|
Posted: Tue Jan 01, 2013 6:19 pm Post subject: |
|
|
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 |
|
|
jrussia Tux's lil' helper
Joined: 29 Aug 2012 Posts: 89 Location: Chicago
|
Posted: Tue Jan 01, 2013 7:01 pm Post subject: |
|
|
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 |
|
|
i3v n00b
Joined: 01 Jan 2013 Posts: 10
|
|
Back to top |
|
|
|