LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2012, 09:00 AM   #1
motux
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Question Unexpected grub entries after Kernel update with Yast2


Hi all!

First of all I probably have to excuse as my question might already have been answered in one of these forums. Unfortunately I could not limit my search requests as to get less than a thousand results...
So my problem is: I'm using grub2 as boot menu for my openSuse 11.4 distro. Now, everytime I install a kernel update (yast2), my menu.lst in /boot gets updated as well as the grub.conf - but incorrectly! Some time ago I moved my system from one hd to another. So what changed was hd number (0,3 -> 0,0) and id (...FUJITSU -> SAMSUNG...).
This is what current entries look like:
a.) menu.lst
root (hd0,3)
kernel /boot/c root=/dev/disk/by-id/ata-FUJITSU_yyy-part4 resume=/dev/disk/by-id/ata-SAMSUNG_xxx-part1 splash=silent showopts vga=0x36e
initrd /boot/initrd-2.6.37.6-0.11-desktop

b.) grub.conf
root (hd0,0)
kernel /boot/vmlinuz-2.6.37.6-0.9-desktop root=/dev/disk/by-id/ata-SAMSUNG_xxx-part1 resume=/dev/sda2 splash=silent showopts vga=0x367
initrd /boot/initrd-2.6.37.6-0.9-desktop

What is weird (in my eyes):
a.) has correct initrd entry (vmlinuz-2.6.37.6-0.11-desktop) while root-entry and kernel is wrong (kernel hd device: old Fujitsu-ID, expected root: hd0,0 as in b.)

Theres a hint in grub.conf as follows:
# Modified by YaST2. Last modification on Tue Aug 30 01:16:15 CEST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

However, when I look at the bootloader file I get these parameters (among others):
LOADER_TYPE="grub"
LOADER_LOCATION="boot"
DEFAULT_NAME="openSUSE 11.4 - 2.6.37.6-0.7"
DEFAULT_APPEND="resume=/dev/disk/by-id/ata-SAMSUNG_xxx-part1 splash=silent showopts"
XEN_KERNEL_APPEND=(see above)

Now I'm confused! Where does Yast get the (wrong/old) Fujitsu hard disk from and why referencing the wrong hd-no (0,3) instead (0,0)? How can I see if the "perl-Bootloader" is effective/installed/...? I do not know anything about it (meaning I did not install it by purpose).

Help is really apprechiated. I don't want to edit my boot menu before booting and afterwards modify my grub-files after each and every kernel update!

BR and thX in advance!
motux

Last edited by motux; 02-05-2012 at 09:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate kernel entries of Ubuntu 9.04 in GRUB loader phantombudgie Linux - General 3 10-01-2009 07:21 PM
kernel upgrade and grub entries stoppage Ubuntu 2 07-03-2009 08:32 PM
Multiple Kernel Entries in Grub ... Safe to Remove? SlowCoder Linux - Newbie 2 04-23-2007 10:31 PM
Update 8.1 --> 9.1 using YAST2 FeathersMc SUSE / openSUSE 2 12-14-2004 07:21 PM
YaST2 Update? SuSE_User Linux - Software 1 01-23-2004 04:28 PM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration