Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install Gnome 3 from scratch
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
Johnnydsg
n00b
n00b


Joined: 13 Jan 2013
Posts: 32

PostPosted: Mon Feb 25, 2019 1:32 pm    Post subject: Install Gnome 3 from scratch Reply with quote

I would like to install gnome 3 with systemd, from scratch, but I can not understand how to fit the manual "gnome from scratch" with the general manual. Please help me.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22338
Location: here

PostPosted: Mon Feb 25, 2019 1:46 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Project:GNOME/GNOME3-Upgrade-guide#Installation
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Johnnydsg
n00b
n00b


Joined: 13 Jan 2013
Posts: 32

PostPosted: Mon Feb 25, 2019 4:55 pm    Post subject: Reply with quote

fedeliallalinea wrote:
https://wiki.gentoo.org/wiki/Project:GNOME/GNOME3-Upgrade-guide#Installation


From scratch not upgrade!
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22338
Location: here

PostPosted: Mon Feb 25, 2019 5:44 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Systemd/Installing_Gnome3_from_scratch
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Johnnydsg
n00b
n00b


Joined: 13 Jan 2013
Posts: 32

PostPosted: Mon Feb 25, 2019 7:32 pm    Post subject: Reply with quote

Is this part of the manual necessary?
Quote:

Timezone
Select the timezone for the system. Look for the available timezones in /usr/share/zoneinfo/, then write it in the /etc/timezone file.

root #ls /usr/share/zoneinfo
Suppose the timezone of choice is Europe/Brussels:

root #echo "Europe/Brussels" > /etc/timezone
Please avoid the /usr/share/zoneinfo/Etc/GMT* timezones as their names do not indicate the expected zones. For instance, GMT-8 is in fact GMT+8.

Next, reconfigure the sys-libs/timezone-data package, which will update the /etc/localtime file for us, based on the /etc/timezone entry. The /etc/localtime file is used by the system C library to know the timezone the system is in.

root #emerge --config sys-libs/timezone-data
Configure locales
Most users will want to use only one or two locales on their system.

Locales specify not only the language that the user should use to interact with the system, but also what the rules are for sorting strings, displaying dates and times, etc.

The locales that a system should support should be mentioned in /etc/locale.gen.

root #nano -w /etc/locale.gen
The following locales are an example to get both English (United States) and German (Germany) with the accompanying character formats (like UTF-8).

FILE /etc/locale.genEnabling US and DE locales with the appropriate character formats
en_US ISO-8859-1
en_US.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE.UTF-8 UTF-8
Warning
We strongly suggest to use at least one UTF-8 locale because some applications may require it.
The next step is to run locale-gen. It will generate all the locales specified in the /etc/locale.gen file.

root #locale-gen
To verify that the selected locales are now available, run locale -a.

Once done, it is now time to set the system-wide locale settings. Again we use eselect for this, now with the locale module.

With eselect locale list, the available targets are displayed:

root #eselect locale list
Available targets for the LANG variable:
[1] C
[2] POSIX
[3] en_US
[4] en_US.iso88591
[5] en_US.utf8
[6] de_DE
[7] de_DE.iso88591
[8] de_DE.iso885915
[9] de_DE.utf8
[ ] (free form)
With eselect locale set VALUE the correct locale can be set:

root #eselect locale set 9
Manually, this can still be accomplished through the /etc/env.d/02locale file:

FILE /etc/env.d/02localeManually setting system locale definitions
LANG="de_DE.UTF-8"
LC_COLLATE="C"
Make sure a locale is set, as the system would otherwise display warnings and errors during kernel builds and other software deployments later in the installation.

Now reload the environment:

root #env-update && source /etc/profile && export PS1="(chroot) $PS1"
We made a full Localization guide to help the user guide through this process. Another interesting article is the UTF-8 guide for very specific information to enable UTF-8 on the system.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22338
Location: here

PostPosted: Mon Feb 25, 2019 7:41 pm    Post subject: Reply with quote

Depends on whether you have already made them during installation.
If yes, theoretically the steps are
  • checking if kernel is set for use systemd and the add to /etc/default/grub
    Code:
    GRUB_CMDLINE_LINUX="init=/lib/systemd/systemd"

    and re-run grub-mkconfig
  • Change to correct profile
    Code:
    # eselect profile set default/linux/amd64/17.0/desktop/gnome/systemd

  • update current package for new profile
    Code:
    # emerge --ask --update --deep --newuse @world

  • Install gnome 3
    Code:
    # emerge --ask gnome

  • Enable gdm as login manager
    Code:
    # systemctl enable gdm.service

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


Joined: 13 Jan 2013
Posts: 32

PostPosted: Mon Feb 25, 2019 7:45 pm    Post subject: Reply with quote

Gentoo is not already installed, I still have to install it. I would like to understand what are the correct steps
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22338
Location: here

PostPosted: Mon Feb 25, 2019 7:51 pm    Post subject: Reply with quote

Johnnydsg wrote:
Gentoo is not already installed, I still have to install it. I would like to understand what are the correct steps

Then first follow the handbook and install gentoo without any DE/WM using default/linux/amd64/17.0 rofile, when you have a working box change profile and install gnome 3.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Johnnydsg
n00b
n00b


Joined: 13 Jan 2013
Posts: 32

PostPosted: Mon Feb 25, 2019 8:22 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Johnnydsg wrote:
Gentoo is not already installed, I still have to install it. I would like to understand what are the correct steps

Then first follow the handbook and install gentoo without any DE/WM using default/linux/amd64/17.0 rofile, when you have a working box change profile and install gnome 3.


and the systemd and USE flags?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22338
Location: here

PostPosted: Mon Feb 25, 2019 8:39 pm    Post subject: Reply with quote

Johnnydsg wrote:
and the systemd and USE flags?

You right sorry correct profile for systemd is default/linux/amd64/17.0/systemd, keep an eye also to https://wiki.gentoo.org/wiki/Systemd
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Massimog
Apprentice
Apprentice


Joined: 04 Nov 2011
Posts: 152
Location: Osimo(AN)

PostPosted: Wed Feb 27, 2019 12:01 am    Post subject: Reply with quote

fedeliallalinea wrote:
Johnnydsg wrote:
and the systemd and USE flags?

You right sorry correct profile for systemd is default/linux/amd64/17.0/systemd, keep an eye also to https://wiki.gentoo.org/wiki/Systemd

Code:
Available profile symlink targets:
  [1]   default/linux/amd64/13.0 (stable)
  [2]   default/linux/amd64/13.0/selinux (dev)
  [3]   default/linux/amd64/13.0/desktop (stable)
  [4]   default/linux/amd64/13.0/desktop/gnome (stable)
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd (stable)
  [6]   default/linux/amd64/13.0/desktop/plasma (stable)
  [7]   default/linux/amd64/13.0/desktop/plasma/systemd (stable)
  [8]   default/linux/amd64/13.0/developer (stable)
  [9]   default/linux/amd64/13.0/no-multilib (stable)
  [10]  default/linux/amd64/13.0/systemd (stable)
  [11]  default/linux/amd64/13.0/x32 (dev)
  [12]  default/linux/amd64/17.0 (stable)
  [13]  default/linux/amd64/17.0/selinux (stable)
  [14]  default/linux/amd64/17.0/hardened (stable) *
  [15]  default/linux/amd64/17.0/hardened/selinux (stable)
  [16]  default/linux/amd64/17.0/desktop (stable)
  [17]  default/linux/amd64/17.0/desktop/gnome (stable)
  [18]  default/linux/amd64/17.0/desktop/gnome/systemd (stable)
  [19]  default/linux/amd64/17.0/desktop/plasma (stable)
  [20]  default/linux/amd64/17.0/desktop/plasma/systemd (stable)
  [21]  default/linux/amd64/17.0/developer (stable)
  [22]  default/linux/amd64/17.0/no-multilib (stable)
  [23]  default/linux/amd64/17.0/no-multilib/hardened (stable)
  [24]  default/linux/amd64/17.0/no-multilib/hardened/selinux (stable)
  [25]  default/linux/amd64/17.0/systemd (stable)
  [26]  default/linux/amd64/17.0/x32 (dev)
  [27]  default/linux/amd64/17.1 (dev)
  [28]  default/linux/amd64/17.1/selinux (dev)
  [29]  default/linux/amd64/17.1/hardened (dev)
  [30]  default/linux/amd64/17.1/hardened/selinux (dev)
  [31]  default/linux/amd64/17.1/desktop (dev)
  [32]  default/linux/amd64/17.1/desktop/gnome (dev)
  [33]  default/linux/amd64/17.1/desktop/gnome/systemd (dev)
  [34]  default/linux/amd64/17.1/desktop/plasma (dev)
  [35]  default/linux/amd64/17.1/desktop/plasma/systemd (dev)
  [36]  default/linux/amd64/17.1/developer (dev)
  [37]  default/linux/amd64/17.1/no-multilib (dev)
  [38]  default/linux/amd64/17.1/no-multilib/hardened (dev)
  [39]  default/linux/amd64/17.1/no-multilib/hardened/selinux (dev)
  [40]  default/linux/amd64/17.1/systemd (dev)
  [41]  default/linux/amd64/17.0/musl (exp)
  [42]  default/linux/amd64/17.0/musl/hardened (exp)
  [43]  default/linux/amd64/17.0/musl/hardened/selinux (exp)
  [44]  default/linux/amd64/17.0/uclibc (exp)
  [45]  default/linux/amd64/17.0/uclibc/hardened (exp)


18 is the right profile
_________________
Distribuzione: Gentoo x86_64
Desktop: GNOME 3.30.2
Back to top
View user's profile Send private message
Johnnydsg
n00b
n00b


Joined: 13 Jan 2013
Posts: 32

PostPosted: Wed Feb 27, 2019 9:43 am    Post subject: Reply with quote

At the time of the first (from scratch) installation of Gentoo - Gnome 3, systemd is not active yet, right? However, I have to set the Timezone and configure locales, should I use the procedure that would be used for OpenRC?

what's wrong? https://www.dropbox.com/s/ba2nm5e21a4lm6n/Guida%20Installazione%20Gentoo.odt?dl=0&fbclid=IwAR3_x6L5T5ay3NLJhxKsjONlGcmQzdIMyTnHZTQQ6enovuTblGrZCyivcBU

After reboot, systemd does not work, the keyboard layout is wrong, the network does not work!
Back to top
View user's profile Send private message
Johnnydsg
n00b
n00b


Joined: 13 Jan 2013
Posts: 32

PostPosted: Thu Feb 28, 2019 7:56 am    Post subject: Reply with quote

No one who wants to help me?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22338
Location: here

PostPosted: Thu Feb 28, 2019 8:12 am    Post subject: Reply with quote

What you mean with "systemd not work"? you can be more specific?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Johnnydsg
n00b
n00b


Joined: 13 Jan 2013
Posts: 32

PostPosted: Thu Feb 28, 2019 9:15 am    Post subject: Reply with quote

fedeliallalinea wrote:
What you mean with "systemd not work"? you can be more specific?


Code:

root #systemctl enable systemd-networkd.service
root #systemctl start systemd-networkd.service
Note that systemd-networkd does not update resolv.conf by default. To have systemd manage the DNS settings, replace resolv.conf with a symlink and start systemd-resolved.

root #ln -snf /run/systemd/resolve/resolv.conf /etc/resolv.conf
root #systemctl enable systemd-resolved.service
root #systemctl start systemd-resolved.service


These commands --> file not exist
Back to top
View user's profile Send private message
Johnnydsg
n00b
n00b


Joined: 13 Jan 2013
Posts: 32

PostPosted: Sun Mar 03, 2019 8:21 pm    Post subject: Reply with quote

I have update https://www.dropbox.com/s/ba2nm5e21a4lm6n/Guida%20Installazione%20Gentoo.odt?dl=0&fbclid=IwAR3_x6L5T5ay3NLJhxKsjONlGcmQzdIMyTnHZTQQ6enovuTblGrZCyivcBU

Now, systemd work, but I have this message at reboot

Code:

ADDRCONF(NETDEV_UP): eno1: link is not ready ', 'IPv6:
ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready


and the system hangs.

This is with Ubuntu 18.10 (dmesg)
Code:

   30.555376] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[   30.740232] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[   30.744781] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[   30.745780] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[   33.642086] e1000e: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   33.642122] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready


but the system doesn't hangs!
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