LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 06-19-2005, 12:44 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,277

Rep: Reputation: 53
How do I select which kernel the server boots with? grub.conf?


I installed a new kernel but the SuSE grub.conf file is quite different from that of RedHat

How do I tell SuSE to automatically boot with my new kernel?

bubba:/usr/src/linux # make install
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.11.12/arch/i386/boot/install.sh 2.6.11.12 arch/i386/boot/bzImage System.map ""
Root device: /dev/hda7 (mounted on / as reiserfs)
Module list: reiserfs

Kernel image: /boot/vmlinuz-2.6.11.12
Initrd image: /boot/initrd-2.6.11.12
Shared libs: lib/ld-2.3.3.so lib/libc.so.6 lib/libselinux.so.1
Modules: kernel/fs/reiserfs/reiserfs.ko
Bootsplash: SuSE-Home (800x600)
Using grub, re-install of bootloader not required.
bubba:/usr/src/linux # pico /etc/gr
group group.old group.YaST2save grub.conf
bubba:/usr/src/linux # pico /etc/grub.conf
 
Old 06-19-2005, 01:40 PM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Code:
title           Linux 2.6.11.12
root            (hd0,6)
kernel         /boot/vmlinuz-2.6.11.12 root=/dev/hda7 ro
initrd          /boot/initrd-2.6.11.12
Should be fine, if it does not work, post your grub.conf.
I see you have reiserfs root, with a reiserfs module. I guess you have checked that the reiserfs module is on the initrd.
 
Old 06-20-2005, 11:41 AM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,277

Original Poster
Rep: Reputation: 53
Why does my grub.conf look so much different?
# cat /etc/grub.conf
root (hd0,6)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,6)/boot/grub/menu.lst
quit
 
Old 06-20-2005, 03:56 PM   #4
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Sorry, the code I posted goes in /boot/grub/menu.lst. Some systems (like yours) have a different /etc/grub.conf. On my debian box, grub.conf is just a link to menu.lst. Menu.lst is what controls grub, that is where you should look. This was my mistake.
 
  


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
grub.conf and kernel panic...GGGRRRRRRR 10xOXR Linux - Newbie 2 01-28-2005 04:25 PM
Is there a way to change which kernel/os boots without modifying grub.conf? niverson Linux - Software 2 01-05-2005 05:14 PM
Updating Grub.conf With New Kernel hanserr Linux - Newbie 3 02-27-2004 06:01 AM
grub.conf and Kernel Panic!! phekno Linux - Software 4 10-16-2003 12:08 AM
Grub.conf - Kernel Panic. liguorir Linux - Software 2 06-29-2003 02:03 PM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration