[gentoo-user] Terminals not closing after exit anymore
Greetings, I've got a strange behaviour since a couple of weeks. When working under X11 in a terminal and I type exit in the shell, the terminal does not close itself anymore. Already changed the shell - no change at all. Also does Ctrl+Z not work anymore, to bring the process running in the foreground into the background. When trying Ctrl+Z on the text console it is the same. Since I am somewhat confused about that kind of behaviour and where to fix it - any ideas to get it back working properly? Thanks in advance.
Re: [gentoo-user] Terminals not closing after exit anymore
Marc Stürmer m...@marc-stuermer.de [13-11-24 15:16]: Greetings, I've got a strange behaviour since a couple of weeks. When working under X11 in a terminal and I type exit in the shell, the terminal does not close itself anymore. Already changed the shell - no change at all. Also does Ctrl+Z not work anymore, to bring the process running in the foreground into the background. When trying Ctrl+Z on the text console it is the same. Since I am somewhat confused about that kind of behaviour and where to fix it - any ideas to get it back working properly? Thanks in advance. Hi, check wether the problem is related to the shell/terminal or to keyboard related things: In a terminal type cat return Then press a couple of CTRL/something keys except ^D. If you can see -- for example -- ^E when pressing CTRL-E, then the control codes are received by the shell/terminal, therefore keyboard related things are not to blame. If so check the shell init files for remapping the keycodes. Maybe revdep rebuild will show a library, which is used by the shell was updated but the shell was not rebuild. Or something like that. Only a shot in the dark... Good luck! Best regards, mcc
Re: [gentoo-user] Terminals not closing after exit anymore
If you can see -- for example -- ^E when pressing CTRL-E, then the control codes are received by the shell/terminal, therefore keyboard related things are not to blame. Well yes this works. If so check the shell init files for remapping the keycodes. Maybe revdep rebuild will show a library, which is used by the shell was updated but the shell was not rebuild. Or something like that. Ok, looking after that, thanks for the input.
Re: [gentoo-user] Terminals not closing after exit anymore
Marc Stürmer m...@marc-stuermer.de [13-11-24 17:12]: If you can see -- for example -- ^E when pressing CTRL-E, then the control codes are received by the shell/terminal, therefore keyboard related things are not to blame. Well yes this works. If so check the shell init files for remapping the keycodes. Maybe revdep rebuild will show a library, which is used by the shell was updated but the shell was not rebuild. Or something like that. Ok, looking after that, thanks for the input. You're welcome! :) Best regards mcc
Re: [gentoo-user] grub2 upgrade not working
On Sun, Nov 24, 2013 at 2:28 AM, Pavel Volkov negai...@gmail.com wrote: On Sunday 24 November 2013 02:19:05 Valmor de Almeida wrote: No I have not touched any of the grub files. On my kernel boot line above I do use dolvm. Will check on that though. Of course it won't boot then. GRUB 2 does not use grub.conf anymore. It reads /boot/grub/grub.cfg. This file is formed automatically by grub2- mkconfig command, you have to edit the parameters in /etc/default/grub. Did edit the new /etc/default/grub: GRUB_CMDLINE_LINUX=dolvm Still no booting. Hangs on loading the initial ramdisk ... I can boot using systemrescuecd. Unfortunately I finalized the install of grub2 and no longer have grub legacy installed. I regret that. Also, before I finalized the grub2 install I tested the initramfs with grub legacy and it worked. There were two new issues I addressed in this recent portage sync. One was the use of a initramfs because my / and /usr are not in the same filesystem. /usr is actually under lvm control. I created a initramfs with genkernel (--lvm option) and as I stated earlier it worked with grub legacy. So the problem is grub2 configuration at this point. Thanks for any help including info on how to go back to grub legacy if necessary. Best, -- Valmor
Re: [gentoo-user] grub2 upgrade not working
On Sun, Nov 24, 2013 at 3:32 PM, Valmor de Almeida val.gen...@gmail.comwrote: On Sun, Nov 24, 2013 at 2:28 AM, Pavel Volkov negai...@gmail.com wrote: On Sunday 24 November 2013 02:19:05 Valmor de Almeida wrote: No I have not touched any of the grub files. On my kernel boot line above I do use dolvm. Will check on that though. Of course it won't boot then. GRUB 2 does not use grub.conf anymore. It reads /boot/grub/grub.cfg. This file is formed automatically by grub2- mkconfig command, you have to edit the parameters in /etc/default/grub. Did edit the new /etc/default/grub: GRUB_CMDLINE_LINUX=dolvm Still no booting. Hangs on loading the initial ramdisk ... I can boot using systemrescuecd. Unfortunately I finalized the install of grub2 and no longer have grub legacy installed. I regret that. Also, before I finalized the grub2 install I tested the initramfs with grub legacy and it worked. There were two new issues I addressed in this recent portage sync. One was the use of a initramfs because my / and /usr are not in the same filesystem. /usr is actually under lvm control. I created a initramfs with genkernel (--lvm option) and as I stated earlier it worked with grub legacy. So the problem is grub2 configuration at this point. Thanks for any help including info on how to go back to grub legacy if necessary. Best, -- Valmor Does anyone know whether there is a place I can look for error messages? still no luck on booting with grub2. Thanks, -- Valmor
Re: [gentoo-user] grub2 upgrade not working
On Sunday 24 November 2013 15:32:45 Valmor de Almeida wrote: Did edit the new /etc/default/grub: GRUB_CMDLINE_LINUX=dolvm Still no booting. Hangs on loading the initial ramdisk ... I can boot using systemrescuecd. Unfortunately I finalized the install of grub2 and no longer have grub legacy installed. I regret that. Also, before I finalized the grub2 install I tested the initramfs with grub legacy and it worked. There were two new issues I addressed in this recent portage sync. One was the use of a initramfs because my / and /usr are not in the same filesystem. /usr is actually under lvm control. I created a initramfs with genkernel (--lvm option) and as I stated earlier it worked with grub legacy. So the problem is grub2 configuration at this point. Thanks for any help including info on how to go back to grub legacy if necessary. Did you generate the config with grub2-mkconfig -o /boot/grub/grub.cfg after that? Attach grub.cfg here and your /boot directory listing. Also the boot messages. If you want to get GRUB 0.97 back, it should be simple: 1. Boot into systemrescuecd 2. Chroot into you Gentoo (see the handbook) 3. emerge -C grub 4. emerge grub:0 5. Run grub-install