Re: [gentoo-user] How to poweroff the system from user?
On Sun, 22 Mar 2015 03:19:50 -0400 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Sunday, March 22, 2015 3:06:59 AM German wrote: On Sun, 22 Mar 2015 08:49:54 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 22, 2015, at 8:32, German gentger...@gmail.com wrote: /sbin/poweroff says Must be a superuser :( Did you read any of the previous messages? They told you that you have to have consolekit and polkit installed and configured for this to work! Yes, I've read them. However no one explianed how this has to be accomplished with polkit and consolekit. You don't need those. It sounds like you somehow got both sysvinit and systemd installed. The message you're getting is from sysvinit. poweroff should be a symlink to systemctl. Try: systemctl poweroff You may need to unmerge sysvinit and anything else related to openrc and then re-emerge systemd. With systemd it should either shutdown or ask you for the root password (if you're not logged in locally or there's other users logged Thanks, I decide to go with sudo on this one. However when I try to run it, it says: Username is not in the sudoers file. Where is this file located and how can I add the user to it? Thanks in). -- Fernando Rodriguez --
Re: [gentoo-user] How to poweroff the system from user?
On Sun, 22 Mar 2015 03:35:49 -0400 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Sunday, March 22, 2015 3:30:49 AM German wrote: On Sun, 22 Mar 2015 03:19:50 -0400 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Sunday, March 22, 2015 3:06:59 AM German wrote: On Sun, 22 Mar 2015 08:49:54 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 22, 2015, at 8:32, German gentger...@gmail.com wrote: /sbin/poweroff says Must be a superuser :( Did you read any of the previous messages? They told you that you have to have consolekit and polkit installed and configured for this to work! Yes, I've read them. However no one explianed how this has to be accomplished with polkit and consolekit. You don't need those. It sounds like you somehow got both sysvinit and systemd installed. The message you're getting is from sysvinit. poweroff should be a symlink to systemctl. Try: systemctl poweroff You may need to unmerge sysvinit and anything else related to openrc and then re-emerge systemd. With systemd it should either shutdown or ask you for the root password (if you're not logged in locally or there's other users logged Thanks, I decide to go with sudo on this one. However when I try to run it, it says: Username is not in the sudoers file. Where is this file located and how can I add the user to it? Thanks in). See man sudo. It is huge and my head is spinning. A simple search on the web showed that I had just to add one line to sudoers file. Now I am able to poweroff with sudo. But the advice you're getting is for openrc (it will work until something else breaks), you need to remove all openrc components and install systemd properly. Why is openRC is installed at all if I need to remove it? -- Fernando Rodriguez --
Re: [gentoo-user] How to poweroff the system from user?
On Sun, 22 Mar 2015 09:35:46 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 22, 2015, at 9:31, Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Sunday, March 22, 2015 3:06:59 AM German wrote: On Sun, 22 Mar 2015 08:49:54 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 22, 2015, at 8:32, German gentger...@gmail.com wrote: /sbin/poweroff says Must be a superuser :( Did you read any of the previous messages? They told you that you have to have consolekit and polkit installed and configured for this to work! Yes, I've read them. However no one explianed how this has to be accomplished with polkit and consolekit. Actually systemd's poweroff should be on /usr/bin or /bin but if you got it there you shouldn't have got the command not found error so something is messed up with your system. Post the output to the folling ls -l /usr/bin/poweroff ls -l /bin/poweroff ls -l /sbin/poweroff ls -l /usr/sbin/poweroff Only one of them should list something and it should be a symlink to systemctl. From previous messages by the OP I recall that he is using OpenRC. Yes, as from fresh gentoo install. -- -Matti --
Re: [gentoo-user] RTL8192CU
On Sun, 22 Mar 2015 10:26:09 + Mick michaelkintz...@gmail.com wrote: On Sunday 22 Mar 2015 05:19:41 German wrote: On Sun, 22 Mar 2015 09:01:03 + Mick michaelkintz...@gmail.com wrote: In addidion, use modinfo to find out what parameters the particular module has and add these when you modprobe to switch off power management - which on buggy drivers tends to power down the card. Where do I have to use modinfo. Can you give an example. From my research, that is exactly the power management which powers down the buggy drivers, but I don't know what what are these module options which will prevent to power the card down. I don't have your NIC, but in a laptop I post this in I get: = $ modinfo iwlwifi filename: /lib/modules/3.18.7- gentoo/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz license:GPL author: Copyright(c) 2003- 2014 Intel Corporation i...@linux.intel.com version:in-tree: description:Intel(R) Wireless WiFi driver for Linux firmware: iwlwifi-100-5.ucode firmware: iwlwifi-1000-5.ucode firmware: iwlwifi-135-6.ucode firmware: iwlwifi-105-6.ucode firmware: iwlwifi-2030-6.ucode firmware: iwlwifi-2000-6.ucode firmware: iwlwifi-5150-2.ucode firmware: iwlwifi-5000-5.ucode firmware: iwlwifi-6000g2b-6.ucode firmware: iwlwifi-6000g2a-5.ucode firmware: iwlwifi-6050-5.ucode firmware: iwlwifi-6000-4.ucode srcversion: FDA022BCC86979326790D21 alias: pci:v8086d0892sv*sd0462bc*sc*i* [snip ...] depends: intree: Y vermagic: 3.18.7-gentoo SMP preempt mod_unload parm: swcrypto:using crypto in software (default 0 [hardware]) (int) parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint) parm: amsdu_size_8K:enable 8K amsdu size (default 0) (int) parm: fw_restart:restart firmware in case of error (default true) (bool) parm: antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int) parm: wd_disable:Disable stuck queue watchdog timer 0=system default, 1=disable (default: 1) (int) parm: nvm_file:NVM file name (charp) parm: uapsd_disable:disable U-APSD functionality (default: Y) (bool) parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool) parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int) parm: power_save:enable WiFi power management (default: disable) (bool) parm: power_level:default power save level (range from 1 - 5, default: 1) (int) parm: fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool) = So in my card I have: parm: power_save:enable WiFi power management which is by default disabled. If I wanted to enable this parameter I would need to use a boolean term, e.g. 'true', or 'on', or '1', or 'enable'. Yours would be similar, but the exact parameter would be revealed when you run 'modinfo your_module_name' Then call this parameter when you modprobe the module. For example: modprobe -r your_module_name modprobe -v your_module_name power_level=0 Look at dmesg or syslog to see the result of your incantantion. If this solves your problem you can permanently define such a parameter in your /etc/conf.d/modules. -- Regards, Mick Thanks Mick, I'll take a closer look at it when I have time. Appreciate it. --
Re: [gentoo-user] How to poweroff the system from user?
On Sun, 22 Mar 2015 03:47:13 -0400 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Sunday, March 22, 2015 3:30:49 AM German wrote: On Sun, 22 Mar 2015 03:19:50 -0400 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Sunday, March 22, 2015 3:06:59 AM German wrote: On Sun, 22 Mar 2015 08:49:54 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 22, 2015, at 8:32, German gentger...@gmail.com wrote: /sbin/poweroff says Must be a superuser :( Did you read any of the previous messages? They told you that you have to have consolekit and polkit installed and configured for this to work! Yes, I've read them. However no one explianed how this has to be accomplished with polkit and consolekit. You don't need those. It sounds like you somehow got both sysvinit and systemd installed. The message you're getting is from sysvinit. poweroff should be a symlink to systemctl. Try: systemctl poweroff You may need to unmerge sysvinit and anything else related to openrc and then re-emerge systemd. With systemd it should either shutdown or ask you for the root password (if you're not logged in locally or there's other users logged Thanks, I decide to go with sudo on this one. However when I try to run it, it says: Username is not in the sudoers file. Where is this file located and how can I add the user to it? Thanks in). Actually you never said anything about systemd so it's my bad. They where talking about logind and I got it messed up with another thread about systemd. No problem. I guess that's what happening when you try to help everyone. -- Fernando Rodriguez --
Re: [gentoo-user] RTL8192CU
On Sun, 22 Mar 2015 09:01:03 + Mick michaelkintz...@gmail.com wrote: On Saturday 21 Mar 2015 10:10:56 Neil Bothwick wrote: On Sat, 21 Mar 2015 06:00:24 -0400, German wrote: Was the firmware for the driver in question installed as well? What's the output of 'lspci -k' and 'lsusb -v' for your device? It works, so yes, firmare is installed. Module's name is rtl8192cu. It just drops the connection after a while, this is a problem You cannot assume that because it works, the firmware is there. The RTL NIC in my Asus Vivo Mini MythTV frontend complained about missing firmware at boot, but it still worked. Check dmesg, you may need firmware to fix your problems. +1 In addidion, use modinfo to find out what parameters the particular module has and add these when you modprobe to switch off power management - which on buggy drivers tends to power down the card. Where do I have to use modinfo. Can you give an example. From my research, that is exactly the power management which powers down the buggy drivers, but I don't know what what are these module options which will prevent to power the card down. -- Regards, Mick --
Re: [gentoo-user] Mutt emerge USE flags for novice
On Sat, 21 Mar 2015 17:28:37 -0700 Lee ny6...@gmail.com wrote: When I have a moment I'll send my Gmail enabled muttrc for u to ponder. Imap with Gmail on mutt is seamless ime. Thanks, I'll be waiting for your .muttrc On Mar 21, 2015 3:42 PM, Julian Simioni jul...@simioni.org wrote: I don't currently use Mutt with Gmail, but one common suggestion is to use an external program like offlineimap for handling syncing. I remember hearing that Mutt's IMAP support is not the best. The guide I followed to get set up initially is Steve Losh's The Homely Mutt, it's really quite good. http://stevelosh.com/blog/2012/10/the-homely-mutt/ Julian On 03/21, German wrote: I am about to emerge Mutt and wanted to ask community what are the optimal USE flags for novice. I am going to use it with gmail. I am about to emerge it with the following USE flags: berkdb, crypt, gdbm, nls, ssl, gpg, imap, mbox, pop, sasl, sidebar, smtp. If anyone feel I should add or remove something from USE, feel free to tell me. Thanks! -- German gentger...@gmail.com -- German gentger...@gmail.com
Re: [gentoo-user] How to poweroff the system from user?
On Sat, 21 Mar 2015 18:51:58 -0400 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Saturday, March 21, 2015 4:58:42 PM German wrote: On Sat, 21 Mar 2015 16:32:25 -0400 Philip Webb purs...@ca.inter.net wrote: 150321 German wrote: If I run poweroff from root, the system shuts down. When I run poweroff from user -- command not found. How to shut down the system from user ? I'ld say Don't : it's contrary to the principles of Unix, which separate the roles of sysadmin (root) from those of ordinary users. To shut down, I first exit Fluxbox via its menu, then 'su' + root password, then alias 'down' = 'shutdown -h now'. That observes the proper roles + ceremonies (smile). Interesting. But as I said ealier, I can reboot the system when I am a user by Ctrl+Alt+Delete. The user can reboot the system, but can't shut down? Strange Either /sbin/poweroff or /usr/sbin/poweroff will do it from a local session (if there's no other users logged in locally). /sbin/poweroff says Must be a superuser :( Like I said, /sbin is only on the search path for root by default on gentoo. -- Fernando Rodriguez -- German gentger...@gmail.com
Re: [gentoo-user] How to poweroff the system from user?
On Sun, 22 Mar 2015 08:49:54 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 22, 2015, at 8:32, German gentger...@gmail.com wrote: /sbin/poweroff says Must be a superuser :( Did you read any of the previous messages? They told you that you have to have consolekit and polkit installed and configured for this to work! Yes, I've read them. However no one explianed how this has to be accomplished with polkit and consolekit. Also the use of sudo is another choice. Sudo is just a package? If you want every user to be able to shutdown just run this command: chmod 6755 /sbin/poweroff -- -Matti --
Re: [gentoo-user] RTL8192CU
On Sat, 21 Mar 2015 10:36:08 +0200 Alexander Kapshuk alexander.kaps...@gmail.com wrote: Was the firmware for the driver in question installed as well? What's the output of 'lspci -k' and 'lsusb -v' for your device? It works, so yes, firmare is installed. Module's name is rtl8192cu. It just drops the connection after a while, this is a problem On Thu, Mar 19, 2015 at 7:42 PM, German gentger...@gmail.com wrote: Today I've bought a new USB wi-fi adapter which has rtl8192cu chip. I've plugged it into my lubuntu computer and it worked out of the box, however soon it drops the connection. I googled it and found out that many people have the same problem with this chip ( but mostly with *buntu flavours). I also found the workaround here: https://github.com/pvaret/rtl8192cu-fixes This box will be soon ( I hope ) will be transferred to Gentoo. I wonder if some one here is using this chip with Gentoo with new kernels, does it run ok and if this problem of *buntu specific? Thanks -- German gentger...@gmail.com -- German gentger...@gmail.com
Re: [gentoo-user] RTL-tm NICs (Was RTL8192CU)
On Sat, 21 Mar 2015 08:03:29 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 19, 2015, at 20:46, Ralf ralf+gen...@ramses-pyramidenbau.de wrote: Hi, I had a rtl8192ce in my laptop. Nothing but problems with Linux. Don't know why, but the signal strength always was much better when using Windows. I've had nothing but problems with RTL-chipsets. But if you buy ~10$ NICs they just don't work like 400$ ones. No more Realtek WiFi cards for me. Hi Matti. What about this one: http://www.newegg.com/Product/Product.aspx?Item=N82E16833704045 I saw some recommendations on this one from people using linux +1 -- -Matti -- German gentger...@gmail.com
[gentoo-user] Mutt emerge USE flags for novice
I am about to emerge Mutt and wanted to ask community what are the optimal USE flags for novice. I am going to use it with gmail. I am about to emerge it with the following USE flags: berkdb, crypt, gdbm, nls, ssl, gpg, imap, mbox, pop, sasl, sidebar, smtp. If anyone feel I should add or remove something from USE, feel free to tell me. Thanks! -- German gentger...@gmail.com
Re: [gentoo-user] How to poweroff the system from user?
On Sat, 21 Mar 2015 21:34:51 +0200 Alexander Kapshuk alexander.kaps...@gmail.com wrote: On Sat, Mar 21, 2015 at 9:26 PM, German gentger...@gmail.com wrote: If I run poweroff from root, the system shuts down, however when I run poweroff from user -- command not found. How to shut down the system from user? Thanks -- German gentger...@gmail.com poweroff(1) says: If you're not the superuser, you will get the message `must be supe‐ ruser'. Either run poweroff as the superuser, or if you're running Gnome, KDE, XFCE, etc., you may use the shutdown option available in those desktop environments. No, I am trying to shutdown from a console Others might suggest other ways of doing it. -- German gentger...@gmail.com
[gentoo-user] How to poweroff the system from user?
If I run poweroff from root, the system shuts down, however when I run poweroff from user -- command not found. How to shut down the system from user? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] How to poweroff the system from user?
On Sat, 21 Mar 2015 15:47:16 -0400 Rich Freeman ri...@gentoo.org wrote: On Sat, Mar 21, 2015 at 3:39 PM, German gentger...@gmail.com wrote: No, I am trying to shutdown from a console Well, the old answer would be that you need to use sudo to run it, as shutting down is a privileged operation. I suspect that the new answer is that with appropriate policykit/consolekit/etc settings you can probably allow somebody sitting at a physical console to shut down the system, or any logged-in user if you prefer. However, I haven't actually set that up myself. Well, I am the only one sitting at the console :) Are there any key combination which allows that? I can reboot even if I am a user with Ctrl+Alt+Delete -- Rich -- German gentger...@gmail.com
Re: [gentoo-user] Mutt emerge USE flags for novice
On Sat, 21 Mar 2015 13:44:22 -0400 Philip Webb purs...@ca.inter.net wrote: 150321 German wrote: I am about to emerge Mutt : what are the optimal USE flags for a novice ? I am going to use it with gmail. I've been a happy use of Mutt since c 1998 ; I don't use Gmail. I am about to emerge it with the following USE flags : berkdb, crypt, gdbm, nls, ssl, gpg, imap, mbox, pop, sasl, sidebar, smtp. In my system : root:518 ~ eix ^mutt$ [I] mail-client/mutt Available versions: 1.5.22-r3 1.5.23-r5 ~1.5.23-r6 {berkdb crypt debug doc gdbm gnutls gpg idn imap kerberos mbox nls nntp pop qdbm sasl selinux sidebar slang smime smtp ssl tokyocabinet} Installed versions: 1.5.23-r5([2015-02-28 12:43:41])(crypt gdbm gnutls pop slang smtp ssl -berkdb -debug -doc -gpg -idn -imap -kerberos -mbox -nls -nntp -qdbm -sasl -selinux -sidebar -smime -tokyocabinet) HTH Thank you, but are there anyone around who uses Mutt with gmail? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca -- German gentger...@gmail.com
Re: [gentoo-user] Mutt emerge USE flags for novice
On Sat, 21 Mar 2015 19:33:54 +0100 Jean-Christophe Bach jc.b...@schplaf.org wrote: In my system : root:518 ~ eix ^mutt$ [I] mail-client/mutt Available versions: 1.5.22-r3 1.5.23-r5 ~1.5.23-r6 {berkdb crypt debug doc gdbm gnutls gpg idn imap kerberos mbox nls nntp pop qdbm sasl selinux sidebar slang smime smtp ssl tokyocabinet} Installed versions: 1.5.23-r5([2015-02-28 12:43:41])(crypt gdbm gnutls pop slang smtp ssl -berkdb -debug -doc -gpg -idn -imap -kerberos -mbox -nls -nntp -qdbm -sasl -selinux -sidebar -smime -tokyocabinet) HTH Thank you, but are there anyone around who uses Mutt with gmail? Hi, In the past, I used it with gmail. I did not change any flag with or without gmail. My mutt flags: berkdb crypt debug doc gdbm gnutls gpg idn imap mbox nls pop sasl sidebar smime smtp ssl -kerberos -nntp -qdbm -selinux -slang -tokyocabinet I use Maildir, therefore I think mbox flag is useless. JC Ok, thanks, will emerge it with those flags -- German gentger...@gmail.com
Re: [gentoo-user] How to poweroff the system from user?
On Sat, 21 Mar 2015 16:32:25 -0400 Philip Webb purs...@ca.inter.net wrote: 150321 German wrote: If I run poweroff from root, the system shuts down. When I run poweroff from user -- command not found. How to shut down the system from user ? I'ld say Don't : it's contrary to the principles of Unix, which separate the roles of sysadmin (root) from those of ordinary users. To shut down, I first exit Fluxbox via its menu, then 'su' + root password, then alias 'down' = 'shutdown -h now'. That observes the proper roles + ceremonies (smile). Interesting. But as I said ealier, I can reboot the system when I am a user by Ctrl+Alt+Delete. The user can reboot the system, but can't shut down? Strange -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca -- German gentger...@gmail.com
[gentoo-user] RTL8192CU
Today I've bought a new USB wi-fi adapter which has rtl8192cu chip. I've plugged it into my lubuntu computer and it worked out of the box, however soon it drops the connection. I googled it and found out that many people have the same problem with this chip ( but mostly with *buntu flavours). I also found the workaround here: https://github.com/pvaret/rtl8192cu-fixes This box will be soon ( I hope ) will be transferred to Gentoo. I wonder if some one here is using this chip with Gentoo with new kernels, does it run ok and if this problem of *buntu specific? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Sat, 14 Mar 2015 10:33:59 + Neil Bothwick n...@digimed.co.uk wrote: On Sat, 14 Mar 2015 06:08:34 -0400, German wrote: Forget about chmod 770. Better do a chmod g+rw. :-) Tried it, it also doesn't stay permanently. OK, no solution :( The correct solution is a udev rule, but it appears that something may be overriding that when you login. A kludgy solution is to add the chmod command to ~/.bash_profile. The system doesn't appear to have ~/.bash_profile Is that sufficient to run nano -w ~/.bash_profile and fill in the blanks? -- Neil Bothwick Veni, vermini, vomui I came, I got ratted, I threw up -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Sat, 14 Mar 2015 14:03:21 -0400 Tom H tomh0...@gmail.com wrote: On Sat, Mar 14, 2015 at 6:08 AM, German gentger...@gmail.com wrote: On Sat, 14 Mar 2015 01:16:32 +0100 waben...@gmail.com wrote: waben...@gmail.com wrote: So it seems that after login you first have to chmod 770 the tty before you do a su - user (user have to be in group tty of course). Forget about chmod 770. Better do a chmod g+rw. :-) Tried it, it also doesn't stay permanently. OK, no solution :( Because /dev is recreated at every boot. You have to override the tty rule(s) in /lib/udev/rules.d/50-udev-default.rules with a rule/rules in /etc/udev/rules.d/. Since the 50-udev-default.rules is an upstream rule that's shipped by all the distros that I use, perhaps you should track down why this is happening rather than overriding it. Canek had asked whether you were using systemd and therefore logind. Since you're using openrc, perhaps you should check whether installing consolekit is a fix because it's the precursor to logind. Just to emerge consolekit and see if it fix it? -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Tue, 17 Mar 2015 19:16:42 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 17, 2015, at 18:11, German gentger...@gmail.com wrote: Don't hit your head to a brick wall. A small strace to the login process reveals that login set things as you tell it to in /etc/login.defs In this file change the line: TTYPERM 0600 To: TTYPERM 0620 And your problem is fixed. Sorry, this didn't fix it Yes. Sorry. The mode was wrong: TTYPERM 660 Will fix it, if your screen is setgid tty and ttyX is gid tty. If not then: TTYPERM 666 Will fix it, but also your tty will be world readable. If you don't consider that too big security risk, then just go Neither 660 nor 666 fixed it. Sorry :( ahead. -- -Matti -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Tue, 17 Mar 2015 20:39:46 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 17, 2015, at 19:33, German gentger...@gmail.com wrote: On Tue, 17 Mar 2015 19:16:42 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 17, 2015, at 18:11, German gentger...@gmail.com wrote: Don't hit your head to a brick wall. A small strace to the login process reveals that login set things as you tell it to in /etc/login.defs In this file change the line: TTYPERM 0600 To: TTYPERM 0620 And your problem is fixed. Sorry, this didn't fix it Yes. Sorry. The mode was wrong: TTYPERM 660 Will fix it, if your screen is setgid tty and ttyX is gid tty. If not then: TTYPERM 666 Will fix it, but also your tty will be world readable. If you don't consider that too big security risk, then just go Neither 660 nor 666 fixed it. Sorry :( If you have: TTYPERM 0666 And logout and login. What mode and ownership do you have in you tty (/dev/ttyX)? Ok, Matti, 0666 worked, now I can run screen as a user. Thanks. Do you think I have to try to run it 0660? Will it be less security risk? -- -Matti -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Tue, 17 Mar 2015 22:14:03 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 17, 2015, at 21:52, German gentger...@gmail.com wrote: On Tue, 17 Mar 2015 20:39:46 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 17, 2015, at 19:33, German gentger...@gmail.com wrote: On Tue, 17 Mar 2015 19:16:42 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 17, 2015, at 18:11, German gentger...@gmail.com wrote: Don't hit your head to a brick wall. A small strace to the login process reveals that login set things as you tell it to in /etc/login.defs In this file change the line: TTYPERM 0600 To: TTYPERM 0620 And your problem is fixed. Sorry, this didn't fix it Yes. Sorry. The mode was wrong: TTYPERM 660 Will fix it, if your screen is setgid tty and ttyX is gid tty. If not then: TTYPERM 666 Will fix it, but also your tty will be world readable. If you don't consider that too big security risk, then just go Neither 660 nor 666 fixed it. Sorry :( If you have: TTYPERM 0666 And logout and login. What mode and ownership do you have in you tty (/dev/ttyX)? Ok, Matti, 0666 worked, now I can run screen as a user. Thanks. Do you think I have to try to run it 0660? Will it be less security risk? Well 0666 = 666. The reason it now worked is because you logged out and then back in. This is becaus login program only reads the /etc/login.defs-file when you login. I pretty much sure that I logged out and logged in back after setting to 666 and it didn't work, but setting to 0666 has worked. Strange. With mode 0666 every user on your computer can read everything (every character) you have in your screen (so not much privacy). If you set: TTYGROUP utmp TTYPERM 0660 And have: -rwxr-sr-x root utmp /usr/bin/screen Everything will also work and you have more privacy. I'll be the only user on this system. So I guess I can leave it as it is. When /bin/login us run it changes ownership of the tty to the user who logs in. Su -l does not do this. That is why the screen doesn't work. ConsoleKit is the program that is responsible for many of these permission changes. Do you have that installed? I think ConsoleKit was installed when I emerged screen, but I am not sure. -- -Matti -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Sat, 14 Mar 2015 20:53:44 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 14, 2015, at 12:47, German gentger...@gmail.com wrote: On Sat, 14 Mar 2015 10:33:59 + Neil Bothwick n...@digimed.co.uk wrote: On Sat, 14 Mar 2015 06:08:34 -0400, German wrote: Forget about chmod 770. Better do a chmod g+rw. :-) Tried it, it also doesn't stay permanently. OK, no solution :( The correct solution is a udev rule, but it appears that something may be overriding that when you login. I have the same udev rule. Yes, something is overriding it. A kludgy solution is to add the chmod command to ~/.bash_profile. Don't hit your head to a brick wall. A small strace to the login process reveals that login set things as you tell it to in /etc/login.defs In this file change the line: TTYPERM 0600 To: TTYPERM 0620 And your problem is fixed. Sorry, this didn't fix it The problem has nothing to do with udev. If you don't like a volatile /dev just remove udev and create everything you wan't by hand (not recommended ;) Another thing i'm puzzled by is, why do you wan't to login as root and the su to someone else? I usually do it the other way around... -- -Matti -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Sat, 14 Mar 2015 10:33:59 + Neil Bothwick n...@digimed.co.uk wrote: On Sat, 14 Mar 2015 06:08:34 -0400, German wrote: Forget about chmod 770. Better do a chmod g+rw. :-) Tried it, it also doesn't stay permanently. OK, no solution :( The correct solution is a udev rule, but it appears that something may be overriding that when you login. I have the same udev rule. Yes, something is overriding it. A kludgy solution is to add the chmod command to ~/.bash_profile. thanks -- Neil Bothwick Veni, vermini, vomui I came, I got ratted, I threw up -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Sat, 14 Mar 2015 01:16:32 +0100 waben...@gmail.com wrote: waben...@gmail.com wrote: Neil Bothwick n...@digimed.co.uk wrote: On Fri, 13 Mar 2015 15:16:28 -0400, German wrote: after searching, I found the following solution to chmod tty1, like so: chmod o+rw /dev/tty1 and this worked, I was able to use screen as a user, however it doesn't stay permanently; after reboot, I got the same problem. How to chmod tty1 so changes stay permenently? Thanks /dev/tty1 is already group writeable, so you should get the same result by adding your user to the tty group. When I logged in as regular user then ownership of the tty that I used for log in is: crw--- 1 wabe tty 4, 1 13. Mär 17:49 /dev/tty1 When I logged in as root, then owner is root (not surprising). crw--- 1 root tty 4, 2 13. Mär 23:47 /dev/tty2 Adding your user to group tty probably wouldn't resolve your problem (not tested), because group doesn't have any rights. So it seems that after login you first have to chmod 770 the tty before you do a su - user (user have to be in group tty of course). Forget about chmod 770. Better do a chmod g+rw. :-) Tried it, it also doesn't stay permanently. OK, no solution :( -- Regards wabe -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Fri, 13 Mar 2015 15:59:04 + Neil Bothwick n...@digimed.co.uk wrote: On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com wrote: This is very strange. When I boot up my box and login as a user I can use screen. But if I booted up and logged in as root first and then su user, the user have the error message displayed in the subject line. Any ideas? -- German gentger...@gmail.com Try su - l user. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. after searching, I found the following solution to chmod tty1, like so: chmod o+rw /dev/tty1 and this worked, I was able to use screen as a user, however it doesn't stay permanently; after reboot, I got the same problem. How to chmod tty1 so changes stay permenently? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Yet another update]
On Fri, 13 Mar 2015 15:59:04 + Neil Bothwick n...@digimed.co.uk wrote: On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com wrote: This is very strange. When I boot up my box and login as a user I can use screen. But if I booted up and logged in as root first and then su user, the user have the error message displayed in the subject line. Any ideas? -- German gentger...@gmail.com Try su - l user. And after a little more searching interwebs I found this solution: to run script /dev/null after I logged on to the user after root. This allows to launch screen -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Sat, 14 Mar 2015 00:00:34 +0100 waben...@gmail.com wrote: Neil Bothwick n...@digimed.co.uk wrote: On Fri, 13 Mar 2015 15:16:28 -0400, German wrote: after searching, I found the following solution to chmod tty1, like so: chmod o+rw /dev/tty1 and this worked, I was able to use screen as a user, however it doesn't stay permanently; after reboot, I got the same problem. How to chmod tty1 so changes stay permenently? Thanks /dev/tty1 is already group writeable, so you should get the same result by adding your user to the tty group. When I logged in as regular user then ownership of the tty that I used for log in is: crw--- 1 wabe tty 4, 1 13. Mär 17:49 /dev/tty1 When I logged in as root, then owner is root (not surprising). crw--- 1 root tty 4, 2 13. Mär 23:47 /dev/tty2 Adding your user to group tty probably wouldn't resolve your problem (not tested), because group doesn't have any rights. Yes, it didn't resolve my problem. The only solution for now is to run script /dev/null. Then I can run screen as a user. People are having the same problem all over the net. So it seems that after login you first have to chmod 770 the tty before you do a su - user (user have to be in group tty of course). Maybe it would ease things when you write a little script for this procedure. -- Regards wabe -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
On Fri, 13 Mar 2015 23:28:32 + Neil Bothwick n...@digimed.co.uk wrote: On Fri, 13 Mar 2015 23:22:50 +, Neil Bothwick wrote: Interesting, here, as a normal user: % ls -l /dev/tty1 crw--w 1 root tty 4, 1 Mar 13 22:26 /dev/tty1 So it seems that after login you first have to chmod 770 the tty before you do a su - user (user have to be in group tty of course). Maybe it would ease things when you write a little script for this procedure. A udev rule would be less kludgy. I have this in /lib/udev/rules.d/50-udev-default.rules: SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620 thanks, I'll try that as well -- Neil Bothwick Windows Error #09: Game Over. Exiting Windows. -- German gentger...@gmail.com
[gentoo-user] Make the user the member of portage group or not?
Question is in the subject line. Another question I have is there any point to use other frambuffer device ( I currently use efifb) and I am thinking to use fb for my radeon r4 graphics in hopes to get some acceleration. Thanks -- German gentger...@gmail.com
Re: [gentoo-user] Make the user the member of portage group or not?
On Fri, 13 Mar 2015 06:42:08 -0400 Walter Dnes waltd...@waltdnes.org wrote: On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote Question is in the subject line. If the user is a member of portage he can do any emerge operation as long as the command includes --pretend or -p [d531][waltdnes][~] emerge -pv ufraw These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] media-gfx/ufraw-0.20-r1 USE=-contrast -fits -gimp -gnome -gtk -openmp -timezone 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB However, the regular user is not allowed to actually emerge or unmerge anything. E.g... [d531][waltdnes][~] emerge -v ufraw emerge: superuser access is required The idea is to allow the user to find out what he would have to do if he wanted to emerge/unmerge something. Thanks for your answer. It now got clearer to me. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check
On Fri, 13 Mar 2015 15:59:04 + Neil Bothwick n...@digimed.co.uk wrote: On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com wrote: This is very strange. When I boot up my box and login as a user I can use screen. But if I booted up and logged in as root first and then su user, the user have the error message displayed in the subject line. Any ideas? -- German gentger...@gmail.com Try su - l user. The same error -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check
On Fri, 13 Mar 2015 10:11:58 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Fri, Mar 13, 2015 at 10:06 AM, German gentger...@gmail.com wrote: On Fri, 13 Mar 2015 15:59:04 + Neil Bothwick n...@digimed.co.uk wrote: On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com wrote: This is very strange. When I boot up my box and login as a user I can use screen. But if I booted up and logged in as root first and then su user, the user have the error message displayed in the subject line. Any ideas? -- German gentger...@gmail.com Try su - l user. The same error Are you using logind? Good question. What is logind? How I can find out what am I using? Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México -- German gentger...@gmail.com
[gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check
This is very strange. When I boot up my box and login as a user I can use screen. But if I booted up and logged in as root first and then su user, the user have the error message displayed in the subject line. Any ideas? -- German gentger...@gmail.com
Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check
On Fri, 13 Mar 2015 10:31:11 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Fri, Mar 13, 2015 at 10:22 AM, German gentger...@gmail.com wrote: [ ... ] Are you using logind? Good question. What is logind? How I can find out what am I using? If you are using systemd, you are using logind. Otherwise you are not. No, I am using openRC Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México -- German gentger...@gmail.com
[gentoo-user] Networkmanager emerged, system unstable
So yes, I did install networkmanager, however for some reason after emerging it, I got the problems: Console cursor can not blink, keyboard input is unstable, sometimes cursor is stuck, sometimes it gets delays in ouput. Something broke my system. Does anyone have a clue what is going on? Also, while I am considering installing wicd ncurses, does anyone use CLI wifi tool iw? I can connect to network with cable attached, however there is no connection when I try to use wifi module. How networkmanager can be configured to use wi-fi? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] Networkmanager emerged, system unstable
On Wed, 11 Mar 2015 16:25:00 -0400 Josh Lemerand emptykathar...@gmail.com wrote: nmcli dev wifi con Cafe Hotspot 1 password caffeine name My cafe creates a new connection named My cafe and thenconnects it to Cafe Hotspot 1 SSID using password caffeine. This is mainly useful when connecting to Cafe Hotspot 1 for the first time. Next time, it is better to use 'nmcli con up id My cafe' so that the existing connection profile can be used and no additional is created. Thanks. Are there any ways to scan for available wi-fi hotspots in nmcli? from the nmcli man page. On Wed, Mar 11, 2015 at 3:40 PM, German gentger...@gmail.com wrote: So yes, I did install networkmanager, however for some reason after emerging it, I got the problems: Console cursor can not blink, keyboard input is unstable, sometimes cursor is stuck, sometimes it gets delays in ouput. Something broke my system. Does anyone have a clue what is going on? Also, while I am considering installing wicd ncurses, does anyone use CLI wifi tool iw? I can connect to network with cable attached, however there is no connection when I try to use wifi module. How networkmanager can be configured to use wi-fi? Thanks -- German gentger...@gmail.com -- German gentger...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 12:35:26 -0600 Jc García jyo.gar...@gmail.com wrote: 2015-03-11 7:16 GMT-06:00 German gentger...@gmail.com: On Wed, 11 Mar 2015 12:38:08 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 11 Mar 2015 08:14:13 -0400, German wrote: eix-e: command not found. What to do? Insert a space between eix and -e. Same result - command not found emerge eix, then run eix-update as root. Ok, done that. Indeed there are anything related to x11-lib, but when I do emerge --ask net-misc/networkmanager I see x11-proto and x11-libs to be emerged. Use variable is set to -X. Anyone can shed a light on this? How can I emerge networkmanager without X dependencies? Thanks so much If you want an easy way of configuring wirless without GUI use wicd and the wicd curses client(enabled via USE flag), NetworkManager is simpler to use with a GUI, the CLI client is not so easy to use, but if you want to, make sure none of the GUI related use flags are set e.g. gtk qt X emerge it, and then read and search info(man, google) about nmcli. Did you hear about CLI wi-fi tool iw? I am testing it right now, but seem cannot figure out how to use it -- German gentger...@gmail.com
[gentoo-user] Network manager [ control of wireless and wired interafaces]
Hi. I was said that I need network manager to control my interfaces. What package should I emerge? I am in console mode. Is that ncurses based or command line? Any other pointers on how this can be configured are welcome. Thanks -- German gentger...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 12:38:08 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 11 Mar 2015 08:14:13 -0400, German wrote: eix-e: command not found. What to do? Insert a space between eix and -e. Same result - command not found emerge eix, then run eix-update as root. Ok, done that. Indeed there are anything related to x11-lib, but when I do emerge --ask net-misc/networkmanager I see x11-proto and x11-libs to be emerged. Use variable is set to -X. Anyone can shed a light on this? How can I emerge networkmanager without X dependencies? Thanks so much -- Neil Bothwick Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it. -- German gentger...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 13:52:02 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On 11/03/2015 13:40, German wrote: wpa_supplicant doesn't handle switching between wored and wireless interfaces, which is why I suggest a network manager. That could be NetworkManager, but you could equally use Wicd. Both are in portage. Alternatively, you could just set up the two interfacs in /etc/conf.d/net and switch between them by starting and stopping /etc/init.d/net.{eth0,wlan0}. It depends on how automatic you want it. Ok, I tried to emerge networkmanger and it tries to pull a bunch of dependencies which I do not need, e.g. x11-proto, x11-libs. I already set use flag to -X because for now I will be happy with console mode, but it still tries to pull them. How do I tell portage not emerge unneeded dependencies? Thanks You tell portage to not pull in unneeded dependencies by setting the appropriate USE flags. The people you are asking for assistance will determine this by reading the ebuild, or by using the appropriate portage tools to figure it out. You should start learning these skills yourself so you can answer your own questions. 1. Run eix-e networkmanager. There is nothing there related to x11. eix-e: command not found. What to do? 2. Read the ebuild for networkmanager-1.0.0. There is nothing in there related to x11, so that's not it. 3. Run emerge -pvt networkmanager. This will give an indented view of what is pulling in what. Find the entries of x11-proto etc and see what is pulling them in. Investigate those packages to disable x11. -- Alan McKinnon alan.mckin...@gmail.com -- German gentger...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 11:15:06 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 11 Mar 2015 05:48:08 -0400, Fernando Rodriguez wrote: On Wednesday, March 11, 2015 5:19:32 AM German wrote: Hi. I was said that I need network manager to control my interfaces. What package should I emerge? I am in console mode. Is that ncurses based or command line? Any other pointers on how this can be configured are welcome. Thanks net-misc/networkmanager It comes with CLI tools but it's usually used with a frontend GUI. See http://wiki.gentoo.org/wiki/NetworkManager#NetworkManager_GUI_bits_in_GTK For KDE I use kde-misc/plasma-nm. If you don't have a desktop it propably makes more sense to just use wpa_supplicant directly. wpa_supplicant doesn't handle switching between wored and wireless interfaces, which is why I suggest a network manager. That could be NetworkManager, but you could equally use Wicd. Both are in portage. Alternatively, you could just set up the two interfacs in /etc/conf.d/net and switch between them by starting and stopping /etc/init.d/net.{eth0,wlan0}. It depends on how automatic you want it. Ok, I tried to emerge networkmanger and it tries to pull a bunch of dependencies which I do not need, e.g. x11-proto, x11-libs. I already set use flag to -X because for now I will be happy with console mode, but it still tries to pull them. How do I tell portage not emerge unneeded dependencies? Thanks -- Neil Bothwick Therapy is expensive, popping bubble wrap is cheap! You choose. -- German gentger...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 13:12:04 +0100 Paul Klos gen...@klos2day.nl wrote: Op woensdag 11 maart 2015 08:03:06 schreef German: eix-e: command not found. What to do? Insert a space between eix and -e. Same result - command not found -- German gentger...@gmail.com
Re: [gentoo-user] Warning: /lib64/rc/cache is not writable
On Thu, 5 Mar 2015 16:13:59 -0500 Mike Gilbert flop...@gentoo.org wrote: On Thu, Mar 5, 2015 at 2:08 PM, German gentger...@gmail.com wrote: On Thu, 5 Mar 2015 13:45:51 -0500 Mike Gilbert flop...@gentoo.org wrote: On Thu, Mar 5, 2015 at 12:28 PM, German gentger...@gmail.com wrote: On Thu, 5 Mar 2015 12:47:36 + Neil Bothwick n...@digimed.co.uk wrote: On Thu, 5 Mar 2015 07:37:39 -0500, German wrote: Is /var on your root filesystem? If so, it sounds like something is trying to write to it before it has been remounted rw. Try adding rw (and removing ro if present) to your kernel options. Ok, thanks. What file should I write these options to? Your bootloader config, that's where you specify the kernel boot options. That's what I thought, however I use gummiboot. Can you give an example, to show your gummiboot config once again? Add it to the options line in the relavent file in /boot/loader/entries. Or test it first by pressing e at the menu and adding it there So any other idea on hhow to fix it? Anyone? Can you please post the output of the following commands? stat /lib64/rc stat /lib64/rc/cache stat /lib64/rc/cache stat: cannot stat /lib64/rc/cache: No such file or directory I'll also put stat /lib64/rc later. I am thinking if there is no cache file, probably this will give you some clue. I am retyping this from my laptop screen and /lib64/rc is quite lengthy. Thank you. Please tell me if you really need it ( and me) and I'll take my time and retype it. It's supposed to be a directory. Try running mkdir -p /lib64/rc/cache. It seems the error is gone. But I wonder why I didn't have /lib64/rc/cache directory. This was a fresh install. -- German gentger...@gmail.com
Re: [gentoo-user] Warning: /lib64/rc/cache is not writable
On Thu, 5 Mar 2015 12:47:36 + Neil Bothwick n...@digimed.co.uk wrote: On Thu, 5 Mar 2015 07:37:39 -0500, German wrote: Is /var on your root filesystem? If so, it sounds like something is trying to write to it before it has been remounted rw. Try adding rw (and removing ro if present) to your kernel options. Ok, thanks. What file should I write these options to? Your bootloader config, that's where you specify the kernel boot options. That's what I thought, however I use gummiboot. Can you give an example, to show your gummiboot config once again? Add it to the options line in the relavent file in /boot/loader/entries. Or test it first by pressing e at the menu and adding it there So any other idea on hhow to fix it? Anyone? -- Neil Bothwick Fragile. Do not turn umop ap1sdn! -- German gentger...@gmail.com
Re: [gentoo-user] See bootup/poweroff screen?
On Thu, 05 Mar 2015 00:17:34 -0600 Dale rdalek1...@gmail.com wrote: German wrote: I have a SSD in my laptop and the system boots really fast so I can't see the details of the warnings it displays. Are there any way to scroll the screen or see some system boot's logs? Thanks You may want to read this post and try this method too. I did this ages ago and on occasion, it helps. http://forums.gentoo.org/viewtopic-p-7682938.html#7682938 It should scroll to it but it's the second post that is made by PeGa! that may help. The messages go to this file: /var/log/rc.log Dale :-) :-) * * Thanks Dale, done it. Unfortunately it doesn't log everything. For instance Warning: /lib64/rc/cache is not writable wasn't written to /var/log/rc.log -- German gentger...@gmail.com
[gentoo-user] Warning: /lib64/rc/cache is not writable
How to fix this? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] Warning: /lib64/rc/cache is not writable
On Thu, 5 Mar 2015 13:45:51 -0500 Mike Gilbert flop...@gentoo.org wrote: On Thu, Mar 5, 2015 at 12:28 PM, German gentger...@gmail.com wrote: On Thu, 5 Mar 2015 12:47:36 + Neil Bothwick n...@digimed.co.uk wrote: On Thu, 5 Mar 2015 07:37:39 -0500, German wrote: Is /var on your root filesystem? If so, it sounds like something is trying to write to it before it has been remounted rw. Try adding rw (and removing ro if present) to your kernel options. Ok, thanks. What file should I write these options to? Your bootloader config, that's where you specify the kernel boot options. That's what I thought, however I use gummiboot. Can you give an example, to show your gummiboot config once again? Add it to the options line in the relavent file in /boot/loader/entries. Or test it first by pressing e at the menu and adding it there So any other idea on hhow to fix it? Anyone? Can you please post the output of the following commands? stat /lib64/rc stat /lib64/rc/cache stat /lib64/rc/cache stat: cannot stat /lib64/rc/cache: No such file or directory I'll also put stat /lib64/rc later. I am thinking if there is no cache file, probably this will give you some clue. I am retyping this from my laptop screen and /lib64/rc is quite lengthy. Thank you. Please tell me if you really need it ( and me) and I'll take my time and retype it. -- German gentger...@gmail.com
Re: [gentoo-user] No network ( Solved, I am connected, thanks)
On Thu, 05 Mar 2015 09:36 + Peter Humphrey pe...@prh.myzen.co.uk wrote: On Wednesday 04 March 2015 21:26:53 German wrote: On Wed, 4 Mar 2015 18:25:07 + Mick michaelkintz...@gmail.com wrote: Now that you're connected, or should I say BEFORE you got connected, you should also consider configuring a firewall for your IPv4 (and/or IPv6) network. What package I should use for this on a console? I want something simple but efficient. I use shorewall. It's not too hard to understand and I haven't seen any reports of problems with it. Thanks for recommendation -- Rgds Peter. -- German gentger...@gmail.com
Re: [gentoo-user] Warning: /lib64/rc/cache is not writable
On Thu, 5 Mar 2015 12:34:05 + Neil Bothwick n...@digimed.co.uk wrote: On Thu, 5 Mar 2015 05:10:03 -0500, German wrote: Is /var on your root filesystem? If so, it sounds like something is trying to write to it before it has been remounted rw. Try adding rw (and removing ro if present) to your kernel options. Ok, thanks. What file should I write these options to? Your bootloader config, that's where you specify the kernel boot options. That's what I thought, however I use gummiboot. Can you give an example, to show your gummiboot config once again? -- Neil Bothwick If at first you don't succeed, redefine success. -- German gentger...@gmail.com
Re: [gentoo-user] Warning: /lib64/rc/cache is not writable
On Thu, 5 Mar 2015 08:24:44 + Neil Bothwick n...@digimed.co.uk wrote: On Thu, 5 Mar 2015 03:09:46 -0500, German wrote: How to fix this? Thanks Is /var on your root filesystem? If so, it sounds like something is trying to write to it before it has been remounted rw. Try adding rw (and removing ro if resent) to your kernel options. Ok, thanks. What file should I write these options to? -- Neil Bothwick For security reasons, all text in this mail is double-rot13 encrypted. -- German gentger...@gmail.com
Re: [gentoo-user] Warning: /lib64/rc/cache is not writable
On Thu, 5 Mar 2015 12:22:07 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Thu, 5 Mar 2015 03:09:46 -0500 German gentger...@gmail.com wrote: How to fix this? Thanks I haven't the foggiest idea. But, in your shoes, I'd probably find out more about chown and chmod Perhaps it sholdn't be writable. I thought about chmod +x but decided to wait before I hear a few explainations about what's going on -- alan.mckin...@gmail.com -- German gentger...@gmail.com
Re: [gentoo-user] Warning: /lib64/rc/cache is not writable
On Thu, 5 Mar 2015 12:47:36 + Neil Bothwick n...@digimed.co.uk wrote: On Thu, 5 Mar 2015 07:37:39 -0500, German wrote: Is /var on your root filesystem? If so, it sounds like something is trying to write to it before it has been remounted rw. Try adding rw (and removing ro if present) to your kernel options. Ok, thanks. What file should I write these options to? Your bootloader config, that's where you specify the kernel boot options. That's what I thought, however I use gummiboot. Can you give an example, to show your gummiboot config once again? Add it to the options line in the relavent file in /boot/loader/entries. Or test it first by pressing e at the menu and adding it there. Ok Neil, I hit e at the boot and added rw to boot option, so it looked like root=/dev/sda3 rw I still get cache is not writeable warning when system poweroffs. What else can be causing this? -- Neil Bothwick Fragile. Do not turn umop ap1sdn! -- German gentger...@gmail.com
Re: [gentoo-user] No network ( Solved, I am connected, thanks)
On Wed, 4 Mar 2015 12:07:39 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 4 Mar 2015 06:57:48 -0500, German wrote: On Wed, 4 Mar 2015 08:09:12 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 4 Mar 2015 02:01:20 -0500, German wrote: So I rebuilt my kernel with r8169 for network NIC and rtl8723be for Wi-fi NIC, however I can't connect to internet. I think the problem here with interfaces, but could be something else, have no clue. I remember when I installed openSuse, it listed my interfaces like SP0_something instead of eth0. But I followed gentoo install doc and configured it with eth0. Can it be that problem lays somewhere here? And how to get the list of interfaces on my machine? ifconfig -a lists all interfaces present. Of course I don't have any eth0 interface. What I have are: enp2s0 lo sit0 wlp1s0 Did you read the links later in my post? They explain this. What I am about to do: Update my /etc/conf.d/net like so: config_enp2s0=dhcp config_lo=dhcp you need nothing for lo. config_sit0=dhcp config_wlp1s0=dhcp cd /etc/init.d ln -s net.enp2s0 net.sit0 net.wlp1s0 Interfaces in init.d should each be symlinked to net.lo. But if you put all interfaces in init.d openrc will try to start all of them. Is that what you really want? If you have both wired and wireless interfaces, it is usual to use a network manager to control them. rm /etc/init.d/net.eth0 rc-update del net.eth0 default rc-update add net.enp2s0 sit0 wlp1s0 default Please let me know if you find these steps correct. Thanks Unless you added net.ifnames=0 to your kernel options, you will be using the new(ish) predictable network interface names, see http://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_216 and http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ -- Neil Bothwick Bug: (n.) any program feature not yet described to the marketing department. -- Neil Bothwick Accordion: a bagpipe with pleats. -- German gentger...@gmail.com
Re: [gentoo-user] No network ( Solved, I am connected, thanks)
On Wed, 4 Mar 2015 18:25:07 + Mick michaelkintz...@gmail.com wrote: On Wednesday 04 Mar 2015 15:40:12 German wrote: On Wed, 4 Mar 2015 12:07:39 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 4 Mar 2015 06:57:48 -0500, German wrote: On Wed, 4 Mar 2015 08:09:12 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 4 Mar 2015 02:01:20 -0500, German wrote: So I rebuilt my kernel with r8169 for network NIC and rtl8723be for Wi-fi NIC, however I can't connect to internet. I think the problem here with interfaces, but could be something else, have no clue. I remember when I installed openSuse, it listed my interfaces like SP0_something instead of eth0. But I followed gentoo install doc and configured it with eth0. Can it be that problem lays somewhere here? And how to get the list of interfaces on my machine? ifconfig -a lists all interfaces present. Of course I don't have any eth0 interface. What I have are: enp2s0 lo sit0 wlp1s0 Did you read the links later in my post? They explain this. What I am about to do: Update my /etc/conf.d/net like so: config_enp2s0=dhcp config_lo=dhcp you need nothing for lo. You also do not need to define dhcp for enp2s0, because it will be used by default. config_sit0=dhcp You only need this if you intend to set up and use IPv6 through an IPv4 tunnel. Most people won't need this. config_wlp1s0=dhcp cd /etc/init.d ln -s net.enp2s0 net.sit0 net.wlp1s0 Interfaces in init.d should each be symlinked to net.lo. But if you put all interfaces in init.d openrc will try to start all of them. Is that what you really want? If you have both wired and wireless interfaces, it is usual to use a network manager to control them. rm /etc/init.d/net.eth0 rc-update del net.eth0 default rc-update add net.enp2s0 sit0 wlp1s0 default Please let me know if you find these steps correct. Thanks Unless you added net.ifnames=0 to your kernel options, you will be using the new(ish) predictable network interface names, see http://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_216 and http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkIn terfaceNames/ Now that you're connected, or should I say BEFORE you got connected, you should also consider configuring a firewall for your IPv4 (and/or IPv6) network. What package I should use for this on a console? I want something simple but efficient. -- Regards, Mick -- German gentger...@gmail.com
[gentoo-user] See bootup/poweroff screen?
I have a SSD in my laptop and the system boots really fast so I can't see the details of the warnings it displays. Are there any way to scroll the screen or see some system boot's logs? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] No network
On Wed, 4 Mar 2015 08:09:12 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 4 Mar 2015 02:01:20 -0500, German wrote: So I rebuilt my kernel with r8169 for network NIC and rtl8723be for Wi-fi NIC, however I can't connect to internet. I think the problem here with interfaces, but could be something else, have no clue. I remember when I installed openSuse, it listed my interfaces like SP0_something instead of eth0. But I followed gentoo install doc and configured it with eth0. Can it be that problem lays somewhere here? And how to get the list of interfaces on my machine? ifconfig -a lists all interfaces present. Of course I don't have any eth0 interface. What I have are: enp2s0 lo sit0 wlp1s0 What I am about to do: Update my /etc/conf.d/net like so: config_enp2s0=dhcp config_lo=dhcp config_sit0=dhcp config_wlp1s0=dhcp cd /etc/init.d ln -s net.enp2s0 net.sit0 net.wlp1s0 rm /etc/init.d/net.eth0 rc-update del net.eth0 default rc-update add net.enp2s0 sit0 wlp1s0 default Please let me know if you find these steps correct. Thanks Unless you added net.ifnames=0 to your kernel options, you will be using the new(ish) predictable network interface names, see http://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_216 and http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ -- Neil Bothwick Bug: (n.) any program feature not yet described to the marketing department. -- German gentger...@gmail.com
[gentoo-user] No network
So I rebuilt my kernel with r8169 for network NIC and rtl8723be for Wi-fi NIC, however I can't connect to internet. I think the problem here with interfaces, but could be something else, have no clue. I remember when I installed openSuse, it listed my interfaces like SP0_something instead of eth0. But I followed gentoo install doc and configured it with eth0. Can it be that problem lays somewhere here? And how to get the list of interfaces on my machine? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] RTL8723BE and RTL8111/8168/8411
On Tue, 3 Mar 2015 15:27:02 + Neil Bothwick n...@digimed.co.uk wrote: On Tue, 3 Mar 2015 14:00:05 +0200, Matti Nykyri wrote: As for RTL8723BE wifi NIC I don't know the module. It should be quite easy to find. As it happens, I've just helped someone with a problem with such a NIC. There is a module in the latest kernels but you may need to add fwlps=0 ips=0 to the module's options to stop it going into power saving mode and not waking up until a reboot. where such options have to be added? -- Neil Bothwick What Aussies lack in Humour they make up for in Beer! -- German gentger...@gmail.com
Re: [gentoo-user] RTL8723BE and RTL8111/8168/8411
On Tue, 3 Mar 2015 10:07:06 + Neil Bothwick n...@digimed.co.uk wrote: On Tue, 3 Mar 2015 04:24:39 -0500, German wrote: However, you shouldn't need to add a network card module to this file, it should be loaded automatically by kernel hotplugging. Should it concern wifi module as well? Neil, please help me out with finding these modules in kernel config menus. Can't locate them You can find any modules in make menuconfig by pressing / and then typing a search string. That shows up modules you may not find when browsing them menus, because there are other options you need to enable first (which the search result shows). thanks Neil, I'll try it. And yes, I know module's names That assumes you know which modules you need. The easiest way to tell that is to boot from a live CD live system rescue Cd or the install disc and run lspci -k, which shows the modules used by each item. -- Neil Bothwick I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- German gentger...@gmail.com
Re: [gentoo-user] RTL8723BE and RTL8111/8168/8411
On Tue, 3 Mar 2015 09:03:10 + Neil Bothwick n...@digimed.co.uk wrote: On Tue, 3 Mar 2015 06:42:39 +, Mick wrote: Is syntax in /etc/conf.d/modules valid? Just want to make sure. modules_2_6=3c59x This should be 'modules_3_18=' assuming that you are using kernel version 3.18.7 or some such. Or even just modules=. You only need the version numbers if you want to restrict loading to particular kernels. However, you shouldn't need to add a network card module to this file, it should be loaded automatically by kernel hotplugging. Should it concern wifi module as well? Neil, please help me out with finding these modules in kernel config menus. Can't locate them -- Neil Bothwick WinErr 00C: Memory hog error - More Ram needed. More! More! More! -- German gentger...@gmail.com
[gentoo-user] RTL8723BE and RTL8111/8168/8411
Now when my system is finally booted, I would like someone walk me through the kernel config menu ( I couldn't locate the modules during install). Aformentioned modules are in the subject line. Is syntax in /etc/conf.d/modules valid? Just want to make sure. modules_2_6=3c59x And finally, I'd like ( if possible) that my system on console displays gentoo logo instead of default three logos ( why are three of them anyway ) and compile in smaller fonts to use on my console. If someone walk me through how this can be done, this would be also great. Thanks so much! -- German gentger...@gmail.com
Re: [gentoo-user] gummibootx64.efi OR bootx64.efi?
On Mon, 2 Mar 2015 02:31:27 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Mon, Mar 2, 2015 at 2:27 AM, German gentger...@gmail.com wrote: On Mon, 2 Mar 2015 02:10:33 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Mon, Mar 2, 2015 at 2:03 AM, German gentger...@gmail.com wrote: On Mon, 2 Mar 2015 01:41:19 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Sun, Mar 1, 2015 at 11:11 PM, German gentger...@gmail.com wrote: Out of curiosity I looked into my /boot partition and found two .efi files. One is /boot/efi/gummiboot/gummibootx64.efi and another is /boot/efi/boot/bootx64.efi. I remember I've created /boot/efi/boot/bootx64.efi during install by copying kernel image file to it and supposedly it was for efibootmng. I think gummiboot has created its own gummibootx64.efi. Is that safe to delete */boot/bootx64.efi? Thanks They are the same image; do an md5sum of both, you'll see that they have the same checksum. I believe Boot/BOOTX64.EFI is the default location where the BIOS (or whatever is called in UEFI systems) looks for an image to boot, and gummiboot/gummibootx64.efi is just a copy. I'm not sure, but I would not delete it: gummiboot creates both copies of the file. Well, no, I have created */boot/bootx64.efi manually and */gummiboot/gummibootx64.efi was created by gummiboot install. In my machines boot/bootx64.efi was created by gummiboot, and it's the same ile as gummiboot/gummibootx64.efi (same checksum). I just did md5sums and yes, gummibootx64.efi and bootx64.efi are the same Mmmh. So it was gummitboot and not created by hand? Anyway, as I said earlier; I think boot/bootx64.efi is the default location, and the other one is kinda a backup. I did created it by hand, but I think gummiboot overwritten the entry. Anyway, thanks for clarification and I'll leave both entries. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México -- German gentger...@gmail.com
Re: [gentoo-user] gummibootx64.efi OR bootx64.efi?
On Mon, 2 Mar 2015 02:10:33 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Mon, Mar 2, 2015 at 2:03 AM, German gentger...@gmail.com wrote: On Mon, 2 Mar 2015 01:41:19 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Sun, Mar 1, 2015 at 11:11 PM, German gentger...@gmail.com wrote: Out of curiosity I looked into my /boot partition and found two .efi files. One is /boot/efi/gummiboot/gummibootx64.efi and another is /boot/efi/boot/bootx64.efi. I remember I've created /boot/efi/boot/bootx64.efi during install by copying kernel image file to it and supposedly it was for efibootmng. I think gummiboot has created its own gummibootx64.efi. Is that safe to delete */boot/bootx64.efi? Thanks They are the same image; do an md5sum of both, you'll see that they have the same checksum. I believe Boot/BOOTX64.EFI is the default location where the BIOS (or whatever is called in UEFI systems) looks for an image to boot, and gummiboot/gummibootx64.efi is just a copy. I'm not sure, but I would not delete it: gummiboot creates both copies of the file. Well, no, I have created */boot/bootx64.efi manually and */gummiboot/gummibootx64.efi was created by gummiboot install. In my machines boot/bootx64.efi was created by gummiboot, and it's the same ile as gummiboot/gummibootx64.efi (same checksum). What does bootctl says? bootctl: command not found. How to use bootctl? Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México -- German gentger...@gmail.com
Re: [gentoo-user] gummibootx64.efi OR bootx64.efi?
On Mon, 2 Mar 2015 02:10:33 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Mon, Mar 2, 2015 at 2:03 AM, German gentger...@gmail.com wrote: On Mon, 2 Mar 2015 01:41:19 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Sun, Mar 1, 2015 at 11:11 PM, German gentger...@gmail.com wrote: Out of curiosity I looked into my /boot partition and found two .efi files. One is /boot/efi/gummiboot/gummibootx64.efi and another is /boot/efi/boot/bootx64.efi. I remember I've created /boot/efi/boot/bootx64.efi during install by copying kernel image file to it and supposedly it was for efibootmng. I think gummiboot has created its own gummibootx64.efi. Is that safe to delete */boot/bootx64.efi? Thanks They are the same image; do an md5sum of both, you'll see that they have the same checksum. I believe Boot/BOOTX64.EFI is the default location where the BIOS (or whatever is called in UEFI systems) looks for an image to boot, and gummiboot/gummibootx64.efi is just a copy. I'm not sure, but I would not delete it: gummiboot creates both copies of the file. Well, no, I have created */boot/bootx64.efi manually and */gummiboot/gummibootx64.efi was created by gummiboot install. In my machines boot/bootx64.efi was created by gummiboot, and it's the same ile as gummiboot/gummibootx64.efi (same checksum). I just did md5sums and yes, gummibootx64.efi and bootx64.efi are the same What does bootctl says? Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México -- German gentger...@gmail.com
Re: [gentoo-user] gummibootx64.efi OR bootx64.efi?
On Mon, 2 Mar 2015 01:41:19 -0600 Canek Peláez Valdés can...@gmail.com wrote: On Sun, Mar 1, 2015 at 11:11 PM, German gentger...@gmail.com wrote: Out of curiosity I looked into my /boot partition and found two .efi files. One is /boot/efi/gummiboot/gummibootx64.efi and another is /boot/efi/boot/bootx64.efi. I remember I've created /boot/efi/boot/bootx64.efi during install by copying kernel image file to it and supposedly it was for efibootmng. I think gummiboot has created its own gummibootx64.efi. Is that safe to delete */boot/bootx64.efi? Thanks They are the same image; do an md5sum of both, you'll see that they have the same checksum. I believe Boot/BOOTX64.EFI is the default location where the BIOS (or whatever is called in UEFI systems) looks for an image to boot, and gummiboot/gummibootx64.efi is just a copy. I'm not sure, but I would not delete it: gummiboot creates both copies of the file. Well, no, I have created */boot/bootx64.efi manually and */gummiboot/gummibootx64.efi was created by gummiboot install. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México -- German gentger...@gmail.com
[gentoo-user] gummibootx64.efi OR bootx64.efi?
Out of curiosity I looked into my /boot partition and found two .efi files. One is /boot/efi/gummiboot/gummibootx64.efi and another is /boot/efi/boot/bootx64.efi. I remember I've created /boot/efi/boot/bootx64.efi during install by copying kernel image file to it and supposedly it was for efibootmng. I think gummiboot has created its own gummibootx64.efi. Is that safe to delete */boot/bootx64.efi? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] gummibootx64.efi OR bootx64.efi?
On Mon, 02 Mar 2015 01:47:52 -0500 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Monday, March 02, 2015 12:11:51 AM German wrote: Out of curiosity I looked into my /boot partition and found two .efi files. One is /boot/efi/gummiboot/gummibootx64.efi and another is /boot/efi/boot/bootx64.efi. I remember I've created /boot/efi/boot/bootx64.efi during install by copying kernel image file to it and supposedly it was for efibootmng. I think gummiboot has created its own gummibootx64.efi. Is that safe to delete */boot/bootx64.efi? Thanks It should be but the easiest certain way to find out is to move it and reboot, if the system doesn't boot then restore it. Also efibootmgr -v will show you which one you're using. I didn't install efibootmgr at all. I am using gummiboot. -- Fernando Rodriguez -- German gentger...@gmail.com
Re: [gentoo-user] How to get inside of my faulty install?
On Sun, 1 Mar 2015 10:27:49 +0100 Matti Nykyri matti.nyk...@iki.fi wrote: On Mar 1, 2015, at 6:58, German gentger...@gmail.com wrote: Now I need to get to /boot partition of my faulty install and edit gummiboot .conf file. Can someone walk me through on how to accomplish this? ( step-by-step commands ). Of course I have a rescuecd at my disposal. Thanks! Boot into the rescuecd Open your first disk with gdisk or parted: gdisk /dev/sda List partitions (penter in gdisk and print in parted) Find a partition of the type EF00. That is your UEFI boot partition. Mark down the number of that partition. The number most likely 1. If you didn't find EF00 partition search the next disk (sdb). Mount your boot partition (in my setup it is sda1): mkdir /uefipartition mount -t vfat /dev/sda1 /uefipartition nano /uefipartition/loader/entries/gentoo.conf Thanks, worked like a charm. I was able to boot! Just edit and save and you are done. If you have everything setup as in the wiki (http://wiki.gentoo.org/wiki/Gummiboot) this will work. Neil gave the same instructions... This is just a bit more detailed. I like to always keep grub installed because it is like swiss army knife for booting. You can always get a shell and find your lost kernel image. Even if it is still in /usr/src... So you kind of like never render your system to an unbootable state. Nor would need to use rescue cd. And you can boot windows, memtest, chainload etc! -- -Matti -- German gentger...@gmail.com
[gentoo-user] Gummiboot ( Error loading \vmlinuz :Not found)
Ok, this was probably my third unsuccesful install on UEFI. This time with gummiboot. I've followed this guide: https://wiki.gentoo.org/wiki/Gummiboot and did exactly what was written. What is the vmlinuz it is complaining about? Can it be that vmlinuz should read as vmlinuz-3.16-15-gentoo instead? Here is my config file, it is the same as in the guide: title Gentoo Linux linux /vmlinuz options root=/dev/sda3 As always, thank you for your help -- German gentger...@gmail.com
Re: [gentoo-user] Gummiboot ( Error loading \vmlinuz :Not found)
On Sat, 28 Feb 2015 12:06:54 + Neil Bothwick n...@digimed.co.uk wrote: On Sat, 28 Feb 2015 05:50:53 -0500, German wrote: and did exactly what was written. What is the vmlinuz it is complaining about? Can it be that vmlinuz should read as vmlinuz-3.16-15-gentoo instead? Here is my config file, it is the same as in the guide: title Gentoo Linux linux /vmlinuz options root=/dev/sda3 The kernel file should be in your ESP and you need to give the full name, so something like linux /vmlinuz-3.16-15-gentoo Here's a config I use, as an example title MythTV version 3.18.7-gentoo linux /vmlinuz-3.18.7-gentoo options root=/dev/sda3 panic=10 net.ifnames=0 irqpoll Thanks Neil, you are always come to my rescue -- Neil Bothwick If at first you do succeed, try to hide your astonishment. -- German gentger...@gmail.com
[gentoo-user] How to get inside of my faulty install?
Now I need to get to /boot partition of my faulty install and edit gummiboot .conf file. Can someone walk me through on how to accomplish this? ( step-by-step commands ). Of course I have a rescuecd at my disposal. Thanks! -- German gentger...@gmail.com
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 12:12:24 + Neil Bothwick n...@digimed.co.uk wrote: On Fri, 27 Feb 2015 06:53:32 -0500, German wrote: Ok gentooers. I did manage to install gentoo on EFI, it boots, however hangs at Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ( 0,0) Does anyone have an idea what is going on? The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Are you talking about this? UEFI does not pass kernel parameters to the kernel during normal boot, so you need to hardcode them via CONFIG_CMDLINE. Example for the root partition on /dev/sda2: KERNEL Enable built-in kernel parameters Processor type and features --- [*] Built-in kernel command line (root=/dev/sda2) or you have not compiled in the driver your your hard disk driver. -- Neil Bothwick I'm writing a book. I've got the page numbers done. -- German gentger...@gmail.com
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 12:12:24 + Neil Bothwick n...@digimed.co.uk wrote: On Fri, 27 Feb 2015 06:53:32 -0500, German wrote: Ok gentooers. I did manage to install gentoo on EFI, it boots, however hangs at Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ( 0,0) Does anyone have an idea what is going on? The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Where is this given? Can you elaborate? or you have not compiled in the driver your your hard disk driver. I am using SSD Patriot Blaze. Is it also should be compiled somewhere in the kernel? Why is the system boots at all? -- Neil Bothwick I'm writing a book. I've got the page numbers done. -- German gentger...@gmail.com
Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
On Fri, 27 Feb 2015 14:15:04 + Neil Bothwick n...@digimed.co.uk wrote: On Fri, 27 Feb 2015 07:49:20 -0500, German wrote: The kernel cannot find the block device containing your root filesystem. Either you have given the wrong root= option to the kernel Are you talking about this? UEFI does not pass kernel parameters to the kernel during normal boot, so you need to hardcode them via CONFIG_CMDLINE. Example for the root partition on /dev/sda2: KERNEL Enable built-in kernel parameters Processor type and features --- [*] Built-in kernel command line (root=/dev/sda2) Yes, if you are not using a boot manager. Hmm.. I was using some sort of boot manager, efibootmgr, however there was no word in install docs how to configure it to point to root device.. So, are you advising on gummiboot? Are people happy with it? I found gentoo wiki how to configure it, so I must give it a try. Thanks for your input, I guess the problem is solved now. On to the next install with gummi -- Neil Bothwick Top Oxymorons Number 24: New classic -- German gentger...@gmail.com
Re: [gentoo-user] About to attempt EFI install, which modules to compile?
On Fri, 27 Feb 2015 06:57:28 +0200 Matti Nykyri matti.nyk...@iki.fi wrote: On Feb 27, 2015, at 5:02, German gentger...@gmail.com wrote: Hi people. I am about to try today an EFI gentoo install with sysrecuecd. It is all more or less clear to me in the install docs, however I am not sure how to gather info about my hardware, which modules should be compiled when installing kernel manually. Is there a way to gather this info? What command should be issued to accomplish that? Also, I am sort of reluctant to compile kernel manually. Is this possible to use genkernel to install system in EFI mode or I must to use manual compilation? Thank you for your advice and suggestions. Just did my first EFI install this week... So not a virgin anymore ;) I had an old system so I attached the new drive to that for partitioning and install. You use gpt with uefi. You need to reserve one partition for UEFI. Set the type to EF00 and boot flag enabled (parted or gdisk can do this). Format to fat32. Make a partition for gentoo and format it. Untar stage3 and portage snapshot to it (snapshot is faster than rsync). Chroot. Emerge portage and grub. I copied kernel from my old system to /boot. If you don't have this build a new one. Run grub2-mkconfig -o /boot/grub/grub.cfg (mkdir if it doesn't exists. (http://wiki.gentoo.org/wiki/GRUB2) Install grub: grub2-install --target=x86_64-uefi /to/your/partition Are you sure that grub is needed for EFI system? I doubt it. I used efibootmgr as per gentoo handbook. And it was also said that it is possible to boot EFI system without anything at all ( e.g. grub, efibootmgr) Then copy /boot/efi/EFI/gentoo/grubx64.efi to /boot/efi/EFI/BOOT/BOOTX64.EFI Many asus mb's have bug in efi and require BOOTX64.EFI to be lower case = bootx64.efi so rename it as necessary. My mb had that bug and a rename was needed even though fat should be case insensitive. After this you can boot your new system and continue with the install :) Further reading: https://help.ubuntu.com/community/UEFIBooting -- -Matti -- German gentger...@gmail.com
[gentoo-user] EFI install ( continum) [ system hangs at boot ]
Ok gentooers. I did manage to install gentoo on EFI, it boots, however hangs at Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ( 0,0) Does anyone have an idea what is going on? Is that fstab, something else? I appreciate any advice. I want my laptop runs Gentoo. -- German gentger...@gmail.com
Re: [gentoo-user] About to attempt EFI install, which modules to compile?
On Thu, 26 Feb 2015 21:33:34 -0600 Dale rdalek1...@gmail.com wrote: German wrote: Hi people. I am about to try today an EFI gentoo install with sysrecuecd. It is all more or less clear to me in the install docs, however I am not sure how to gather info about my hardware, which modules should be compiled when installing kernel manually. Is there a way to gather this info? What command should be issued to accomplish that? Also, I am sort of reluctant to compile kernel manually. Is this possible to use genkernel to install system in EFI mode or I must to use manual compilation? Thank you for your advice and suggestions. I have no experience with EFI, yet. I think this will help with one part of your post tho. You can use lsmod while booted with sysrescue and get a list of what modules are being used. I've done that before. It helps. Another command that can help and may be better. lspci -k. That should look like this snippet: 01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller (rev a1) Subsystem: NVIDIA Corporation Device 069a Kernel driver in use: snd_hda_intel 02:00.0 USB controller: VIA Technologies, Inc. Device 3483 (rev 01) Subsystem: Gigabyte Technology Co., Ltd Device 5007 Kernel driver in use: xhci_hcd 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) Subsystem: Gigabyte Technology Co., Ltd Motherboard Kernel driver in use: r8169 04:06.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10 MBit (rev 31) Subsystem: ARCHTEK TELECOM Corp Device 0008 Kernel driver in use: dmfe What you are really looking for is the Kernel driver in use: part. If you are making your own kernel, you use that info to find the module to enable, either built in or as a module. I sometimes cheat and use this command: lspci -k | grep Kernel Make sure that K is upper case OR add the -i option to grep. That command only lists the part I am really interested in and the driver name sometimes tells what it is for anyway. Plus, it's generally best to enable the hardware you got. Maybe someone else can come along and shine some light on the rest. Dale :-) :-) Thanks Dale, this was helpful -- German gentger...@gmail.com
[gentoo-user] About to attempt EFI install, which modules to compile?
Hi people. I am about to try today an EFI gentoo install with sysrecuecd. It is all more or less clear to me in the install docs, however I am not sure how to gather info about my hardware, which modules should be compiled when installing kernel manually. Is there a way to gather this info? What command should be issued to accomplish that? Also, I am sort of reluctant to compile kernel manually. Is this possible to use genkernel to install system in EFI mode or I must to use manual compilation? Thank you for your advice and suggestions. -- German gentger...@gmail.com
Re: [gentoo-user] Re: Fresh gen too install - unsuccesful
On Sun, 21 Dec 2014 11:30:49 + Mick michaelkintz...@gmail.com wrote: On Saturday 20 Dec 2014 18:20:44 Mick wrote: On Saturday 20 Dec 2014 17:07:47 German wrote: Thanks Poison. SystemRescueCD is capable of booting in uefi so I can install gen too from it? I have heard good things about it Yes, this is what I am going to use to attempt to install Gentoo in UEFI. I have used it for years now to install Gentoo with a conventional BIOS. I spake too soon! :-( I just tried to boot my Asus MoBo A88XM-PLUS, after I disabled CMS and switched Secure Boot to other OS (as opposed to MS Windows), with sysrescuecd-4.4.1. Unfortunately I can't get a console due to this error: error: no suitable mode found. Booting in blind mode Any idea how to progress from here? Is it possible with sysrescuecd? Mick, you are going right after my steps ( or I go where you go ). Just tried to boot sysresc 4.4.1 with exactly the same error message. Duh. Looks like many people with the same problem. -- Regards, Mick -- German gentger...@gmail.com
Re: [gentoo-user] Re: Fresh gen too install - unsuccesful
On Sun, 21 Dec 2014 12:00:51 + Mick michaelkintz...@gmail.com wrote: On Sunday 21 Dec 2014 11:44:04 German wrote: On Sun, 21 Dec 2014 11:30:49 + Mick michaelkintz...@gmail.com wrote: I spake too soon! :-( I just tried to boot my Asus MoBo A88XM-PLUS, after I disabled CMS and switched Secure Boot to other OS (as opposed to MS Windows), with sysrescuecd-4.4.1. Unfortunately I can't get a console due to this error: error: no suitable mode found. Booting in blind mode Any idea how to progress from here? Is it possible with sysrescuecd? Mick, you are going right after my steps ( or I go where you go ). Just tried to boot sysresc 4.4.1 with exactly the same error message. Duh. Looks like many people with the same problem. OK, this is what I did to progress with the installation. 1. Things that didn't work: Editing the kernel options for nomodesetting (disable KMS option) did not work Similarly, specifying forcevesa=1024x768 did not work. 2. What worked: Typing blind after waiting for a while to make sure the CD had booted up to set up the root passwd and then to start sshd, allowed to access the PC over sshd and commence the installation. Of course, this will only work if your PC is connected to the LAN. I have no solution at the moment for air-gapped machines. On the keyboard type blind: passwd root my_secret_root_passwd my_secret_root_passwd /etc/init.d/sshd restart Then find the IP address of the new PC. In my case arping and some guessing of the next IP that the router would have issued worked, but you can use arp- scan, nmap, or some such tool, or even check your router's dhcp tables. Then ssh root@new PC's IP, enter the passwd you set up above and you're good to go with the installation, following the hand book and the wiki suggestions for UEFI. Thanks for suggestion, Mick. Unfortunately I am not on a network and that is only PC I have at the moment. Do you know if Knoppix allows UEFI boot? HTH. -- Regards, Mick -- German gentger...@gmail.com
Re: [gentoo-user] Re: Fresh gen too install - unsuccesful
On Sun, 21 Dec 2014 11:55:06 -0500 Todd Goodman t...@bonedaddy.net wrote: * German gentger...@gmail.com [141221 07:31]: [..SNIP..] Thanks for suggestion, Mick. Unfortunately I am not on a network and that is only PC I have at the moment. Do you know if Knoppix allows UEFI boot? I've used Fedora and Linux Mint install disks for UEFI booting (I don't know about Knoppix.) Todd Good to know. Thanks -- German gentger...@gmail.com
Re: [gentoo-user] Re: Fresh gen too install - unsuccesful
On Sun, 21 Dec 2014 12:17:19 -0500 Tom H tomh0...@gmail.com wrote: On Sun, Dec 21, 2014 at 6:30 AM, Mick michaelkintz...@gmail.com wrote: I just tried to boot my Asus MoBo A88XM-PLUS, after I disabled CMS and switched Secure Boot to other OS (as opposed to MS Windows), with sysrescuecd-4.4.1. Unfortunately I can't get a console due to this error: error: no suitable mode found. Booting in blind mode How about booting without Secure Boot? I am booting without secure boot and get the same error -- German gentger...@gmail.com
Re: [gentoo-user] Re: Fresh gen too install - unsuccesful
On Sun, 21 Dec 2014 11:55:06 -0500 Todd Goodman t...@bonedaddy.net wrote: * German gentger...@gmail.com [141221 07:31]: [..SNIP..] Thanks for suggestion, Mick. Unfortunately I am not on a network and that is only PC I have at the moment. Do you know if Knoppix allows UEFI boot? I've used Fedora and Linux Mint install disks for UEFI booting (I don't know about Knoppix.) Todd BTW Todd, does Mint allow to boot only in console mode, i.e. without X and DE? -- German gentger...@gmail.com
Re: [gentoo-user] Re: Fresh gen too install - unsuccesful
That's where I think the problem lies Mick. My system is uefi. Too bad that gen too officially doesn't support it. I just wish gentoo developers take a closer look at the issue and come out with uefi capable minimal installation CD and clear uefi installation documentation Mick michaelkintz...@gmail.com wrote: On Saturday 20 Dec 2014 05:28:49 Tomas Mozes wrote: On 2014-12-20 00:57, German wrote: Just a follow up to my original question. I've installed grub on /dev/SDA literally following the quide. And I just realized why I made /dev/sda1 partition obviously designed for grub? Should I have been install grub into /dev/sda1? I also have uefi system and I think it matters. Thanks everyone for clarifications German gentger...@gmail.com wrote: Is anyone can advice on where to dig. It seems that grub isn't installed because I can't access it pressing ESC key and I return to bios. During installation there were no errors reported, the system installed grub just fine. Also grub.cfg found all my kernels and ramdisks? Thanks for any suggestion. What would you do? If you have your /dev/sda only for Gentoo, you would install grub into /dev/sda and have /dev/sda1 for /boot, for example: /dev/sda1: /boot /dev/sda2: / The bios will load grub from mbr of /dev/sda and since you specify that grub can find it's stuff on /dev/sda1 (root), it can continue to find the kernel, etc.. Once found, it can load the kernel and mount root, because it's the kernel parameter. For example: root(hd0,0) setup (hd0) Check out http://www.gnu.org/software/grub/manual/legacy/grub.html#Installing-GRUB-na tively Or for grub2: http://wiki.gentoo.org/wiki/GRUB2 https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Bootloader http://wiki.gentoo.org/wiki/GRUB http://wiki.gentoo.org/wiki/GRUB2_Quick_Start You can also have your /boot and / on the same partition. All of this is good advice, but ONLY IF the MoBo has been configured to boot in CMS/Legacy_BIOS mode. Otherwise, UEFI will bail out at boot time because it does neither read, nor use the MBR bootloader. Depending on the boot options provided by the motherboard, the hard drive can be configured to boot in legacy-BIOS using an MBR, in UEFI mode using an ESP partition, or both depending on the BIOS selection at boot time. -- Regards, Mick
Re: [gentoo-user] Re: Fresh gen too install - unsuccesful
Thanks Poison. SystemRescueCD is capable of booting in uefi so I can install gen too from it? I have heard good things about it Poison BL. poiso...@gmail.com wrote: On Sat, Dec 20, 2014 at 10:34 AM, German gentger...@gmail.com wrote: That's where I think the problem lies Mick. My system is uefi. Too bad that gen too officially doesn't support it. I just wish gentoo developers take a closer look at the issue and come out with uefi capable minimal installation CD and clear uefi installation documentation Well, while it's not covered in the official side of the install docs, this wiki page was how I handled my system when I first ended up with a UEFI laptop here (Win8 didn't even make it 12hrs for me ;) -- http://wiki.gentoo.org/wiki/UEFI_Gentoo_Quick_Install_Guide It only has one minor issue, and that's the lack of mentioning first and foremost that, to configure UEFI, you have to be UEFI booted already (it does get around to noting it about the halfway mark). Any UEFI compatible linux livecd/usb will work, though. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] Re: Fresh gen too install - unsuccesful
Sorry Mick. I am on android tablet and have no clue how to modify message body Mick michaelkintz...@gmail.com wrote: On Saturday 20 Dec 2014 17:07:47 German wrote: Thanks Poison. SystemRescueCD is capable of booting in uefi so I can install gen too from it? I have heard good things about it Yes, this is what I am going to use to attempt to install Gentoo in UEFI. I have used it for years now to install Gentoo with a conventional BIOS. PS. Can you please avoid top-posting in this mailing list. It breaks the logical question answer of the thread. -- Regards, Mick
[gentoo-user]
Could register at systemrescuecd forums for now, so I thought to ask here. Trying to get systemrescuecd iso on USB stick. There is shell script on to accomplish just that. When I try to run it, it identifies my thumb drive, however reports that it is 0 mb. When disk is mounted, the volume in megabytes just right, about 2 GB. Log file says that is not enough memory to install. Any ideas what might be a problem? And yes, I am about to try to install gen too from rescued USB drive in efi mode
Re: [gentoo-user] Size usb stick with fdisk
On Sun, 21 Dec 2014 03:37:29 +0100 Frank Steinmetzger war...@gmx.de wrote: On Sun, Dec 21, 2014 at 12:34:55AM +0100, Volker Armin Hemmann wrote: Am 20.12.2014 um 23:08 schrieb German: Trying to get systemrescuecd iso on USB stick. There is shell script on to accomplish just that. When I try to run it, it identifies my thumb drive, however reports that it is 0 mb. don't use any scripts. Never gave me a bootable solution. Either burn to cd or do it manually. For me, the script that comes on sysresccd always worked (though I’ve never used EFI yet). The script determines the size of the device with blockdev --getsz /path/to/device What does that return if called manually and what size is reported in other programs (fdisk, dmesg after plugging it in)? Hi. I would tell you if I knew how to do it in fdisk for instance. Can you provide me with instructions please? -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any social network. The USA took the path from barbarism to decadence without the detour over culture. -- German gentger...@gmail.com
Re: [gentoo-user]
On Sun, 21 Dec 2014 03:37:29 +0100 Frank Steinmetzger war...@gmx.de wrote: On Sun, Dec 21, 2014 at 12:34:55AM +0100, Volker Armin Hemmann wrote: Am 20.12.2014 um 23:08 schrieb German: Trying to get systemrescuecd iso on USB stick. There is shell script on to accomplish just that. When I try to run it, it identifies my thumb drive, however reports that it is 0 mb. don't use any scripts. Never gave me a bootable solution. Either burn to cd or do it manually. For me, the script that comes on sysresccd always worked (though I’ve never used EFI yet). The script determines the size of the device with blockdev --getsz /path/to/device What does that return if called manually and what size is reported in other programs (fdisk, dmesg after plugging it in)? That's what it reports when /dev/sdd is mounted: sudo blockdev --getsize64 /dev/sdd 2031091712 When not mounted it reports that no medium found. The same log from usb_inst.sh: Installation on /dev/sdd at 2014-12-20_16:47 blockdev: cannot open /dev/sdd: No medium found usb_inst.sh: error: The device [/dev/sdd] is only 0 MB. It is too small to copy all the files, an USB-stick of at least 512MB is recommended But shell script should be run unmounted. Confused. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any social network. The USA took the path from barbarism to decadence without the detour over culture. -- German gentger...@gmail.com
Re: [gentoo-user]
On Sun, 21 Dec 2014 07:20:16 + J. Roeleveld jo...@antarean.org wrote: On 21 December 2014 06:27:41 CET, German gentger...@gmail.com wrote: On Sun, 21 Dec 2014 03:37:29 +0100 Frank Steinmetzger war...@gmx.de wrote: On Sun, Dec 21, 2014 at 12:34:55AM +0100, Volker Armin Hemmann wrote: Am 20.12.2014 um 23:08 schrieb German: Trying to get systemrescuecd iso on USB stick. There is shell script on to accomplish just that. When I try to run it, it identifies my thumb drive, however reports that it is 0 mb. don't use any scripts. Never gave me a bootable solution. Either burn to cd or do it manually. For me, the script that comes on sysresccd always worked (though I’ve never used EFI yet). The script determines the size of the device with blockdev --getsz /path/to/device What does that return if called manually and what size is reported in other programs (fdisk, dmesg after plugging it in)? That's what it reports when /dev/sdd is mounted: sudo blockdev --getsize64 /dev/sdd 2031091712 When not mounted it reports that no medium found. The same log from usb_inst.sh: Installation on /dev/sdd at 2014-12-20_16:47 blockdev: cannot open /dev/sdd: No medium found usb_inst.sh: error: The device [/dev/sdd] is only 0 MB. It is too small to copy all the files, an USB-stick of at least 512MB is recommended But shell script should be run unmounted. Confused. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any social network. The USA took the path from barbarism to decadence without the detour over culture. Do you try 'umounted' right after inserting the USB before any mount commands are run? The thing here is that my usb stick is automaunted by the system. I am running Lubuntu. I unmount it simply by clicking on it in a LXDE. Some automounters send an 'eject' command which makes some USB sticks disappear until they are unplugged and plugged back in. Do you think it would make sense to mount stick manually and then unmount it? Thanks -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- German gentger...@gmail.com
Re: [gentoo-user]
On Sun, 21 Dec 2014 07:20:16 + J. Roeleveld jo...@antarean.org wrote: On 21 December 2014 06:27:41 CET, German gentger...@gmail.com wrote: On Sun, 21 Dec 2014 03:37:29 +0100 Frank Steinmetzger war...@gmx.de wrote: On Sun, Dec 21, 2014 at 12:34:55AM +0100, Volker Armin Hemmann wrote: Am 20.12.2014 um 23:08 schrieb German: Trying to get systemrescuecd iso on USB stick. There is shell script on to accomplish just that. When I try to run it, it identifies my thumb drive, however reports that it is 0 mb. don't use any scripts. Never gave me a bootable solution. Either burn to cd or do it manually. For me, the script that comes on sysresccd always worked (though I’ve never used EFI yet). The script determines the size of the device with blockdev --getsz /path/to/device What does that return if called manually and what size is reported in other programs (fdisk, dmesg after plugging it in)? That's what it reports when /dev/sdd is mounted: sudo blockdev --getsize64 /dev/sdd 2031091712 When not mounted it reports that no medium found. The same log from usb_inst.sh: Installation on /dev/sdd at 2014-12-20_16:47 blockdev: cannot open /dev/sdd: No medium found usb_inst.sh: error: The device [/dev/sdd] is only 0 MB. It is too small to copy all the files, an USB-stick of at least 512MB is recommended But shell script should be run unmounted. Confused. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any social network. The USA took the path from barbarism to decadence without the detour over culture. Do you try 'umounted' right after inserting the USB before any mount commands are run? Some automounters send an 'eject' command which makes some USB sticks disappear until they are unplugged and plugged back in. Thanks Joost. I wrote to usb stick just fine after I umount /dev/sdd1 manually. Those damn automounters. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- German gentger...@gmail.com
[gentoo-user] Returning to chrooted environment?
During installation, just before running genkernel all, pressed something by mistake in screen and that got me out of chroot. I have screen split up horizontally and now whatever I type appears on two terminals simultaneously. How do I enter in a stage where I left off and try to finish installation? Thanks a lot
[gentoo-user] Fresh gen too install - unsuccesful
Is anyone can advice on where to dig. It seems that grub isn't installed because I can't access it pressing ESC key and I return to bios. During installation there were no errors reported, the system installed grub just fine. Also grub.cfg found all my kernels and ramdisks? Thanks for any suggestion. What would you do?
[gentoo-user] Re: Fresh gen too install - unsuccesful
Just a follow up to my original question. I've installed grub on /dev/SDA literally following the quide. And I just realized why I made /dev/sda1 partition obviously designed for grub? Should I have been install grub into /dev/sda1? I also have uefi system and I think it matters. Thanks everyone for clarifications German gentger...@gmail.com wrote: Is anyone can advice on where to dig. It seems that grub isn't installed because I can't access it pressing ESC key and I return to bios. During installation there were no errors reported, the system installed grub just fine. Also grub.cfg found all my kernels and ramdisks? Thanks for any suggestion. What would you do?
[gentoo-user] CFLAGS for athlon 5350 apu?
Couldn't find those in documentation. Thank you
Re: [gentoo-user] CFLAGS for athlon 5350 apu?
Thank you. I'll stick to -march=native for now Walter Dnes waltd...@waltdnes.org wrote: On Fri, Dec 19, 2014 at 02:38:48AM +0400, German wrote Couldn't find those in documentation. Thank you If you're building on the target machine, use the native CFLAG. It has been around for a while. It detects the CPU, and builds for it automagically. You don't have to do any more grunt work, figuring out the flags for your CPU. Computers are supposed to do the hard work. I use... FLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables CXXFLAGS=${CFLAGS} Mind you, if you're cross-compiling on another system, and then moving the binaries over, you will have to figure out the correct flags. See below for a method. Another problem is that there are also cpu-specific USE flags. You can get a good start on figuring them out, as well as CFLAGS, by running grep flags /proc/cpuinfo on the target machine. There will be one line of output for each core. You'll have multiple identical lines of output. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
[gentoo-user] Kernel Error
What can be this / bin / sh: lzma: command not found make [2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1 make [1]: *** [arch/x86/boot/compressed/vmlinux] Error 2 make: *** [bzImage] Error 2