[opensuse-factory] Grub2 (in 12.2)
I used Grub2 when I installed 12.2 Bld #167 DVD iso last earlier today. How do I get to see the boot menu to enter "init 3"on the bott command line (used to be hold down SHIFT to do this)? Anyone know, please? (Need to enter init 3 so as to compile the nVidia driver #304.37.) BC -- Using openSUSE 12.2 x86_64 KDE 4.8.4 & kernel 3.5.3-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
2012/9/3 Basil Chupin
I used Grub2 when I installed 12.2 Bld #167 DVD iso last earlier today.
How do I get to see the boot menu to enter "init 3"on the bott command line (used to be hold down SHIFT to do this)? Anyone know, please?
Move highlight to your desired menu entry and type 'e' to enter editor mode. You could then append "3" to your existing kernel parameters. Thanks, Michael
(Need to enter init 3 so as to compile the nVidia driver #304.37.)
BC
-- Using openSUSE 12.2 x86_64 KDE 4.8.4 & kernel 3.5.3-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/09/12 14:29, Michael Chang wrote:
2012/9/3 Basil Chupin
: I used Grub2 when I installed 12.2 Bld #167 DVD iso last earlier today.
How do I get to see the boot menu to enter "init 3"on the bott command line (used to be hold down SHIFT to do this)? Anyone know, please? Move highlight to your desired menu entry and type 'e' to enter editor mode. You could then append "3" to your existing kernel parameters.
Thanks, Michael
Thanks, Michael, for your response but....no, this is not the answer. The command '3' or 'init 3' is not "recognised" :-( . (Oh for the simplicity of grub legacy! :-( ) BC -- Using openSUSE 12.2 x86_64 KDE 4.8.4 & kernel 3.5.3-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 03 Sep 2012 16:07:28 +1000
Basil Chupin
On 03/09/12 14:29, Michael Chang wrote:
I used Grub2 when I installed 12.2 Bld #167 DVD iso last earlier today.
How do I get to see the boot menu to enter "init 3"on the bott command line (used to be hold down SHIFT to do this)? Anyone know, please? Move highlight to your desired menu entry and type 'e' to enter editor mode. You could then append "3" to your existing kernel
2012/9/3 Basil Chupin
: parameters. Thanks, Michael
Thanks, Michael, for your response but....no, this is not the answer. The command '3' or 'init 3' is not "recognised" :-( .
(Oh for the simplicity of grub legacy! :-( )
BC
Hi Basil, You don't need to go to console during boot. Once you're in level 5 (kde or gnome) just log out and change the login to console then do the compile. That's the way I've been doing it for 2-3 years. This I got from the OS forum how-to: NVIDIA driver installation 1: Dependencies: gcc, make, kernel-devel 2: Download latest driver from: http://www.nvidia.com/Download/index5.aspx Select correct driver Put driver in /home/USER 3: Install driver: Log out of GUI & log into console as root at # prompt enter: sh /home/USER/NVIDIA-****.run (driver filename) modprobe nvidia rcxdm start 4: Blacklist nouveau echo "blacklist nouveau" >> /etc/modprobe.d/50-blacklist.conf add "modeset.nouveau=0" to /boot/grub/menu.lst kernel parameters line 5: Configure NVIDIA driver: nvidia-settings Tom -- “What we do for ourselves dies with us. What we do for others and the world remains and is immortal.” Albert Pine -- Tom Taylor - retired penguin AMD Phenom II x4 955 -- 4GB RAM -- 2x1.5TB sata2 openSUSE 12.1x86_64 openSUSE 12.2x86_64 KDE 4.7.2, FF 7.0 KDE 4.8.4, FF 13.0 claws-mail 3.8.0 registered linux user 263467 linxt-At-comcast-DoT-net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/09/12 16:39, Thomas Taylor wrote:
On Mon, 03 Sep 2012 16:07:28 +1000 Basil Chupin
wrote: On 03/09/12 14:29, Michael Chang wrote:
I used Grub2 when I installed 12.2 Bld #167 DVD iso last earlier today.
How do I get to see the boot menu to enter "init 3"on the bott command line (used to be hold down SHIFT to do this)? Anyone know, please? Move highlight to your desired menu entry and type 'e' to enter editor mode. You could then append "3" to your existing kernel
2012/9/3 Basil Chupin
: parameters. Thanks, Michael Thanks, Michael, for your response but....no, this is not the answer. The command '3' or 'init 3' is not "recognised" :-( .
(Oh for the simplicity of grub legacy! :-( )
BC
Hi Basil, You don't need to go to console during boot. Once you're in level 5 (kde or gnome) just log out and change the login to console then do the compile. That's the way I've been doing it for 2-3 years.
Thank you, Thomas, for the response. I've been doing what you suggest below [snipped] for many years. I have a very specific reason for asking what I did. If the kernel has been upgraded at any time, you need to reboot the computer and when you do then you get nowhere when the machine reboots because I/you don't get a screen to look at - reason being is that the nVidia driver does not match the new kernel and the driver, therefore, has to be recompiled. To compile the driver I/you need to get to a command line prompt (in level 3), login as root and then proceed to compile the driver. Once the compiling is finished, typing "init 5" will get you into the system again and for you to be able to login as the user. [........................] BC -- Using openSUSE 12.2 x86_64 KDE 4.8.4 & kernel 3.5.3-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Basil, On Mon, Sep 03, Basil Chupin wrote:
If the kernel has been upgraded at any time, you need to reboot the computer and when you do then you get nowhere when the machine reboots because I/you don't get a screen to look at - reason being is that the nVidia driver does not match the new kernel and the driver, therefore, has to be recompiled. To compile the driver I/you need to get to a command line prompt (in level 3), login as root and then proceed to compile the driver. Once the compiling is finished, typing "init 5" will get you into the system again and for you to be able to login as the user.
Ok, your problem is the reboot to recompile the Nvidia module, which is not needed. Once you installed the new kernel, exit X but do not reboot and call the Nvidia installer with this option: -k, --kernel-name=KERNEL-NAME Build and install the NVIDIA kernel module for the non-running kernel specified by KERNEL-NAME (KERNEL-NAME should be the output of `uname -r` when the target kernel is actually running). This option implies '--no-precompiled-interface'. If the options '--kernel-install-path' and '--kernel-source-path' are not given, then they will be inferred from KERNEL-NAME; eg: '/lib/modules/KERNEL-NAME/kernel/drivers/video/' and '/lib/modules/KERNEL-NAME/build/', respectively. The mentioned 'uname -r' output equals the new kernel's directory name in /lib/modules/. Only reboot afterwards and you should be greeted by a working X.org session. -Daniel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/09/12 17:10, Daniel Rahn wrote:
Hi Basil,
On Mon, Sep 03, Basil Chupin wrote:
If the kernel has been upgraded at any time, you need to reboot the computer and when you do then you get nowhere when the machine reboots because I/you don't get a screen to look at - reason being is that the nVidia driver does not match the new kernel and the driver, therefore, has to be recompiled. To compile the driver I/you need to get to a command line prompt (in level 3), login as root and then proceed to compile the driver. Once the compiling is finished, typing "init 5" will get you into the system again and for you to be able to login as the user. Ok, your problem is the reboot to recompile the Nvidia module, which is not needed.
Once you installed the new kernel, exit X but do not reboot and call the Nvidia installer with this option:
-k, --kernel-name=KERNEL-NAME Build and install the NVIDIA kernel module for the non-running kernel specified by KERNEL-NAME (KERNEL-NAME should be the output of `uname -r` when the target kernel is actually running). This option implies '--no-precompiled-interface'. If the options '--kernel-install-path' and '--kernel-source-path' are not given, then they will be inferred from KERNEL-NAME; eg: '/lib/modules/KERNEL-NAME/kernel/drivers/video/' and '/lib/modules/KERNEL-NAME/build/', respectively.
The mentioned 'uname -r' output equals the new kernel's directory name in /lib/modules/.
Only reboot afterwards and you should be greeted by a working X.org session.
-Daniel
Many thanks for the above, Daniel - I've saved this for future reference. But I found another way which is perhaps slightly 'longish' but it is more 'intuitive' and in keeping with what was practiced before grub2. At the grub2 menu, select Advanced options>(recovery [sic] , login in in the normal way and then get to a terminal, 'su -', 'init3', etc etc. BC -- Using openSUSE 12.2 x86_64 KDE 4.8.4 & kernel 3.5.3-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
2012/9/3 Basil Chupin
On 03/09/12 14:29, Michael Chang wrote:
2012/9/3 Basil Chupin
: I used Grub2 when I installed 12.2 Bld #167 DVD iso last earlier today.
How do I get to see the boot menu to enter "init 3"on the bott command line (used to be hold down SHIFT to do this)? Anyone know, please?
Move highlight to your desired menu entry and type 'e' to enter editor mode. You could then append "3" to your existing kernel parameters.
Thanks, Michael
Thanks, Michael, for your response but....no, this is not the answer. The command '3' or 'init 3' is not "recognised" :-( .
(Oh for the simplicity of grub legacy! :-( )
Those are custom gfxboot we made for legacy grub and syslinux (they are not part of grub and syslinux in terms of upstream). We might have to continue to work out a gfxboot module for grub2, but nevertheless it won't work on EFI as gfxboot core relies on legacy INT calls for drawing. Another options is we expand the grub2 theme to offer widgets which needed to reinvent gfxboot's functionality. Personally I would go for the second options, but it's not trivial and would take plenty time to finish. :( I'll try to make it on 12.3. Thanks, Michael
BC
-- Using openSUSE 12.2 x86_64 KDE 4.8.4 & kernel 3.5.3-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Basil Chupin
-
Daniel Rahn
-
Michael Chang
-
Thomas Taylor