After a fresh install of openSUSE-11.2 (yes, still 11.2) I noticed that the -desktop flavour of kernel is in use. All types of kernels are installed. Is there any easy way to change the kernel in use with yast? I would prefer -pae to get full use of RAM.
Isn’t it in the bootloader settings? You can choose a default kernel to boot and the splash menu will highlight it but it will leave the entries otherwise untouched.
The bootloader settings just offer me two options: Desktop (=default) and Failsafe.
The contents of /boot are:
-rw------- 1 root root 512 3. Aug 00:15 backup_mbr
lrwxrwxrwx 1 root root 1 3. Aug 00:10 boot -> .
-rw-r--r-- 1 root root 1236 3. Dez 2009 boot.readme
-rw-r--r-- 1 root root 105394 17. Mär 18:03 config-2.6.31.12-0.2-desktop
drwxr-xr-x 2 root root 4096 3. Aug 01:10 grub
lrwxrwxrwx 1 root root 28 3. Aug 01:10 initrd -> initrd-2.6.31.12-0.2-desktop
-rw-r--r-- 1 root root 6353854 3. Aug 01:10 initrd-2.6.31.12-0.2-desktop
drwx------ 2 root root 16384 2. Aug 23:59 lost+found
-rw-r--r-- 1 root root 421376 3. Aug 00:21 message
-rw-r--r-- 1 root root 487105 17. Mär 18:27 symtypes-2.6.31.12-0.2-debug.gz
-rw-r--r-- 1 root root 485391 17. Mär 18:23 symtypes-2.6.31.12-0.2-default.gz
-rw-r--r-- 1 root root 479665 17. Mär 18:07 symtypes-2.6.31.12-0.2-desktop.gz
-rw-r--r-- 1 root root 481128 17. Mär 18:08 symtypes-2.6.31.12-0.2-pae.gz
-rw-r--r-- 1 root root 474974 17. Mär 18:02 symtypes-2.6.31.12-0.2-xen.gz
-rw-r--r-- 1 root root 168518 17. Mär 18:03 symvers-2.6.31.12-0.2-desktop.gz
-rw-r--r-- 1 root root 1512212 17. Mär 17:48 System.map-2.6.31.12-0.2-desktop
-rw-r--r-- 1 root root 4862019 17. Mär 18:16 vmlinux-2.6.31.12-0.2-debug.gz
-rw-r--r-- 1 root root 4659482 17. Mär 18:19 vmlinux-2.6.31.12-0.2-default.gz
-rw-r--r-- 1 root root 5188936 17. Mär 18:02 vmlinux-2.6.31.12-0.2-desktop.gz
-rw-r--r-- 1 root root 5258379 17. Mär 18:01 vmlinux-2.6.31.12-0.2-pae.gz
-rw-r--r-- 1 root root 3698868 17. Mär 17:58 vmlinux-2.6.31.12-0.2-xen.gz
lrwxrwxrwx 1 root root 29 3. Aug 01:09 vmlinuz -> vmlinuz-2.6.31.12-0.2-desktop
-rw-r--r-- 1 root root 4097792 17. Mär 17:48 vmlinuz-2.6.31.12-0.2-desktop
And /boot/grub/menu.lst looks like: (long lines folded for readability)
# Modified by YaST2. Last modification on Tue Aug 3 01:10:05 CEST 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in
/etc/sysconfig/bootloader
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.12-0.2
root (hd0,0)
kernel /vmlinuz-2.6.31.12-0.2-desktop
root=/dev/disk/by-id/ata-WDC_WD10EADS-00L5B1_WD-WCAU45137394-part2
resume=/dev/disk/by-id/ata-WDC_WD10EADS-00L5B1_WD-WCAU45137394-part3
splash=silent quiet showopts vga=0x31a
initrd /initrd-2.6.31.12-0.2-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.12-0.2
root (hd0,0)
kernel /vmlinuz-2.6.31.12-0.2-desktop
root=/dev/disk/by-id/ata-WDC_WD10EADS-00L5B1_WD-WCAU45137394-part2
showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off
nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a
initrd /initrd-2.6.31.12-0.2-desktop
I would have to create config, initrd and System.map for the new kernel. I guess this should be possible with yast.
Normally those and the 2 relevant GRUB stanzas get created automatically when the -pae kernel package is installed. Try reinstalling it.
ken yap wrote:
> Normally those and the 2 relevant GRUB stanzas get created automatically
> when the -pae kernel package is installed.
i agree and wonder how the OP installed (as he wrote) “All types of
kernels”…
@vodoo, did you install using YaST?
–
DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
On 2010-08-04 12:06, vodoo wrote:
>
> After a fresh install of openSUSE-11.2 (yes, still 11.2) I noticed
> that the -desktop flavour of kernel is in use. All types of kernels are
> installed. Is there any easy way to change the kernel in use with yast?
> I would prefer -pae to get full use of RAM.
You can install any kernel you like from the list in yast. And it should add entries for it in grub.
It is also possible to have two kernels.
Don’t you have access to all the memory with -desktop? I do.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))
On 2010-08-04 13:06, vodoo wrote:
>
> The bootloader settings just offer me two options: Desktop (=default)
> and Failsafe.
Because that is the only kernel you have installed. The -pae is not listed below. No, it is not the
“vmlinux-2.6.31.12-0.2-pae.gz” file. You have to install it with YaST.
Hint: look for the file with a ‘z’ and not an ‘x’.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))
Thank you so much, everyone.
As it turns out I installed all the kernel sources (@DenverD: yes, with yast) but not the “real” -pae kernel itself. Doing so resolved the problem.
As this is a 32-bit install only the pae kernel will give access to the full RAM. This is completely different if you have a x86_64 kernel installed.
(Why did I install all kernel sources? Because I need them to compile some webcam apps which depend on the sources of the kernel v4l2 drivers).
On 2010-08-05 15:06, vodoo wrote:
>
> Thank you so much, everyone.
>
> As it turns out I installed all the kernel sources (@DenverD: yes, with
> yast) but not the “real” -pae kernel itself. Doing so resolved the
> problem.
>
> As this is a 32-bit install only the pae kernel will give access to the
> full RAM. This is completely different if you have a x86_64 kernel
> installed.
That’s not exactly true in openSUSE, as several kernel types are pae enabled even if they don’t have
pae in the name.
Look, from the boot log of the 32 bit partition in this machine (I have installed both 11.2 32 and
64 in this machine):
<5> 0.000000] Linux version 2.6.31.8-0.1-desktop (geeko@buildhost) (gcc version 4.4.1
[gcc-4_4-branch revision 150839] (SUSE Linux) ) #1 SMP PREEMPT 2009-12-15 23:55:40 +0100
See? The -desktop version.
<6> 0.000000] Memory: 8219792k/9437184k available (4720k kernel code, 92140k reserved, 2951k
data, 464k init, 7411272k highmem)
See? 8 GiB.
> (Why did I install all kernel sources? Because I need them to compile
> some webcam apps which depend on the sources of the kernel v4l2
> drivers).
Don’t forget to do the cloneconfig and prepare things.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))