Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th June 2009, 09:07
denbert denbert is offline
Member
 
Join Date: May 2008
Location: Copenhagen
Posts: 46
Thanks: 4
Thanked 3 Times in 3 Posts
Question How To Install Ubuntu 8.04 With Software RAID1 - what about grub and kernel upgrade

Hi there,

I have a Debian Lenny running with same setup as the mentioned how to in subject.

I have this in /boot/grub/menu.lst


Code:
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-legacy-doc/.

default         0
fallback        1

timeout         5

# Pretty colours
color cyan/blue white/blue

## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.26-2-amd64
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro quiet
initrd          /boot/initrd.img-2.6.26-2-amd64

title           Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro single
initrd          /boot/initrd.img-2.6.26-2-amd64

title           Debian GNU/Linux, kernel 2.6.26-2-amd64 (hd1)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro quiet
initrd          /boot/initrd.img-2.6.26-2-amd64

title           Debian GNU/Linux, kernel 2.6.26-2-amd64 (hd1)(single-user mode)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro single
initrd          /boot/initrd.img-2.6.26-2-amd64

### END DEBIAN AUTOMAGIC KERNELS LIST
I've noticed that a kernel upgrade changes my menu.lst

How do I set the system to automatically have same layout with the fallback settings after a kernel upgrade?
__________________
/ Denbert
Reply With Quote
Sponsored Links
  #2  
Old 5th June 2009, 16:45
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 240
Thanks: 2
Thanked 22 Times in 22 Posts
Default

It shouldn't mess with anything at all, just keep adding them to the bottom of hte list. I do think there is a entry that specifies how many old versions should be shown...

Here's mine from ubuntu...

Code:
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all
Reply With Quote
Reply

Bookmarks

Tags
aptitude upgrade, grub, kernel-upgrade, lenny, raid1

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID:After Kernel Update, grub menu.lst doesn't add new kernel to both HDDs leitner HOWTO-Related Questions 4 17th February 2009 18:12
Ubuntu 8.04 32bit acpi issue on boot. jiggleo Technical 5 6th November 2008 10:43
over quota .htpasswd problem hairydog2 General 11 28th September 2008 16:18
xen not booting qiu HOWTO-Related Questions 11 2nd May 2006 10:20
segmentation fault hotchilli Installation/Configuration 5 30th March 2006 22:29


All times are GMT +2. The time now is 18:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.