View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-01-2012, 08:14 AM   #1
Registered: Aug 2007
Posts: 339

Rep: Reputation: 31
ubuntu server - dist-upgrade help

I have 5 webservers and we just failed our PCI complaince. The primary culprit was apache which is running the Apache/2.2.14 (Ubuntu) version. I was looking twords the day's end, saw a post where someone simply added the oneiric disto to the sources.list. I added that, did an upgrade, 300+ meg came through, but not apache. So I followed up with an apt-get dist-upgrade which then took some time a few more packages and then done. I rebooted and was greeted with a kernel panic;
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown block (0,0)

So looking around others have seen this and simply booted off an old kernel. I did that and things came back and running fine. But, /etc/issue still shows 10.04LTS which was the existing one.

An apt-get dist-upgrade now shows;
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Looking at the souces.list, I still show all the lucid ones also, so I commented out the single oneiric.

Looking at the grub.cfg I see;

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-41-server' --class ubuntu --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 572b9a32-f419-40dc-b81b-e7bade8ef4cb
linux /vmlinuz-2.6.32-41-server root=/dev/mapper/cfs2-root ro quiet
menuentry 'Ubuntu, with Linux 2.6.32-22-server' --class ubuntu --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 572b9a32-f419-40dc-b81b-e7bade8ef4cb
linux /vmlinuz-2.6.32-22-server root=/dev/mapper/cfs2-root ro quiet
initrd /initrd.img-2.6.32-22-server

The only thing I see missing from the 1st is what I highlighted in bold.

So the 2 questions that come out of this are;
1. How do I upgrade the distribution version now? apt-get update and dist-upgrade show nothing new at all. Should I change the sources.list all up to the new one.
2. Can I use the new kernel, just adding the lime initrd that is not listed (is that the reason for the kernel panic)


Last edited by sir-lancealot; 08-01-2012 at 08:15 AM.


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
Upgrade and dist-upgrade problem reinstall aMule end packare libupnp6 anunix Debian 1 05-12-2012 09:06 AM
LXer: Screenshots: Dist-upgrade of Ubuntu ppc. LXer Syndicated Linux News 0 10-11-2007 05:00 AM
Using dist-upgrade to upgrade from Debian to Ubuntu jcbparry Debian 8 09-13-2007 07:25 AM

All times are GMT -5. The time now is 06:00 AM.

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