Questions tagged [gentoo]
Gentoo is a free and open source Linux and FreeBSD distribution that uses the Portage package management system.
316
questions
32
votes
3
answers
25k
views
Skip a specific upgrade in emerge -auvD world
Is there a simple way to skip a certain upgrade in emerge -auvD world?
For example, currently there is a broken media-sound/teamspeak-server-bin-3.0.5-r1 marked as stable in the portage tree which ...
25
votes
9
answers
15k
views
Use Caps Lock LED as HDD LED (or custom) indicator
I have my Caps Lock key remapped to Esc, so now I have a LED on my keyboard that is never on. I'd like to use it for something useful, like HDD or LAN activity.
Especially that I'm using a computer ...
23
votes
4
answers
18k
views
Is it a good idea to use git for configuration file version controlling?
I use Gentoo Linux and it has rather complex configuration. My question is it wise to use git for version controlling my config files?
I have some git repos in my home, my guess if I put /home/** to ...
20
votes
3
answers
64k
views
What does `tar -C` mean?
In the section "Installing Portage", the Gentoo installation docs say:
# tar xvjf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usr
What does this command do?
19
votes
3
answers
30k
views
Set proper rights for sshfs mountpoint so it can be shared with samba
I have a domain hoster that provides access via SSH.
My platforms are:
Gentoo 2.6.36-r5
Windows (XP/Vista/7)
I work on my Windows, I use Gentoo to do all the magic Windows can't do.
Therefore I ...
14
votes
3
answers
5k
views
Display messd up with weird characters in Gentoo after `cat` a binary file
I ran cat /etc/localtime to see the contents of /etc/localtime - however it's a binary file, so my console became like this:
You may notice the red text in screenshot is "LiveCD"; commands can be ...
13
votes
3
answers
6k
views
Don't let the mouse wake up displays from standby
I like to put my displays to powersave/standby mode when I leave the computer for a while. It would be ok if it weren't for oversensitive mouse. Sometimes the driver reads in some movement that's not ...
12
votes
5
answers
17k
views
Chrome 33 shows ugly, blocky, pixelated fonts in Linux
After updating to the latest version of Chrome (33) on my Gentoo Linux box, certain sites such as GitHub have started rendering with ugly, pixelated, non-antialiased fonts. Small text is now basically ...
11
votes
2
answers
4k
views
The Less command can list directory contents in Gentoo Linux, but not in Ubuntu Linux
I regularly use the 'less' command in Gentoo like so:
less /tmp
(or any other directory, which I have access to.)
Less then proceeds to show me the contents of that directory. I can also use Less to ...
10
votes
2
answers
894
views
How does WUBI handle partitions upon shutdown?
Alright, so, basically, I'm trying to boot up Gentoo in a manner similar to WUBI; I have an installation on an ext4-formatted loopback file, BURG installed under the Windows Bootloader, and the kernel/...
9
votes
5
answers
119k
views
grub2-install: error: /boot/efi doesn't look like an EFI partition on a fresh Gentoo install
I need a Gentoo 13 machine to test some software on the platform. I'm not a Gentoo regular, so I'm suffering their install procedures. I'm at
Configuring the bootloader | Installing GRUB2, and it ...
9
votes
1
answer
2k
views
Why is Chromium running all tabs in a single process?
Typically, Chromium will group n tabs together into a single OS process, where n is typically a small number.
However, for one of my Chromium profiles, all of my currently open tabs appear to be in ...
8
votes
1
answer
42k
views
iproute2 not functioning ("RTNETLINK answers: Operation not supported")
The command and error message:
gtwy ~ # ip rule add from 64.251.23.186 table t1
RTNETLINK answers: Operation not supported
Older article of the same problem, but it did not help me: http://forums....
7
votes
3
answers
6k
views
restore /dev after `rm`ing it
during a gentoo install from the livedvd, there's one step to create a dev dir to be used later in the chroot of the target for the instalation
it's done like that
mount --rbind /dev /mnt/gentoo/dev
...
7
votes
1
answer
22k
views
How do I update a package on Gentoo Linux
How do I update a package in Gentoo Linux?
7
votes
2
answers
5k
views
Is it possible to install Gentoo portage manager (emerge) on Ubuntu?
And vice versa?
For example install apt-get on Gentoo and connect Ubuntu's repositories.
And if it is possible how can I do it? (at least in general terms)
7
votes
1
answer
8k
views
Keep notification area always show on GNOME 3
I've installed GNOME 3 on my Gentoo Linux, it really awesome and I love it.
But here is a little glitch that I don't get used to: The notification area is hide until I hit "Windows" key or move the ...
6
votes
4
answers
19k
views
pkg-config doesn't find package file when folder is listed in PKG_CONFIG_PATH
So here is my PKG_CONFIG_PATH contents:
/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
and here is the output of locate lv2.pc (lv2 is the library I'm trying to link with)
/usr/local/lib/pkgconfig/lv2....
6
votes
2
answers
15k
views
Root file system is mounted read-only on boot on Gentoo Linux
I am using Gentoo Linux and for a while now, the root file system is mounted read-only on booting. For obvious reasons, this is quite annoying as most services do not start up correctly (I do not use ...
5
votes
3
answers
4k
views
How to make unicode characters visible in Emacs?
When I open a file with some UTF-8 text in it the characters show up as boxes.
I think I have a font missing, because I can safely edit these boxes and the changes will turn out correctly when I look ...
5
votes
6
answers
44k
views
How to repair an SD card which shows incorrect size?
I have a 16 GB Transcend SD card and am using it in my smartphone. One day I discovered that the smartphone recognizes it as only 6 GB. I've tried to find the solution to set the correct size of the ...
5
votes
3
answers
6k
views
udev: waiting for uevents to be processed on my Gentoo
During the startup I see machine executing this thing for about 30 seconds:
udev: waiting for uevents to be processed
Then I get a quick message which says something like:
devfs: timeout (50 ...
5
votes
2
answers
3k
views
Update udev after fdisk run
How to update /dev directory after creation of new partition on a disk?
I have the udev installed, it works perfectly except this. The new devices appear only on reboot.
5
votes
1
answer
1k
views
Emerging package from overlay
I'm using gentoo, and I've been trying to emerge leksah package from haskell overlay:
root # layman -a haskell
root # layman -s haskell
root # emerge -av app-editors/leksah
However emerge keeps ...
5
votes
2
answers
7k
views
emerge complains about blocked packages: what do I do?
We have an old development server running Gentoo at work. I would like to update this system, but I keep running into problems with the packaging system. To me, it seems like there are dependencies on ...
5
votes
2
answers
2k
views
Mounting a USB digital camera on Gentoo
I'm having trouble mounting my Kodak EasyShare C190 under gentoo. It seems to be getting recognized without issue, but as far as I can tell is not assigned a device-name with which to mount it:
lsusb ...
5
votes
3
answers
7k
views
Which keymap should I use for a wired Mac keyboard in Gentoo Linux?
I just purchase the new wired Mac keyboard:
Running on Gentoo Linux it works mostly fine. The only problem I am having is the function keys and swapping the Alt and Command keys to resemble a regular ...
5
votes
1
answer
9k
views
How to configure grub.cfg to decrypt root partition?
I'm using common "pattern" well known as LVM on LUKS. I have /dev/sda1 which is used for /boot and /dev/sda2 which is dm-crypted partition (default aes-sha512-xts). There are two lvm partitions: one ...
4
votes
2
answers
6k
views
gpg symmetric encryption using pipes
I'm trying to generate keys to lock my drive (using DM-Crypt with LUKS) by pulling data from /dev/random and then encrypting that using GPG.
In the guide I'm using, it suggests using the following ...
4
votes
2
answers
5k
views
How to see which device uses which kernel module?
I have a Samsung phone GT-B3210. For some time I was unable to find working Windows drivers for it. I eventually gave up looking. Then one time I was charging phone over its USB port and booted Ubuntu ...
4
votes
2
answers
5k
views
How to install a old ebuild while it's no longer in the portage tree? For example, subversion 1.4.4
For compatibility reasons, I want to install subversion-1.4.4-r4 rather than the latest.
4
votes
2
answers
2k
views
If i miss something in make menuconfig do i need to rebuild the kernel?
I left out an ethernet adapter driver in my make menuconfig - do I have to build the kernel again (gentoo distro) or is there a way to build in support once the os has been installed and running?
4
votes
3
answers
3k
views
How to prevent a process starting?
I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.
4
votes
1
answer
4k
views
Mounting /dev/shm in a Gentoo chroot on Xubuntu 14.04
I'm trying to install Gentoo, and instead of using one of the bootable minimal install CDs provided by Gentoo, I'm using a chroot in Ubuntu. I'm mainly following the instructions outlined here, http://...
4
votes
1
answer
8k
views
What is the correctest way to install Qt5 in Gentoo Linux?
I already do following things:
# layman -a qt
# cat /etc/portage/package.accept_keywords
=x11-libs/qt-core-5.9999 **
=x11-libs/qt-network-5.9999 **
=x11-libs/qt-dbus-5.9999 **
=x11-libs/qt-...
4
votes
1
answer
2k
views
GENTOO: disadvantages to using genkernel all?
I'm wondering, what are the disadvantages to using genkernel when I'm compiling a kernel in gentoo? Is it perfectly ok to use genkernel all in pretty much any situation and skip this difficult/arduous ...
4
votes
1
answer
1k
views
"Load average" stuck on 7.0
I'm using gentoo and anytime I do uptime, my "Load average" is stuck at 7.0 across the board. When using top or htop or dstat the CPU usage is always idle. The computer is used to run a Java program ...
4
votes
1
answer
1k
views
Gentoo based custom Live CD won't boot
I followed this guide for building a Gentoo based custom live CD but I didn't manage to preform a complete boot.
The kernel boots from the initrd and start scanning modules. After that it states "...
4
votes
1
answer
3k
views
How can I force linux to use HDMI video for the console?
A while ago I repurposed an old Acer 8940 laptop to be a home theatre system using XBMC on top of Gentoo. I have video over HDMI to my 1080p TV which is working perfectly with X, and audio via the ...
4
votes
1
answer
2k
views
Extracting init script from bult-in intrfs into Linux bzImage
I have following problem - I damaged my system (Gentoo - by rebuilding using gcc 4.5) beyond repair. I unmounted /home, copied /etc + other important files and I've started reinstalling system.
...
4
votes
0
answers
412
views
How to get persistent audit logs?
I am currently trying to figure out which application is creating a mysterious socket file called "no" in my home directory. It happens only every few weeks, that is why I have setup auditd ...
4
votes
1
answer
283
views
Gentoo Blocky Fonts
So, I've fresh installed Gentoo with Gnome. Ever since then I've had super blocky fonts like this
I'd appreciate any help on this, or really just a link to anything else because googling gets me no ...
4
votes
1
answer
1k
views
Gentoo Linux: Building a kernel that only only contains drivers for the hardware in place
I would like to build a kernel for my system that only contains modules for the hardware which is really in place. Of course I can walk through lspci and manually select all the necessary device ...
3
votes
2
answers
384
views
Is the INIT process necessary for an ultralight Linux installation?
I am working on a light version of linux for no particular reason other than to see how small I could make it. I was wondering if INIT was necessary, or if I could perform all of the INIT-related ...
3
votes
2
answers
2k
views
xfce 4.10 panel broken align
I've just updated to xfce 4.10 on gentoo. plugins such as datetime, networkmanager and etc was always at the right of the panel. I've tried to find an option such as "align" but no luck. I dont ...
3
votes
2
answers
161
views
Building a Linux Environment in a VM for use Outside of the VM
I'd like to switch from Ubuntu to a distro that doesn't hold my hand so much, so I thought Gentoo would be interesting to play with. From what I understand though, a lot of time will be spent ...
3
votes
1
answer
3k
views
Using minimal LXC containers as an advanced and secure chroot to isolate services
First of all I'm not a security expert, and I never used LXC before.
I'm trying to harden as much as possible a Gentoo hardened server. To do so, I'm thinking to use LXC, maybe combined with KVM, to ...
3
votes
3
answers
7k
views
Gentoo LDFLAGS optimizations really needed?
I'm using Gentoo Linux.
Here is my toolchain:
sys-kernel/linux-headers-3.9
sys-devel/binutils-2.23.1 USE="cxx nls zlib -multislot -multitarget -static-libs {-test} -vanilla"
sys-devel/gcc-4.7.3-r1:...
3
votes
2
answers
4k
views
No internet in Linux after rebooting from Windows
After rebooting from Windows XP to Gentoo Linux, I can't connect to anywhere (internet, others computers, router). Internet is working fine if instead of rebooting I shutdown the PC and then boot ...
3
votes
2
answers
127
views
How to tell if a distro was made using Gentoo
I've downloaded a Linux distribution and tried it on my PC. When I checked the documentation I noticed that there was no information about how it was developed. I wonder if it was developed using ...