Sammlung zum Umgang mit gentoo-linux:
Wenn emerge 'masked by ~x86' beim install ausgibt:
Es wäre also eine Mischung aus beidem sinnvoll - wir müssen Portage irgendwie mitteilen,
dass es über die bisher installierten ~x86-Pakete Buch führen soll und auch bei kompletten
Systemupdates speziell und nur für diese Pakete immer die ~x86-Schiene zu fahren.
Weil Portage das (noch) nicht kann, übernehmen wir das eben - und zwar so:
Beim ersten Mal müssen wir ein Verzeichnis erstellen:
Code:
# mkdir /etc/portage
Und dann für jedes Paket, mit dem wir künftig unstable fahren wollen - hier als Beispiel das allseits beliebte XMMS:
Code:
# echo "media-sound/xmms ~x86" >> /etc/portage/package.keywords
Vergesst diesen ACCEPT_KEYWORDS-Pfusch!
Tippt jetzt einfach emerge xmms und ihr bekommt ab jetzt IMMER die heiße unstable-Version
- zumindest bis ihr die entsprechende Zeile in der /etc/portage/package.keywords löscht oder auskommentiert.
Wenn die Meldung 'Warning ARCH is not set...' erscheint:
Warning: Don't forget to upgrade Portage before you change your profile!!!
Code Listing 3.2: Updating the /etc/make.profile symlink
substitute
# rm /etc/make.profile
# ln -s ../usr/portage/profiles/default-linux/
All archs - As said above, there are no big changes introduced in this profile.
However, it should be noted that sys-apps/slocate and net-misc/dhcpcd are no longer considered system packages.
This means that if you run emerge --depclean, Portage will try to remove them from your system.
If you need any of those packages, add them to /var/lib/portage/world after the profile switch, or manually emerge them.
Um einen schnellen Server fuer emerge einzustellen, kann man mirrorselect installieren, und hiernach mittels
mirrorselect -a -s4 -o -D grep | 'GENTOO_MIRRORS=' >> /etc/make.conf
diese in die make.conf schreiben lassen.
Sinnvoll ist dann, make.conf zu kontrollieren. ;-)
Beim booten wird gemeldet: 'cant find module /dev/rtc' usw
Slow down there, no need to reinstall. It appears you're missing kernel support for your real-time-clock, or RTC.
Personally I don't usually include support for it anyhow, but it's found in the character devices section of your kernel
config if you need it. If that's all you have wrong, I would suggest recompiling your kernel and modules for a start.
If that doesn't work report back...
Beim booten wird gemeldet: 'cant find module 8139too
You should be using the 8139too module, be carefull there are two versions, only one will work.
Code:
Network device support ---> Ethernet (10 or 100Mbit) ---> [*] Ethernet (10 or 100Mbit)
[*] EISA, VLB, PCI and onboard Controllers < >
RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)
[ ] Use PIO instead of MMIO
[*] Support for uncommon RTL-8139 rev. K (automatic channel equalization)
[ ] Support for older RTL-8129/8130 boards
[ ] Use older RX-reset method
Don't select the C+ version, I usually select the rev. K support as well (just in case)
Then add 8139too in /etc/modules.autoload. I usually compile it into my kernel.
kurze anleitung, um von der live-cd den Kernel erneut zu konfigurieren:
Code Listing 3.3: Reconfiguring the kernel |
Boot from the LiveCD and wait until you receive a prompt We first mount all partitions: # mount /dev/hda3 /mnt/gentoo # mount /dev/hda1 /mnt/gentoo/boot # swapon /dev/hda2 # |
© t.b. 03.2006 docver 0.1.1