Re: [opensuse] Rebuilding 11.2 menu.lst



On Sat, Jan 23, 2010 at 10:54:02AM +0100, Carlos E. R. wrote:

On Friday, 2010-01-22 at 21:02 -0500, Lucky Leavell wrote:
[ 8< ]
Here is my current menu.lst:

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,4)/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX
root (hd0,4)
kernel /vmlinuz-2.6.31.8-0.1-desktop root=/dev/disk/by-id/ata-FUJITSU_MHZ2160BH_G2_K668T9426RSC-part6 repair=1 resume=/dev/disk/by-id/ata-FUJITSU_MHZ2160BH_G2_K668T9426RSC-part7 splash=silent quiet showopts vga=0x314
initrd /initrd-2.6.31.8-0.1-desktop

I don't know what that "repair=1" option is for :-?

The YaST repair feature was used. Please report this via bugzilla.

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX
root (hd0,4)
kernel /vmlinuz root=/dev/disk/by-id/ata-FUJITSU_MHZ2160BH_G2_K668T9426RSC-part6 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
initrd /initrd

Perhaps that "kernel /vmlinuz" is incomplete.

/vmlinuz might exist and be a symbolic link to the actual installed
kernel. I have this sym link on all my systems.

_But_ in a standard grub menu.lst the full name like
vmlinuz-2.6.31.8-0.1-desktop is used.

Questions:

1. Should I have entries for both the default and desktop kernels?

Why not? If you have both kernels installed, you should have entries
for both.

Yes, you should have multiple entries. This is a feature which allows
you to decide at boot time which kernel you like to boot.

Why is this offered?

a) this allows you to test e.g. if kernel-desktop works on your system.
Supposed you used kernel-default before.
b) it allows you to test a new kernel while keeping the previous kernel
installed. Yes, this approach is for wimps and I'm one. ;)

2. Do you see anything else I should fix?

3. I just notices that the -base versions (kernel-default-base and
kernel-desktop-base) are not installed. Should they be?

I'm not sure what you mean.

kernel-default-base isn't required by a standard system. It includes
many firmware files needed to initialize particular hardware.

As I never had to use it this information might not be 100% correct.

vmlinuz -> vmlinuz-2.6.31.8-0.1-default
-rw-r--r-- 1 root root 4158784 Oct 27 06:02 vmlinuz-2.6.31.5-0.1-default
-rw-r--r-- 1 root root 4160640 Dec 17 21:37 vmlinuz-2.6.31.8-0.1-default
-rw-r--r-- 1 root root 4104800 Dec 17 21:22 vmlinuz-2.6.31.8-0.1-desktop

The .5 is old and probably should be removed (rpm --erase something)

Please use

rpm -qa --last | grep ^kernel-

to check which kernel packages are installed.

With

zypper rm kernel-desktop-2.6.32-3.5

for example you're able to remove a particular version.

The advantage of using zypper is to keep track of what you did from the
zypper POV in /var/log/zypp/history

Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany

Attachment: pgpf3Hi7nH5UH.pgp
Description: PGP signature



Relevant Pages