Zh TW:FAQ

From Sabayon Wiki
Jump to: navigation, search
i18n: ca en es zh_TW

Contents

FAQs

常見的關於 Sabayon Linux 的問題

What is Linux 是基於哪一個發行板?

Sabayon Linux 是基於 Gentoo GNU/Linux 系統. Gentoo 是一款以『原始碼』為主的Linux發行板。

什麼是以『原始碼』為主的發行板?

大部分的Linux發行板,比如 Ubuntu、 Debian、 Red Hat、 Fedora Core、 Suse、和 ArkLinux都是以『2進至』軟件來進行安裝的。簡單的說,2進至軟件就是預先再別的機器上編譯好的軟件,並且能夠安裝再別的電腦上(如同Windows上的 .exe 檔)
『原始碼』為主的發行板是一種當您需要安裝新的軟件時,您必須先再自己的電腦下載原始碼並且經過編譯後再安裝,並不像其他發行板一樣下載編要好的軟件包。當然,如果遇到要編譯很久的包,比如Openoffice,他們仍舊會提供2進至包的。

為什麼我該選像 Sabayon Linux 這類原始碼為主的發行板?

使用原始碼為主的發行板有二樣好處:
首先呢,因為不用等待別人編譯好新的軟件,您永遠可以安裝最新的軟件,而且還可以位他進行優化。
另外,如果有一些功能您不想要使用,那您為什麼還要安裝他呢?原始碼編譯就有這樣的好處,自己選自己想要的功能來安裝。

什麼是 Pro Edition?

Sabayon Professional Edition 是另外一款以穩定為主的發行板,主要面對的是需要穩定性能的商業用戶。他預先不包含遊戲、3D特效或多媒體的支援,當然,因為穩定為主,初始化設定您安裝的都是穩定而不是最新的軟體。(仍然可以裝最新的軟體,只要修改測定就夠了)

How Do I Get The Cube Desktop Thing Working?

So your 3D desktop is broke, but it worked just fine with the livecd/dvd

Well in theory what you see is what you get when you install Sabayon Linux, so if 3D desktop was working with the livecd/dvd it should follow through and work when you boot into your fresh new install. Well, we all know that what works in theory doesn't always work in practice; it just doesn't work for everyone. So what can you do, you ask us a million times a day in #sabayon.

The first thing you need to do is make sure you md5sum is good after you download your .iso file, I can't stress this enough. make sure you have burnt the cd as slow as possible with burn verify.

You will be asked those two questions every time, so please do this so we don't have to waste bandwidth re-asking. It may seem petty to you about checking the md5sum, but without knowing you're starting out with a good iso file it's pointless. We can spend weeks troubleshooting and if your md5sum was bad, holy smokes we just wasted a lot of time and caused a lot of frustration. With a bad md5sum you can still get a bootable working desktop, but may have issues else where. So keep in mind, just cause it boots, doesn't mean the iso is good. How do I check the md5sum and disk you ask? Well lucky for you: How to verify md5sum and disk

OK, so you made sure the md5sum was good and you burnt the disk at a nice slow speed with burn verify enabled. Now we can start looking at other things. Do you have the latest and correct video driver? That will be first thing to know.

Nvidia card owners, the following link will save you hours of frustration. Yes, certain cards require certain drivers: http://gentoo-wiki.com/HOWTO_nVidia_Dri ... he_drivers If masking gives you hives wondering what it is, then please read more here: http://gentoo-wiki.com/Masked

Our wiki also has howto get nvidia and ati cards working too, use the relevant information: http://wiki.sabayonlinux.org/index.php? ... in_Sabayon

OK, so you doubled checked your video card and you have the proper driver installed and you have restarted X. How do you restart X you ask?? Well, a simple key stroke combination of ctrl+alt+backspace or open konsole or terminal and type su - then your root password then /etc/init.d/xdm restart --- either method works. If all else fails, reboot the computer.

Now you're back in the desktop, time to run Acceleration Manager, this can be done several ways. It can be found in the Kmenu, click the kmenu icon and it's there some place. I prefer the terminal myself so I will explain that.

open konsole or terminal
type su
enter root password
type accel-manager
wait and a nice box with options will come up, make your selection according to your video card abilities, then restart X. Most people forget to restart X after this process. It should be working, if you don't have the blue square fusion-icon in your task bar then simple hit alt+F2 and type in fusion-icon to start the 3D world.

The above method will work for most people, but you will find that maybe it didn't work for you. Why? I don't know. A little bit of research into /etc/X11/xorg.conf can usually resolve the remaining few that have problems. The following links are full of information for AIGLX and XGL, again, only use the information that is relevant. You will want to pay attention to the xorg.conf settings they have on those pages and compare it to your xorg.conf so it matches. howto AIGLX http://gentoo-wiki.com/HOWTO_AIGLX howto XGL http://gentoo-wiki.com/HOWTO_XGL

Still having problems? Buy a new video card!

If you want to post your special sauce to how you got it working - please do. Mine just works all the time so I don't have such problems. Source of Information.

livecd/dvd 的密碼是多少?

root 帳號的密碼是: root
sabayonuser 帳號的密碼是: sabayonuser

啟動 LiveCD

Q: Installing Sabayon 64 mini 1.10.06, the process stop after the message "preparing the live CD environment". What can I do ? (board ASUS, chipset VIA, Intel 2core 2.82). Thanks.

A: Press alt-f1 for verbose mode which well help you find better information on where exactly it's sticking. Also when you boot from the CD you can try some of the different grub boot options. Press f1 through f4 to see what options you can enable or disable.

Please See the Cheat Codes for list of options you can try

Installation

Q: What are the minimum system requirements (CPU, memory, hard disk space, graphic card) for installing and running Sabayon Linux on my desktop or laptop PC?

A: All system requirements, for both accelerated or not accelerated video are listed here. A package selection tool is also available.


Q: When X starts I don't see anything, it seems like the resolution is too high.

A: Press the "Ctrl Alt +" or "Ctrl Alt -" key combination's to cycle through the different resolutions until you can see the screen. Afterwords you can set your resolution in KDE with the "kcontrol" application, you can directly modify your /etc/X11/xorg.conf file, or you can also use "Ctrl Alt F1" to get to the console.


Q: Is there a updated repository of binary packages I can use rather than compiling everything from source for updates?

A: Actually not, but there are reasons for it! Please read here for some explanation of what Sabayon Linux is not :)

  ----NOTE: Entropy is in development for a binary package manager.  You can emerge equo and then equo --help to see list of options.  A gui to Equo, Spritz, is also in the making.

多媒體

Q: 這些在桌電上也能夠使用嗎?

A: 是的,只要他的硬體規格符合以下需求,請見 here

遊戲

Please Visit our Gaming Shed

XGL/AIGLX

Q: Is there a link or some info about which ATI or NVIDIA cards are supported with XGL?

A: While not a complete one, Gentoo Wiki has a very good list about XGL supported cards here: [1]


Q: What about AIGLX ?

A: Also on the Gentoo Wiki: [2]


Q: In the Sabayon Wiki it says that ATI official closed source fgrlx drivers can be used to run AIGLX. Is this possible? Previously this only worked with XGL, and the open source DRI (Direct Rendering Infrastructure) "radeon" drivers were needed to use AIGLX.

A: For some ATI cards AIGLX can be activated with the "radeon" driver provided that DRI is enabled. Success depends on the card type and the radeon driver support included in DRI for it; if the command line glxinfo | grep direct says "direct rendering: Yes" with radeon driver, then by all means you can use this instead of fglrx drivers. At present time AIGLX is not very well supported by the official ATI drivers but for a few cards.

Wolfden's Most Seen Asked Questions

What is Sabayon Linux

Sabayon Linux is based on the source-based distro named Gentoo - http://gentoo.org. Gentoo is a highly customizable distro which we have used as our base and using their excellent development techniques, we have created a pre-configured distribution with the tenets of Performance, Versatility, and Stability. If you have any more question about what Gentoo is and its philosophy, please visit their website. This guide is just a basic guide to get you on the correct paths.

和Gentoo主要的不同在哪?

  • Overlay: 我們有自己的overlay和一些經過我們的patch的軟件。
  • 效能: 我們修改了 make.conf 確保我們的發行板能以最快的速度跑於新的電腦硬體和舊的硬體上。不過,這不代表我們的發行板適合用於 Pentium Pros 上,雖然他是很常見的。
  • Versatility: Again, we have modified make.conf to give nice wide range of features for all computers. We have also compiled the kernel to run well against most of the architectures out there while still leaving plenty of room for performance and, as always, the ability to change anything at your desire.
  • Entropy: We have a binary package manager that can be used as a stand alone package manager. It also works with portage so you can use emerge and entropy together. A binary is a prepackaged file already built that you use for installing instead of having to compile the source file.

Why is there two versions, a Standard and Professional?

We have two versions to suit our user base. Some want the "bleeding edge", which is the Standard Edition. It has all the bells and whistles you dream of. It's built on the unstable branch aka testing branch. Professional Edition is designed for the business users and built on the stable branch. It lacks the latest and greatest, hence the word stable branch. It doesn't come with 3D Cube or games and even lesser packages than the Standard Edition. You can install the games, 3d Cube and other packages on the Professional Edition yourself. Read more on mixing branches.

What are the requirements to run Sabayon Linux?

  • Live 桌面環境 - 沒有 3D 效果桌面:
    • i586 處理器 ( AMD K5 和 Intel Pentium 以上)
    • 至少 128MB 的記憶體 (建議256)
    • 2D 繪圖卡
    • DDC 相容的螢幕
    • 滑鼠鍵盤
  • Live 桌面環境 - 3D 效果桌面:
    • i686 處理器 ( AMD K6 和 Intel Pentium II 以上)
    • 至少256MB 記憶體 (建議512 )
    • OpenGL 相容的 3D 繪圖卡 (比如 NVIDIA, ATI, Intel, VIA)
    • DDC 相容的螢幕
    • 滑鼠鍵盤
  • 安裝需求:
    • i586 處理器 ( AMD K5 和 Intel Pentium 以上)
    • 至少 256MB 的記憶體(建議1GB suggested 來使用最新的3D桌面環境)
    • OpenGL 相容的 3D 繪圖卡 (比如 NVIDIA, ATI, Intel, VIA)
    • 12GB 的硬碟空間,這是DVD安裝的最少需求
    • 5GB 的硬碟間,這是 miniCD 安裝的需求
    • 聯接至網際網路 (不是必須但建議)
    • DDC 相容的螢幕
    • 滑鼠鍵盤

Package Manager Questions

I just installed it, what do I do first?

This question has always amazed me. Who says there is anything to do? How about just using the operating system and getting familiar with it? Take some time and read the documentation. If you insist on having to do something then emerge --sync && layman -S to update your package list.

How do I update/install packages?

This is a general question and can be answered several ways. One way is by using emerge and portage. This is done via command line interface aka CLI. To install you will need to have root power so you will need to:

  • Open konsole or terminal
  • Type su to switch to root
  • Enter your password and hit enter, you will not see any actual typing as you enter your password
  • Run the command emerge --sync && layman -S First time you run this, it will take some time, have some patience, it will be quicker next time. All this does is syncs your package list for portage and layman. You will see all sort of crazy text fly by, that is perfectly normal. Remember to always sync before you install or upgrade any package.
  • Lets say we want to update/install amarok once our emerge --sync && layman -S is done
  • Simply enter emerge amarok then let it go and once you see the Success message you know it is upgraded/installed.
  • HOWTO Use Portage Correctly
  • HOWTO Maintain Gentoo - "Best Practices"
  • Handy Quick Reference of using emerge commands
  • Sabayon Wiki Portage Guide

Emerging is by no means a fast process. Remember your goal is setup your config files and recompile the system to your hardware and useage. Get to know your USE Flags as they are very important. USE Flags are a keyword that embodies support and dependency-information for a certain concept. If you are new, get to know the operating system first before attempting a recompile. You can not blindly reconfigure and recompile. You will easily catch on to this if you read the documentation.

What About a GUI For Managing Packages?

There are GUI package manager available, but they are no substitute for the command line emerge.

  • Portato is Sabayon's default package manager as it is the most actively developed. Of all the package managers out there, this is the one I recommend. Home Page
  • Kuroo is another package manager with limited development. They do have a Portage Viewer only program called Kuroolito. You can use it to browse through portage then emerge your packages.
  • Porthole hasn't had much done to it over the past couple years, but there is rumor that it could get an update.
  • HiMerge has a very high degree of difficulty for installation. I have no experience with this program, but hear nothing but complaints on how hard it is to install.

Personally if you have to rely on a GUI, then try to just use it as a browser to portage, but still use the command line to install your packages. You will save yourself a lot of headaches. Search and gather your information needed with the GUI then open up konsole or terminal and install.

我要怎麼一次安裝許多軟體?

# emerge 軟體A 軟體B 軟體C 軟體D 軟體E

這將會編譯一個一個軟體並安裝。

我要怎麼尋找我要安裝的軟體資訊?

# emerge -s 軟體名稱

使用 EIX

尋找軟體資訊的話我強烈推薦eix。他是文字介面的軟體,但是可以讓您很快速的找到您要的資訊。

#emerge eix && update-eix
$ eix 軟體名稱

以gedit為例:

[I] app-editors/gedit
    Available versions:  2.18.2-r1 2.20.3 (~)2.20.4 {acl debug doc python spell xattr}
    Installed versions:  2.20.4(07:05:31 AM 12/29/2007)(python -debug -doc -spell -xattr)
    Homepage:            http://www.gnome.org/
    Description:         A text editor for the GNOME desktop

eix具有能力搜索 portage 和所有 overlays.您只要編輯 /etc/eix-sync.conf 和加上 * echo "*" >> /etc/eix-sync.conf 然後用

# update-eix-remote update

現在當您再搜索軟體的時候,eix也會幫您尋找overlay裡的 ebuild了

PS:每次更新ebuild後請用 update-eix 來更新eix的資料庫。

 #update-eix

Can I emerge 2 packages at same time?

Yes you can, but it can and will bog your system down. It's not really recommended.

How do I update everything at once?

If you are new to this operating system and have no understanding of portage, I do not recommend this till you get to know how this operating system works. This is one of the fastest ways to destroy your system. This distro is not like the other distros that have the big easy button update. We do not have update notifications like other distros. For your information tho, world update is what Gentoo calls updating your entire system. It looks at your world file and compares it to portage and then proceeds to update all packages. Following is how:

You've been warned, when you come yellin cause you're system won't boot, don't expect sympathy.

怎樣移除軟體?

# emerge -C 軟體名稱

Note - this will not remove the dependencies. You will need to run depclean for that. I stress very very strong caution with depclean as it means what it says.

How do I find out which packages depend on a certain package?

# equery depends foo

It will tell you all files depending on that package. See using gentoolkit for more information and commands.

I keep getting !!! ARCH is not set... Are you missing the 'etc/make.profile' symlink?

In konsole su to root and:

  • Run the following command: eselect profile list
  • Look for something like: default-linux/x86/2007.0/desktop and note the number in front of it
  • Then do: eselect profile set # <--replace the # with the number. In my case it would be eselect profile set 6

Now you should be good to go again.

Do I have to download the cd/dvd every time to upgrade?

If you are not familiar with portage then the best route is to wait till the next release is available. You can upgrade through portage and layman only if you know what you are doing. The installer has several options for you. Always backup your files before doing anything. My personal opinion, backup, fresh install, restore backup. Equo is going to make this easier in the future. You will be able to take the mini and upgrade to a full dvd version also. More information will come on this. If you are familiar with the system then you can keep up to date via portage and layman.

What is Entropy or Equo?

The binary system of Sabayon Linux. You will use the client called equo to access the entropy system to install binary packages. This is still in beta stages as of 3.5 Loop1. We don't have a lot of documentation on it yet as it's still being developed.

  • Use equo --help for finding out the list of commands
  • Example of installing a package equo install foo of course you will want to make sure your database is installed and updated first. equo database generate or equo update if you already had equo installed.
  • To search for package equo search foo
  • To remove a package equo remove foo
  • Spritz will be the GUI for Entropy, but is still in major development.

A binary is a prepackaged file already built that you use for installing instead of having to compile the source file. Equo and Spritz will handle these files.

How do I make sure my system is secure?

It's pretty easy to keep your system secure.

  • Open up konsole or terminal and su to root
  • Run the command glsa-check -t all to check your system
  • Then to fix run glsa-check -f $(glsa-check -t all)

How do I handle blocked packages?

You are gonna run into packages blocking other packages. This can happen for several reasons, ie a package has been dropped from portage as it no longer exists. In most cases you will simply remove the package that is blocking the new package. You will want to do some researching on this first. Don't take portage for granted and blindly do as it says without checking out what or why.

How to handle masked packages?

A package is complaining that it is masked and can not install. This is one of those times you want to check why it is masked. A masked package is usually masked to prevent you from busting things. There is several ways a package can be masked. You can still install masked packages, but make sure you find out why they are masked.

How do I update the config files?

As you install stuff, some packages are gonna bring in config files. These config files are important as they may have new settings for that package that need to be implemented. I stress that these config files are very very critical to pay attention to. You can change the entire outcome of your computer if you are not careful. Get to know your config files. There is several ways to handle these files, etc-update and dispatch-conf are probably the most popular ways of handling them. A gui for this, etc-proposals. Please handle these files with care. You can't know these files enough.

Where do I start to configure my system?

This is where the true power and fun is. The make.conf is your heart and soul of your operating sytem. Learn it, edit it and build a lean mean machine. Sabayon Linux ships with a generic make.conf that tries to support every thing under the sun. You don't need all that stuff and by configuring, you will have lesser issues with portage and conflicts.

3D Desktop/Compiz Questions

The cube was working on livecd but doesn't on install, now what?

There is several ways to do this. When you're on the login screen, click the Sessions box and select Acceleration Manager. Another way is to look for Acceleration Manager in the Kmenu. Another method is to open konsole and su to root and run the command accel-manager. Whatever method you use will bring up a box for you to make your selection. After you make your selection you need to restart X so it can take effect. To restart X you can simply ctrl alt backspace or issues the command /etc/init.d/xdm restart. Upon login back in, you should now have wobbly windows and a cube.

I did all that and it still don't work, now what?

Well, now it's getting difficult as we need to check more things. You will need the assistance of the forum or irc to help. I recommend to try and find the source of your problem first. When logged in, open a konsole and type in fusion-icon and see what the error is in konsole. You will need that error message to post with your help request. Make sure you have the latest video drivers for your video card also.

How do I update Compiz-Fusion to latest Dev. Version?

We have a guide on the forum that is maintained to keep up with the changes in the Compiz-Fusion development.

How do I know if my card will work with Compiz-Fusion?

We have a card list that the community has reported on if their card works or not. It's not a complete list, but a good list to reference.

Where can I get more help on Compiz-Fusion?

I would suggest their support forum.

How do I install KDE 4.0.0 with Equo?

Follow this Install Guide

Networking Questions

How do I find out what network card I have?

as root run in konsole or terminal lspci that will list hardware, look for your Ethernet controller

How do I setup my network?

Well hopefully the livecd/dvd recognizes your network and NetworkManager sets your network up for you. If it doesn't, try running the command as root, simply su and run net-setup. You're going to want to consult the Gentoo Networking section.

I can ping my router but can't access the internet?

You're having DNS issues. You need to edit the file /etc/resolv.conf and enter the correct DNS, then restart your network. If you don't know what to use for DNS, use 4.2.2.2

Sound Questions

I have no sound, what do I do?

  • Let's see if you computer detects your sound card so, from a command line, use su to become root and run alsaconf - hopefully your card shows up and all you have to do is select and go.
  • After running that you can use alsamixer or kmix to adjust your sound settings.
  • If you have HDA-Intel Card, Please see this Howto

How can I determine what card I have?

as root run the command lspci | grep -i audio

How do I install the alsa-driver instead of having it in the kernel?

Sabayon Linux comes with alsa built into the kernel. You can't install the alsa-drivers while alsa is built into the kernel. You have to remove alsa from the kernel before you install the alsa-driver package. So su to root:

  • cd /usr/src/linux
  • make menuconfig
  • Now deselect ALSA and exit the menu
  • Run: make && make modules_install
  • Run: cp arch/i386/boot/bzImage /boot/kernel_name <--replace kernel_name with the actual name of kernel
  • Reboot
  • emerge alsa-driver when back to desktop
  • More info: Gentoo ALSA Guide.

Why do I have to run alsaconf every time I reboot?

This usually happens if you have more than one sound card in your machine. Many people have an onboard sound card and then stick in a better sound card. Disable your onboard sound card via your bios and when you run alsaconf again, it will restore your sound each time you reboot.

Video Questions

My nvidia card is a legacy card, what driver do I need?

You will need to compare you card with the information below to find out which driver is best for your card

I need help with my ati card!

I don't have ati so I can't supply much help here, but I can point ya to:

How do I setup AIGLX with my ATI?

How do I setup Dual Monitors?

Personally I use twin view and it works great with Compiz-Fusion also. Check out the gentoo wiki Howto Dual Monitors

Video Worked on Livecd/dvd, but not once install, options?

If your video was fine on the livecd/dvd I would boot the livecd/dvd up and copy the xorg.conf from it to your hard drive install. There is several ways to do this.

  • Option 1 - Boot up and browse to /etc/X11/ and copy the file xorg.conf to your installed version. You should be able to access your installed version thru /media so it maybe something like /media/mydrive/etc/X11/ Reboot the computer and you should have what you had on the livecd/dvd. Always backup your files, before overwriting.
  • Option 2 - Boot up and browse to /etc/X11/xorg.conf and use something like http://www.pastebin.ca to paste your xorg.conf file there. Note the URL so when you reboot to your installed version you can access it. Than just rename your existing xorg.conf and make a new one with the one you pasted.
  • If you still don't have any luck, we may need to look at your drivers. Try reinstalling your video drivers, but before just reinstalling, make sure you are getting the latest drivers. Nvidia users, make sure you are using the proper drivers for your card. See question number 1 under Video Questions

Mini Edition Questions

I installed mini edition and keep getting Unable to calculate Linux Kernel version

The mini edition doesn't ship with the sources. You need to add the sources. As of right now the mini edition kernel is no longer, so you need to upgrade the kernel:

Follow this Guide

How do I know what Version of Sabayon I have?

run the command cat /etc/sabayon-release

I can't get the livecd/dvd to boot, help!

Make sure you md5sum is good and you burnt the iso image as slow as possible with burn verify. This is vital and you will be asked every time if you have done this, so do it.

  • Use the cheat codes -- Use the F5 key when the livecd/dvd menu and enter your code(s) into the box that appears
  • If you're still having problems, post on the forum your hardware and what cheat codes you tried. Maybe someone else has or had same issue and found a way to boot it.

Does the mini have 3D Desktop?

Yes, the mini contains the eye candy like the DVD. It just doesn't have as many regular packages or the sources.

我該裝32位元版本還是64位元版本?

這是一個永無止境的爭論,對於新手而言,32位元版本易於維護而且比較簡單,但是我必須說,在64位元版本上軟體還是能執行的(即使是32位元的軟體也能跑在64位元電腦上)。當然,現在大多數的軟體還是32bit的版本,但因為Sabayon擁有編譯軟體的能力且很好的32位元函式庫的聯結,所以即使是32位元的軟體也能很順暢的跑在64位元上。以筆者使用的感覺,如果您的CPU是AMD64或是Intel Em64t的架構,而且您有4G以上的記憶體,推薦使用64位元版本。 (備註:筆者是2G記憶體配64位元版本)

Can I install without having to burn the iso to CD or DVD?

Yes, you can install if you don't have a cd or dvd burner.

Help and Support Questions

Where can I get help?

Are you lost and confused? There is a lot of great resources out there. I highly encourage to do some searching first before running into irc or the forum and making the same post that has already been posted 100 times. It gets really old answering the same question day in and day out when it's so well documented.

   * Quick note when pasting error messages - Do not paste the error message alone, everyone thinks that ERROR: x11-base/xgl-0.0.1_pre20070915 failed is the error, it's not. The error is above that, post the entire build log so we don't have to waste time waiting for you to post back with the actual error. If you read below the ERROR: it even says to paste the upper most error and call stack if relevant.

Inseriu ací text no formatat