[gentoo-user] openrc cann't logger my boot log
Hi, everyone. For some unknown reason , my gentoo can't start up , but i can see the grub menu. So i went into ubuntu and chroot into the gentoo . Then i want to log some message to find out some thing . I have already enable the devfs and the rc_logger in the /etc/rc.conf ubuntu / # rc-service -l | grep devfs devfs ubuntu / # grep rc_logger /etc/rc.conf # rc_logger launches a logging daemon to log the entire rc process to rc_logger=YES After that , i reboot the computer . But it didn't have the /var/log/rc.log . Then i have no idea... Can anyone help ? and if you want more message , Please tell me. PS: my gentoo was normal last night . Then i didn't do some thing like upgrade the kernel . etc. -- 好好学习,天天向上!!!
[gentoo-user] Re: openrc cann't logger my boot log
It's my problem . Please ignore this mail..Sorry 2012/8/19 赵佳晖 jiahui.tar...@gmail.com Hi, everyone. For some unknown reason , my gentoo can't start up , but i can see the grub menu. So i went into ubuntu and chroot into the gentoo . Then i want to log some message to find out some thing . I have already enable the devfs and the rc_logger in the /etc/rc.conf ubuntu / # rc-service -l | grep devfs devfs ubuntu / # grep rc_logger /etc/rc.conf # rc_logger launches a logging daemon to log the entire rc process to rc_logger=YES After that , i reboot the computer . But it didn't have the /var/log/rc.log . Then i have no idea... Can anyone help ? and if you want more message , Please tell me. PS: my gentoo was normal last night . Then i didn't do some thing like upgrade the kernel . etc. -- 好好学习,天天向上!!! -- 好好学习,天天向上!!!
Re: [gentoo-user] Re: The system's font display problem
Oh,Thank you,It worked 2012/7/15 Nikos Chantziaras rea...@gmail.com On 15/07/12 16:14, 赵佳晖 wrote: Hi.all . Just now i just change my locale so i can use the fcitx. But after i reboot , the system's fonts display has problem. and my locale: LANG=en_US.UTF-8 LC_CTYPE=zh_CN.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL= Do not set anything other than LANG and LC_COLLATE. Then only set vars that differ from LANG. Your /etc/env.d/02locale should look like this: LANG=en_US.UTF-8 LC_COLLATE=C LC_CTYPE=zh_CN.UTF-8 Do *not* do this: LC_ALL= Then run env-update and restart. -- 好好学习,天天向上!!!
Re: [gentoo-user] Problem with sudo
Oh,yes , i misunderstand it . Thank you 2012/7/3 Willie WY Wong wong...@member.ams.org On Sun, Jul 01, 2012 at 10:41:12AM +0800, Penguin Lover 赵佳晖 squawked: I have use your method , it didn't work . Like: sudo echo sys-boot/grub:2 ** /etc/portage/package.accept_keywords/package.keywords.grub2 echo sys-boot/grub:2 ** | sudo tee /etc/portage/package.accept_keywords/package.keywords.grub2 And the result : zjhui@gentoo ~ $ ls -l /etc/portage/package.accept_keywords/package.keywords.grub2 -rw-r--r-- 1 root root 0 Jul 1 10:37 /etc/portage/package.accept_keywords/package.keywords.grub2 It's an empty file. I think you misread the e-mail. The left hand side below is what you **shouldn't** do. The right hand side is what you **should** do. So you **should** run echo sys-boot/grub:2 ** | sudo tee /etc/portage/package.accept_keywords/package.keywords.grub2 and no more. W If Neil is right, you may want to read man tee. It work roughly like that: instead of do sudo echo sthg /etc/file.cfg echo sthg | sudo tee /etc/file.cfg sudo echo sthg /etc/file.cfg echo sthg | sudo tee -a /etc/file.cfg -- 好好学习,天天向上!!!
[gentoo-user] Problem with sudo
In some cases , when i run somethings with sudo , it tells me Permission Denied , then i should turn to root . i forgot to record the cases . Did anyone have any ideas ? -- 好好学习,天天向上!!!
Re: [gentoo-user] Problem with sudo
The -i option didn't work, it also says Permission Denied 2012/7/1 Alecks Gates aleck...@gmail.com On Jun 30, 2012 12:28 PM, 赵佳晖 jiahui.tar...@gmail.com wrote: In some cases , when i run somethings with sudo , it tells me Permission Denied , then i should turn to root . i forgot to record the cases . Did anyone have any ideas ? -- 好好学习,天天向上!!! I think it would depend on the use case, but try sudo -i (-i meaning interactive, I believe) and see if that works for you. I get permission denied usually with a lot of bash input and output. Alecks Gates, sent from Android on an HTC G2 -- 好好学习,天天向上!!!
Re: [gentoo-user] Problem with sudo
I have use your method , it didn't work . Like: sudo echo sys-boot/grub:2 ** /etc/portage/package.accept_keywords/package.keywords.grub2 echo sys-boot/grub:2 ** | sudo tee /etc/portage/package.accept_keywords/package.keywords.grub2 And the result : zjhui@gentoo ~ $ ls -l /etc/portage/package.accept_keywords/package.keywords.grub2 -rw-r--r-- 1 root root 0 Jul 1 10:37 /etc/portage/package.accept_keywords/package.keywords.grub2 It's an empty file. 2012/7/1 Éric DUNAND eric.dunand...@eriknet.eu Le Sat, 30 Jun 2012 19:48:28 +0100, Neil Bothwick n...@digimed.co.uk a écrit : On Sun, 1 Jul 2012 01:27:49 +0800, 赵佳晖 wrote: In some cases , when i run somethings with sudo , it tells me Permission Denied , then i should turn to root . i forgot to record the cases . Did anyone have any ideas ? Are you trying to redirect the output? That can give this message because the redirection is performed as the user running sudo, not as root. If Neil is right, you may want to read man tee. It work roughly like that: instead of do sudo echo sthg /etc/file.cfg echo sthg | sudo tee /etc/file.cfg sudo echo sthg /etc/file.cfg echo sthg | sudo tee -a /etc/file.cfg -- Éric DUNAND -- 好好学习,天天向上!!!
Re: [gentoo-user] Problem with sudo
hmm...yes , i want to do it in one command line.. 2012/7/1 Alecks Gates aleck...@gmail.com On Sat, Jun 30, 2012 at 9:36 PM, 赵佳晖 jiahui.tar...@gmail.com wrote: The -i option didn't work, it also says Permission Denied 2012/7/1 Alecks Gates aleck...@gmail.com On Jun 30, 2012 12:28 PM, 赵佳晖 jiahui.tar...@gmail.com wrote: In some cases , when i run somethings with sudo , it tells me Permission Denied , then i should turn to root . i forgot to record the cases . Did anyone have any ideas ? -- 好好学习,天天向上!!! I think it would depend on the use case, but try sudo -i (-i meaning interactive, I believe) and see if that works for you. I get permission denied usually with a lot of bash input and output. Alecks Gates, sent from Android on an HTC G2 -- 好好学习,天天向上!!! Did you use it interactively? It should look like this: alecks@linux:~$ sudo -i root@linux: ~# echo sys-boot/grub:2 ** /etc/portage/package.accept_keywords/package.keywords.grub2 Just the way I like to do it. You could also do something like sudo su and I'm sure someone else here will have all sorts of alternatives. Just like I'm sure someone has a way to do it all in one line, anyway. -- 好好学习,天天向上!!!
[gentoo-user] the xen-source on gentoo
I want to install the xen on gentoo . But i find the xen-source version is 2.6.38 . So i don't want to use it. Can i use my gentoo-source 3.2.12 with a patch? -- 好好学习,天天向上!!!
Re: [gentoo-user] the xen-source on gentoo
I search the xen in the make menuconfig .And the result is below Symbol: XEN_DOM0 [=n] │ │ Type : boolean │ │ │ │ │ │ Symbol: XEN_COMPAT_XENFS [=n] │ │ Type : boolean │ │ Prompt: Create compatibility mount point /proc/xen │ │ Defined at drivers/xen/Kconfig:97 │ │ Depends on: XEN [=n] XENFS [=n] │ │ Location: │ │ - Device Drivers │ │ - Xen driver support │ │ - Xen filesystem (XENFS [=n]) │ │ │ │ │ │ Symbol: XEN_MAX_DOMAIN_MEMORY [=] │ │ Type : integer │ │ │ │ │ │ Symbol: XEN_GNTDEV [=n] │ │ Type : tristate │ │ Prompt: userspace grant access device driver │ │ Defined at drivers/xen/Kconfig:123 │ │ Depends on: XEN [=n] │ │ Location: │ │ - Device Drivers │ │ - Xen driver support │ │ Selects: MMU_NOTIFIER [=y] Symbol: XEN_PRIVILEGED_GUEST [=n] │ │ Type : boolean │ │ │ │ │ │ Symbol: XEN_SELFBALLOONING [=n] │ │ Type : boolean │ │ Prompt: Dynamically self-balloon kernel memory to target │ │ Defined at drivers/xen/Kconfig:12 │ │ Depends on: XEN [=n] XEN_BALLOON [=n] CLEANCACHE [=n] SWAP [=y] XEN_TMEM [=n] │ │ Location: │ │ - Device Drivers │ │ - Xen driver support │ │ - Xen memory balloon driver (XEN_BALLOON [=n]) │ │ │ │ │ │ Symbol: XEN_PVHVM [=n] │ │ Type : boolean │ │ │ │ │ │ Symbol: PCI_XEN [=n] │ │ Type : boolean │ │ Selects: SWIOTLB_XEN [=n] │ │ Selected by: XEN_PCIDEV_FRONTEND [=n] PCI [=y] X86 [=y] XEN [=n] │ │ │ │ │ │ Symbol: XEN [=n] │ │ Type : boolean │ │ Prompt: Xen guest support . for - Device Drivers │ │ - Xen driver support │ │ - Xen memory balloon driver (XEN_BALLOON [=n]) i can not find Xen driver support under Device Drivers. it is my kernel's problem? 2012/6/17 Michael Mol mike...@gmail.com On Sat, Jun 16, 2012 at 9:35 PM, 赵佳晖 jiahui.tar...@gmail.com wrote: I want to install the xen on gentoo . But i find the xen-source version is 2.6.38 . So i don't want to use it. Can i use
Re: [gentoo-user] the xen-source on gentoo
In my Processor page, i just find the kvm support.. --- Paravirtualized guest support │ │ │ │ [ ] Paravirtual steal time accounting (NEW) │ │ │ │ [ ] KVM paravirtualized clock (NEW) │ │ │ │ [ ] KVM Guest support (NEW) │ │ │ │ [ ] Lguest guest support (NEW) │ │ │ │ [ ] Enable paravirtualization code (NEW) │ │ │ │ │ │ 2012/6/17 Pandu Poluan pa...@poluan.info On Jun 17, 2012 10:59 AM, Pandu Poluan pa...@poluan.info wrote: On Jun 17, 2012 10:30 AM, 赵佳晖 jiahui.tar...@gmail.com wrote: [--snip--] The Xen config will not be visible until you configure other settings in the Processor page. There are several; rather than listing them all here, please see the following page by yours truly: http://en.gentoo-wiki.com/wiki/User:Pepoluan/Paravirtualized_Gentoo_VMs_on_XenServer I forgot to stress: The page is kind of out-of-date, e.g., comments about staying away from 3.0. The menuconfig options might also get shuffled around, but the gist of it is still the same: There are options you need to set in a certain way before XEN option becomes visible. Rgds, -- 好好学习,天天向上!!!
[gentoo-user] [gentoo user] Install gentoo-prefix on ubuntu 12.04
Hi, everybody. I followed the dochttp://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml to install the gentoo-prefix on my ubuntu 12.04 , But when i come to the setp : emerge linker and compiler , and when i run the command : emerge --oneshot --nodeps sys-devel/gcc-config . Then it comes error : $ emerge --oneshot --nodeps sys-devel/gcc-config Verifying ebuild manifests Emerging (1 of 1) sys-devel/gcc-config-1.5-r2 Unpacking source... * Adjusting to prefix /home/jiahui/Gentoo * wrapper.c ... [ ok ] * gcc-config-1.5 ... [ ok ] Source unpacked in /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work Compiling source in /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work ... make CC=gcc wrapper gcc -O2 -march=i686 -pipe -m32 -Wl,-rpath=/home/jiahui/Gentoo/usr/lib -Wl,-rpath=/home/jiahui/Gentoo/lib wrapper.c -o wrapper /home/jiahui/Gentoo/usr/bin/ld: this linker was not configured to use sysroots collect2: ld returned 1 exit status make: *** [wrapper] Error 1 emake failed * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): * compile wrapper * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2230: Called die * The specific snippet of code: * emake CC=$(tc-getCC) wrapper || die compile wrapper * * If you need support, post the output of 'emerge --info =sys-devel/gcc-config-1.5-r2', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-config-1.5-r2'. * The complete build log is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. * Working directory: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' * S: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' Failed to emerge sys-devel/gcc-config-1.5-r2, Log file: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log' * Messages for package sys-devel/gcc-config-1.5-r2: * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): * compile wrapper * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2230: Called die * The specific snippet of code: * emake CC=$(tc-getCC) wrapper || die compile wrapper * * If you need support, post the output of 'emerge --info =sys-devel/gcc-config-1.5-r2', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-config-1.5-r2'. * The complete build log is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. * Working directory: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' * S: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' After that , i find i can emerge nothing (before emerge gcc-config, everything seems good). Can anyone help me? My $PATH is : export PATH=$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH -- 好好学习,天天向上!!!
[gentoo-user] Re: [gentoo user] Install gentoo-prefix on ubuntu 12.04
Can anyone help me? 2012/6/8 赵佳晖 jiahui.tar...@gmail.com Hi, everybody. I followed the dochttp://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml to install the gentoo-prefix on my ubuntu 12.04 , But when i come to the setp : emerge linker and compiler , and when i run the command : emerge --oneshot --nodeps sys-devel/gcc-config . Then it comes error : $ emerge --oneshot --nodeps sys-devel/gcc-config Verifying ebuild manifests Emerging (1 of 1) sys-devel/gcc-config-1.5-r2 Unpacking source... * Adjusting to prefix /home/jiahui/Gentoo * wrapper.c ... [ ok ] * gcc-config-1.5 ... [ ok ] Source unpacked in /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work Compiling source in /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work ... make CC=gcc wrapper gcc -O2 -march=i686 -pipe -m32 -Wl,-rpath=/home/jiahui/Gentoo/usr/lib -Wl,-rpath=/home/jiahui/Gentoo/lib wrapper.c -o wrapper /home/jiahui/Gentoo/usr/bin/ld: this linker was not configured to use sysroots collect2: ld returned 1 exit status make: *** [wrapper] Error 1 emake failed * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): * compile wrapper * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2230: Called die * The specific snippet of code: * emake CC=$(tc-getCC) wrapper || die compile wrapper * * If you need support, post the output of 'emerge --info =sys-devel/gcc-config-1.5-r2', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-config-1.5-r2'. * The complete build log is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. * Working directory: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' * S: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' Failed to emerge sys-devel/gcc-config-1.5-r2, Log file: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log' * Messages for package sys-devel/gcc-config-1.5-r2: * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): * compile wrapper * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2230: Called die * The specific snippet of code: * emake CC=$(tc-getCC) wrapper || die compile wrapper * * If you need support, post the output of 'emerge --info =sys-devel/gcc-config-1.5-r2', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-config-1.5-r2'. * The complete build log is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. * Working directory: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' * S: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' After that , i find i can emerge nothing (before emerge gcc-config, everything seems good). Can anyone help me? My $PATH is : export PATH=$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH -- 好好学习,天天向上!!! -- 好好学习,天天向上!!!
Re: [gentoo-user] Re: [gentoo user] Install gentoo-prefix on ubuntu 12.04
hmm..i'm sorry . Thank you for your answer 2012/6/9 Alan McKinnon alan.mckin...@gmail.com On Fri, 8 Jun 2012 22:36:37 +0800 赵佳晖 jiahui.tar...@gmail.com wrote: Can anyone help me? Bumping a request after only two hours is considered quite rude, please do not do it. No-one here is paid to read your mails and answer, so impatience from you is not going to be well received. Also, your name shows up in a pictogram alphabet so you are probably posting from Asia. Most people who could help you are probably asleep when you are awake. 2012/6/8 赵佳晖 jiahui.tar...@gmail.com Hi, everybody. I followed the doc http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml to install the gentoo-prefix on my ubuntu 12.04 , But when i come to the setp : emerge linker and compiler , and when i run the command : emerge --oneshot --nodeps sys-devel/gcc-config . Then it comes error : $ emerge --oneshot --nodeps sys-devel/gcc-config Verifying ebuild manifests Emerging (1 of 1) sys-devel/gcc-config-1.5-r2 Unpacking source... * Adjusting to prefix /home/jiahui/Gentoo * wrapper.c ... [ ok ] * gcc-config-1.5 ... [ ok ] Source unpacked in /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work Compiling source in /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work ... make CC=gcc wrapper gcc -O2 -march=i686 -pipe -m32 -Wl,-rpath=/home/jiahui/Gentoo/usr/lib -Wl,-rpath=/home/jiahui/Gentoo/lib wrapper.c -o wrapper /home/jiahui/Gentoo/usr/bin/ld: this linker was not configured to use sysroots collect2: ld returned 1 exit status make: *** [wrapper] Error 1 emake failed * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): * compile wrapper * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2230: Called die * The specific snippet of code: * emake CC=$(tc-getCC) wrapper || die compile wrapper * * If you need support, post the output of 'emerge --info =sys-devel/gcc-config-1.5-r2', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-config-1.5-r2'. * The complete build log is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. * Working directory: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' * S: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' Failed to emerge sys-devel/gcc-config-1.5-r2, Log file: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log' * Messages for package sys-devel/gcc-config-1.5-r2: * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): * compile wrapper * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2230: Called die * The specific snippet of code: * emake CC=$(tc-getCC) wrapper || die compile wrapper * * If you need support, post the output of 'emerge --info =sys-devel/gcc-config-1.5-r2', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-config-1.5-r2'. * The complete build log is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. * Working directory: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' * S: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' After that , i find i can emerge nothing (before emerge gcc-config, everything seems good). Can anyone help me? My $PATH is : export PATH=$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH -- 好好学习,天天向上!!! -- Alan McKinnnon alan.mckin...@gmail.com -- 好好学习,天天向上!!!
[gentoo-user]Problem when upgrate to grub2
Hello, everyone. I want upgrade grub to grub2 , so i follow the dochttp://dev.gentoo.org/~scarabeus/grub-2-guide.xmland wiki http://en.gentoo-wiki.com/wiki/Grub2#Installation . But when i use the command: emerge -av sys-boot/grub:2 it comes error : * Running autopoint --force ... [ !! ] * Failed Running autopoint ! * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-boot/grub-/temp/autopoint.out * ERROR: sys-boot/grub- failed (prepare phase): * Failed Running autopoint ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3164: Called source './autogen.sh' *autogen.sh, line 70: Called eautoreconf '-vi' * environment, line 1021: Called eautopoint '--force' * environment, line 990: Called autotools_run_tool 'autopoint' '--force' * environment, line 665: Called die * The specific snippet of code: * die Failed Running $1 !; * * If you need support, post the output of 'emerge --info =sys-boot/grub-', * the complete build log and the output of 'emerge -pqv =sys-boot/grub-'. * The complete build log is located at '/var/tmp/portage/sys-boot/grub-/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-/temp/environment'. * S: '/var/tmp/portage/sys-boot/grub-/work/grub-' Failed to emerge sys-boot/grub-, Log file: '/var/tmp/portage/sys-boot/grub-/temp/build.log' * Messages for package sys-boot/grub-: * Failed Running autopoint ! * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-boot/grub-/temp/autopoint.out * ERROR: sys-boot/grub- failed (prepare phase): * Failed Running autopoint ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3164: Called source './autogen.sh' *autogen.sh, line 70: Called eautoreconf '-vi' * environment, line 1021: Called eautopoint '--force' * environment, line 990: Called autotools_run_tool 'autopoint' '--force' * environment, line 665: Called die * The specific snippet of code: * die Failed Running $1 !; * * If you need support, post the output of 'emerge --info =sys-boot/grub-', * the complete build log and the output of 'emerge -pqv =sys-boot/grub-'. * The complete build log is located at '/var/tmp/portage/sys-boot/grub-/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-/temp/environment'. * S: '/var/tmp/portage/sys-boot/grub-/work/grub-' Did anyone know how did this happen ? -- 好好学习,天天向上!!!
Re: [gentoo-user]Problem when upgrate to grub2
I have used the command: emerge sys-devel/gettext ,and i'm also run the command python-update. It seems didn't work for me. 2012/6/6 Salvatore Borgia salvo2...@gmail.com hi, see herehttp://forums-web1.gentoo.org/viewtopic-t-924710-start-0.html 2012/6/6 赵佳晖 jiahui.tar...@gmail.com Hello, everyone. I want upgrade grub to grub2 , so i follow the dochttp://dev.gentoo.org/~scarabeus/grub-2-guide.xmland wiki http://en.gentoo-wiki.com/wiki/Grub2#Installation . But when i use the command: emerge -av sys-boot/grub:2 it comes error : * Running autopoint --force ... [ !! ] * Failed Running autopoint ! * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-boot/grub-/temp/autopoint.out * ERROR: sys-boot/grub- failed (prepare phase): * Failed Running autopoint ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3164: Called source './autogen.sh' *autogen.sh, line 70: Called eautoreconf '-vi' * environment, line 1021: Called eautopoint '--force' * environment, line 990: Called autotools_run_tool 'autopoint' '--force' * environment, line 665: Called die * The specific snippet of code: * die Failed Running $1 !; * * If you need support, post the output of 'emerge --info =sys-boot/grub-', * the complete build log and the output of 'emerge -pqv =sys-boot/grub-'. * The complete build log is located at '/var/tmp/portage/sys-boot/grub-/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-/temp/environment'. * S: '/var/tmp/portage/sys-boot/grub-/work/grub-' Failed to emerge sys-boot/grub-, Log file: '/var/tmp/portage/sys-boot/grub-/temp/build.log' * Messages for package sys-boot/grub-: * Failed Running autopoint ! * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-boot/grub-/temp/autopoint.out * ERROR: sys-boot/grub- failed (prepare phase): * Failed Running autopoint ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3164: Called source './autogen.sh' *autogen.sh, line 70: Called eautoreconf '-vi' * environment, line 1021: Called eautopoint '--force' * environment, line 990: Called autotools_run_tool 'autopoint' '--force' * environment, line 665: Called die * The specific snippet of code: * die Failed Running $1 !; * * If you need support, post the output of 'emerge --info =sys-boot/grub-', * the complete build log and the output of 'emerge -pqv =sys-boot/grub-'. * The complete build log is located at '/var/tmp/portage/sys-boot/grub-/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-/temp/environment'. * S: '/var/tmp/portage/sys-boot/grub-/work/grub-' Did anyone know how did this happen ? -- 好好学习,天天向上!!! -- 好好学习,天天向上!!!
Re: [gentoo-user]Problem when upgrate to grub2
of course,the autopoint.out is below: * autopoint * * PWD: /var/tmp/portage/sys-boot/grub-/work/grub- * autopoint --force autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using autopoint: *** Stop. 2012/6/6 Salvatore Borgia salvo2...@gmail.com can you post your autopoint.out please? 2012/6/6 赵佳晖 jiahui.tar...@gmail.com I have used the command: emerge sys-devel/gettext ,and i'm also run the command python-update. It seems didn't work for me. 2012/6/6 Salvatore Borgia salvo2...@gmail.com hi, see herehttp://forums-web1.gentoo.org/viewtopic-t-924710-start-0.html 2012/6/6 赵佳晖 jiahui.tar...@gmail.com Hello, everyone. I want upgrade grub to grub2 , so i follow the dochttp://dev.gentoo.org/~scarabeus/grub-2-guide.xmland wiki http://en.gentoo-wiki.com/wiki/Grub2#Installation . But when i use the command: emerge -av sys-boot/grub:2 it comes error : * Running autopoint --force ... [ !! ] * Failed Running autopoint ! * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-boot/grub-/temp/autopoint.out * ERROR: sys-boot/grub- failed (prepare phase): * Failed Running autopoint ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3164: Called source './autogen.sh' *autogen.sh, line 70: Called eautoreconf '-vi' * environment, line 1021: Called eautopoint '--force' * environment, line 990: Called autotools_run_tool 'autopoint' '--force' * environment, line 665: Called die * The specific snippet of code: * die Failed Running $1 !; * * If you need support, post the output of 'emerge --info =sys-boot/grub-', * the complete build log and the output of 'emerge -pqv =sys-boot/grub-'. * The complete build log is located at '/var/tmp/portage/sys-boot/grub-/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-/temp/environment'. * S: '/var/tmp/portage/sys-boot/grub-/work/grub-' Failed to emerge sys-boot/grub-, Log file: '/var/tmp/portage/sys-boot/grub-/temp/build.log' * Messages for package sys-boot/grub-: * Failed Running autopoint ! * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-boot/grub-/temp/autopoint.out * ERROR: sys-boot/grub- failed (prepare phase): * Failed Running autopoint ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3164: Called source './autogen.sh' *autogen.sh, line 70: Called eautoreconf '-vi' * environment, line 1021: Called eautopoint '--force' * environment, line 990: Called autotools_run_tool 'autopoint' '--force' * environment, line 665: Called die * The specific snippet of code: * die Failed Running $1 !; * * If you need support, post the output of 'emerge --info =sys-boot/grub-', * the complete build log and the output of 'emerge -pqv =sys-boot/grub-'. * The complete build log is located at '/var/tmp/portage/sys-boot/grub-/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-/temp/environment'. * S: '/var/tmp/portage/sys-boot/grub-/work/grub-' Did anyone know how did this happen ? -- 好好学习,天天向上!!! -- 好好学习,天天向上!!! -- 好好学习,天天向上!!!
[gentoo-user]Upgrade to gnome 3.2
Did anyone has some good ideas to upgrade the gnome to 3.2 ? I followed the Upgrade to Gnome 3.2 Guide , but i confused that it seems didn't say howto upgrade to Gnome 3.2 , Can anyone give me some idea? -- 好好学习,天天向上!!!
Re: [gentoo-user]How can i remove the xfce clearly?
Thank you for your answer , Philipp .I will tried it later 在 2012年4月21日 下午3:45,Florian Philipp li...@binarywings.net写道: Am 21.04.2012 05:27, schrieb 赵佳晖: I just install the xfce a few days ago, But i find i didn't like it . So i want to remove it and install the Gnome . How can i remove the xfce clearly ? -- 好好学习,天天向上!!! Gnome and Xfce share many libraries. Therefore it is best to install Gnome first, before removing Xfce. Otherwise you will remove libraries which you will later re-emerge for Gnome. Then you need to configure your display manager (kdm, gdm, xdm) to use Gnome instead of Xfce. Kdm and Gdm should allow you to do that directly on the login screen. When you are satisfied with Gnome, edit /var/lib/portage/world and remove every line containing an Xfce package. Then run `emerge -av --depclean` and you are done. You could continue to remove config files but that is usually not worth the trouble. Hope this helps, Florian Philipp -- 好好学习,天天向上!!!
Re: [gentoo-user]How can i remove the xfce clearly?
OK,Thank you 在 2012年4月21日 下午5:20,Mick michaelkintz...@gmail.com写道: On Saturday 21 Apr 2012 08:45:49 Florian Philipp wrote: Am 21.04.2012 05:27, schrieb 赵佳晖: I just install the xfce a few days ago, But i find i didn't like it . So i want to remove it and install the Gnome . How can i remove the xfce clearly ? Gnome and Xfce share many libraries. Therefore it is best to install Gnome first, before removing Xfce. Otherwise you will remove libraries which you will later re-emerge for Gnome. Then you need to configure your display manager (kdm, gdm, xdm) to use Gnome instead of Xfce. Kdm and Gdm should allow you to do that directly on the login screen. When you are satisfied with Gnome, edit /var/lib/portage/world and remove every line containing an Xfce package. Then run `emerge -av --depclean` and you are done. You could continue to remove config files but that is usually not worth the trouble. Also, follow the advice on the screen when you run 'emerge --depclean -p' which is to run revdep-rebuild afterward to rebuild any dependencies. Such dependencies may have been broken from uninstalling packages with depclean, (man revdep-rebuild gives you more information). -- Regards, Mick -- 好好学习,天天向上!!!
Re: [gentoo-user]How can i remove the xfce clearly?
But it seems that the --depclean is a dangerous operate ?? 在 2012年4月22日 上午7:15,Florian Philipp li...@binarywings.net写道: Am 21.04.2012 20:39, schrieb ny6...@gmail.com: On Sat, Apr 21, 2012 at 09:45:49AM +0200, Florian Philipp wrote: Am 21.04.2012 05:27, schrieb ??: I just install the xfce a few days ago, But i find i didn't like it . So i want to remove it and install the Gnome . How can i remove the xfce clearly ? -- Gnome and Xfce share many libraries. Therefore it is best to install Gnome first, before removing Xfce. Otherwise you will remove libraries which you will later re-emerge for Gnome. Then you need to configure your display manager (kdm, gdm, xdm) to use Gnome instead of Xfce. Kdm and Gdm should allow you to do that directly on the login screen. When you are satisfied with Gnome, edit /var/lib/portage/world and remove every line containing an Xfce package. Then run `emerge -av --depclean` and you are done. You could continue to remove config files but that is usually not worth the trouble. Hope this helps, Florian Philipp Do I understand you correctly that it is not necessary to run emerge -unmerge first before removing the atoms from @world and running emerge --depclean? Terry Yes. I think it is also mentioned in the gentoo handbook. In fact, you should not use --unmerge because it doesn't check dependencies before removing the package. If you want to delete a package only if no other package depends on it, either remove it from world or use `emerge -av --depclean package_name`. The latter has the advantage of also telling you what depends on it. Regards, Florian Philipp -- 好好学习,天天向上!!!
[gentoo-user]How can i remove the xfce clearly?
I just install the xfce a few days ago, But i find i didn't like it . So i want to remove it and install the Gnome . How can i remove the xfce clearly ? -- 好好学习,天天向上!!!
[gentoo-user]It comes problem when emerge fcitx
Hello everyone, i just want to install the fcitx in gentoo , but when i emerge fcitx , it comes the problem, the message are bleow: * IMPORTANT: 6 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N~] app-i18n/fcitx-4.2.1 USE=cairo dbus gtk pango -debug -gtk3 -opencc -qt -table 557 kB Total: 1 package (1 new), Size of downloads: 557 kB The following keyword changes are necessary to proceed: #required by fcitx (argument) =app-i18n/fcitx-4.2.1 ~x86 Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT). * IMPORTANT: 6 news items need reading for repository 'gentoo'. * Use eselect news to read news items. How did this happen? i have tried to use --autounmask-write , but it didn't work, Can anyone help me ? -- 好好学习,天天向上!!!
Re: [gentoo-user]Can't went to the xfce desktop directly
At first , my /etc/slim.conf is the default config . then i change to yours , it didn't work ... Can i find some log to figure out something ? 在 2012年3月12日 下午1:46,Willie Matthews matthews.wil...@gmail.com写道: On Mon, 12 Mar 2012 12:26:40 +0800 赵佳晖 jiahui.tar...@gmail.com wrote: Hello , everyone . I have install the xfce-meta followed the xfce handbook . But when i restart the computer . And the login manager(slim) appeared. I just enter my account and passwd . After that . the computer have become black with a mouse icon like x . And i should use Ctrl+Alt+F1 to went to the tty , then when i run the command: startxfce4 , it tell me the X was already running . I should kill the X first or change the display number to start the xfce . I'm wonder how did this happen ? Did it because of the connection between Xorg and xfce ? Can anyone help me? i'm new to gentoo and I have no idea how to deal with it ? Can i find any log to find something? It sounds as though you are starting only X and not xfce. This is my logon_cmd from /etc/slim.conf login_cmd exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /bin/bash -login ~/.xinitrc %session ~/.xsession-errors 21 And this is my ~/.xinitrc exec startxfce4 Everything is running great. If I am not mistaken that is all it will take to get it running. -- Willie Matthews matthews.wil...@gmail.com -- 好好学习,天天向上!!!
Re: [gentoo-user]Can't went to the xfce desktop directly
i find “/usr/bin.xauth: file /var/run/slim.auth does not exist” in my /var/log/slim.log , did this has some connection to my problem? 在 2012年3月13日 上午10:26,赵佳晖 jiahui.tar...@gmail.com写道: At first , my /etc/slim.conf is the default config . then i change to yours , it didn't work ... Can i find some log to figure out something ? 在 2012年3月12日 下午1:46,Willie Matthews matthews.wil...@gmail.com写道: On Mon, 12 Mar 2012 12:26:40 +0800 赵佳晖 jiahui.tar...@gmail.com wrote: Hello , everyone . I have install the xfce-meta followed the xfce handbook . But when i restart the computer . And the login manager(slim) appeared. I just enter my account and passwd . After that . the computer have become black with a mouse icon like x . And i should use Ctrl+Alt+F1 to went to the tty , then when i run the command: startxfce4 , it tell me the X was already running . I should kill the X first or change the display number to start the xfce . I'm wonder how did this happen ? Did it because of the connection between Xorg and xfce ? Can anyone help me? i'm new to gentoo and I have no idea how to deal with it ? Can i find any log to find something? It sounds as though you are starting only X and not xfce. This is my logon_cmd from /etc/slim.conf login_cmd exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /bin/bash -login ~/.xinitrc %session ~/.xsession-errors 21 And this is my ~/.xinitrc exec startxfce4 Everything is running great. If I am not mistaken that is all it will take to get it running. -- Willie Matthews matthews.wil...@gmail.com -- 好好学习,天天向上!!! -- 好好学习,天天向上!!!
[gentoo-user]Can't went to the xfce desktop directly
Hello , everyone . I have install the xfce-meta followed the xfce handbook . But when i restart the computer . And the login manager(slim) appeared. I just enter my account and passwd . After that . the computer have become black with a mouse icon like x . And i should use Ctrl+Alt+F1 to went to the tty , then when i run the command: startxfce4 , it tell me the X was already running . I should kill the X first or change the display number to start the xfce . I'm wonder how did this happen ? Did it because of the connection between Xorg and xfce ? Can anyone help me? i'm new to gentoo and I have no idea how to deal with it ? Can i find any log to find something? -- 好好学习,天天向上!!!
[gentoo-user] How can i use GRUB to boot my windows?
Hello , everyone , just now , i have installed gentoo from ubuntu 11.10 , And when i install the grub with the command : grub-install --no-floppy /dev/sda . And when i reboot , i aware that i have override my MBR. And Now how can i edit my grub in the gentoo to boot my windows 7 on /dev/sda1 ? For my windows boot manager has been override , should i use a windows live CD , and go to DOS to execute the command : fdisk /mbr , after that ,add the ubuntu and gentoo to the windows boot manager ? Can i boot the windows 7 from GRUB dircetly? PS: my grub version in gentoo is : GNU GRUB 0.97 -- 好好学习,天天向上!!!
Re: [gentoo-user] How can i use GRUB to boot my windows?
I have tried that , but it didn't work . But it comes the error : Error 11: Unrecognized device string. I can't figure out why it comes... 2012/3/9 Marian Habrun marian.hab...@epoconsulting.com Hello, grub --version grub (GNU GRUB 0.97) You can make this entry in /boot/grub/grub.conf (menu.lst symlinks to this file): title Windows 7 rootnoverify (hd0,0) chainloader +1 Have a nice day. ~Hello , everyone , just now , i have installed gentoo from ubuntu 11.10 ~ , And when i install the grub with the command : grub-install --no-floppy ~ /dev/sda . And when i reboot , i aware that i have ~ ~ override my MBR. And Now how can i edit my grub in the gentoo to boot my ~ windows 7 on /dev/sda1 ? ~ ~For my windows boot manager has been override , should i use a windows ~ live CD , and go to DOS to execute the command : fdisk /mbr , after ~ that ,add the ubuntu and gentoo to the windows ~ ~ boot manager ? ~ ~Can i boot the windows 7 from GRUB dircetly? ~ ~ PS: my grub version in gentoo is : GNU GRUB 0.97 ~ -- ~ 好好学习,天天向上!!! ~ -- 好好学习,天天向上!!!
Re: [gentoo-user] How can i use GRUB to boot my windows?
OK, /etc/fstab: /dev/sda8 / ext3 noatime 0 1 /dev/cdrom /mnt/cdrom autonoauto,ro 0,0 grub.conf: default 0 timeout 30 splashimage=(hd0,7)/boot/grub/splash.xpm.gz title Gentoo root(hd0,7) kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/sda8 title Windows 7 rootnoverify hd(0,0) makeactive chainloader +1 2012/3/9 Daddy da...@happypenguincomputers.com ** On March 9, 2012 at 7:08 AM 赵佳晖 jiahui.tar...@gmail.com wrote: I have tried that , but it didn't work . But it comes the error : Error 11: Unrecognized device string. I can't figure out why it comes... Post your /etc/fstab and grub.conf please. -- 好好学习,天天向上!!!
Re: [gentoo-user] How can i use GRUB to boot my windows?
i changed hd(0,0) to hd(0,1) , and it also comes Error 11, and when i run the command : fdisk -l .The /dev/sda1 has the boot * flag .. 2012/3/9 Mick michaelkintz...@gmail.com On Friday 09 Mar 2012 12:40:45 赵佳晖 wrote: OK, /etc/fstab: /dev/sda8 / ext3 noatime 0 1 /dev/cdrom /mnt/cdrom autonoauto,ro 0,0 grub.conf: default 0 timeout 30 splashimage=(hd0,7)/boot/grub/splash.xpm.gz title Gentoo root(hd0,7) kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/sda8 title Windows 7 rootnoverify hd(0,0) makeactive chainloader +1 You may want to try: rootnoverify hd(0,1) because depending on the OEM installation of MSWindows the boot files may be on a different partition. I have a Dell here which has a Dell recovery partition on /dev/sda1, the boot partition on /dev/sda2 and the MSWindows OS partition on /dev/sda3. If you look at fdisk -l you should see which partition has the boot * flag. -- Regards, Mick -- 好好学习,天天向上!!!
Re: [gentoo-user] How can i use GRUB to boot my windows?
yes.. i'm too careless , thank you ... 2012/3/9 YoYo Siska y...@gl.ksp.sk On Fri, Mar 09, 2012 at 09:15:20PM +0800, 赵佳晖 wrote: i changed hd(0,0) to hd(0,1) , and it also comes Error 11, and when i run the command : fdisk -l .The /dev/sda1 has the boot * flag .. 2012/3/9 Mick michaelkintz...@gmail.com On Friday 09 Mar 2012 12:40:45 赵佳晖 wrote: OK, /etc/fstab: /dev/sda8 / ext3 noatime 0 1 /dev/cdrom /mnt/cdrom autonoauto,ro 0,0 grub.conf: default 0 timeout 30 splashimage=(hd0,7)/boot/grub/splash.xpm.gz title Gentoo root(hd0,7) kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/sda8 title Windows 7 rootnoverify hd(0,0) makeactive chainloader +1 it should be (hd0,0) and not hd(0,0) that would explain the Error 11, which means the string describing the disc is wrong / cannot be parsed... yoyo -- 好好学习,天天向上!!!
[gentoo-user] The keyboard didn't work when i startx
hello, everyone , i have just install the Xorg-server with the xorgserver handbook . And when i startx , i find my keyboard didn't work ? How did it happen ? my xorg.conf : http://paste.pocoo.org/show/563397/ make.conf:http://paste.pocoo.org/show/563399/ And my keyboard is USB -- 好好学习,天天向上!!!