LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-21-2012, 06:45 AM   #1
sgamesk
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Post Can upgrading kernel cause grub breakdown in multi boot setup?


I have a multi boot set up with two Linux distributions and Windows. If I upgrade the kernel of one Linux distribution would it cause breakdown in grub boot selector for selecting which operating system I wish to boot? If this is right is there any solution for this?
 
Old 07-21-2012, 01:36 PM   #2
Roken
Member
 
Registered: Oct 2011
Location: Bolton, UK
Distribution: Arch local, Debian on VPS
Posts: 258

Rep: Reputation: 41
Upgrading the kernel could break the grub loader for that OS, and, in limited circumstances, for another Linux OS in a multi-boot set up, but only if a set of conditions existed, those being:
  • That the kernel upgrade removed the old kernel and changed the name of the kernel image in /boot
  • That the kernel upgrade over-writes a kernel belonging to a different OS

Personally, whilst I have seen the first, a simple sudo update-grub would fix it. I have never seen the second. If you are multi-booting including Windows, your Windows boot entry shouldn't be affected at all.

A fix should be relatively easy, by booting a live CD, chroot into the OS owning grub and sudo update-grub. Alternatively, you could boot a live CD, mount /boot and manually fix /boot/grub/grub.cfg
 
Old 07-21-2012, 07:34 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,848

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Very unlikely.
Note that update-grub is not part of the grub[2] package, but likely will be available on Debian derived systems (certainly Ubuntu).
 
Old 07-21-2012, 09:00 PM   #4
Roken
Member
 
Registered: Oct 2011
Location: Bolton, UK
Distribution: Arch local, Debian on VPS
Posts: 258

Rep: Reputation: 41
Personally, I use burg, which tends to mirror grub, and I've noticed that update-burg is no longer provided, but burg-mkconfig is. I assume that similar is available for grub.

Having said that, I've been maintaining burg.cfg (grub.cfg) manually for so long that I lose track.
 
Old 07-22-2012, 03:47 AM   #5
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
Depends on how you updated the grub It could breakdown the grub if not done in the right way. Preferably use the tools that are available with the distro.
 
  


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
Sharing /home partition in a multi-distro multi boot setup firewiz87 Linux - Distributions 6 08-24-2010 08:11 AM
Upgrading RHEL4.7 kernel but what to keep the old kernel in boot.grub fcfury Linux - Newbie 2 08-14-2009 09:13 AM
setup multi-boot Python Rider Linux - Newbie 4 04-30-2009 03:54 PM
Need help with boot loader. Multi boot questions. Grub? 1993gt40 Linux - Software 1 10-16-2003 09:28 PM
GRUB, Multi Linux/Multi Disk Boot gtnorton Linux - Software 1 03-16-2003 04:48 AM


All times are GMT -5. The time now is 02:34 AM.

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