VPS.NET Cloud Community: Ubuntu upgrade from 8.04 to 10.04 - VPS.NET Cloud Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Ubuntu upgrade from 8.04 to 10.04 Rate Topic: -----

#1 User is offline   Terry Myers 

  • Administrator
  • Group: VPS.NET Management
  • Posts: 238
  • Joined: 12-April 10
  • LocationOhio

Posted 31 August 2010 - 01:39 PM

The following steps will allow you to upgrade from Ubuntu 8.04 to 10.04

Step One:
apt-get update
do-release-upgrade --proposed ######DON'T REBOOT AT THIS POINT######
System upgrade is complete.

Restart required

To complete the upgrade, a system restart is required.
If you select 'y' the system will be restarted.

Continue [yN] n

Step Two:
apt-cache search linux-image
apt-get install linux-image-2.6.32-22-server

Step Three:
Next we need to modify /boot/grub/menu.lst
vi /boot/grub/menu.lst

Code:
default 0
timeout 3
hiddenmenu

title Ubuntu 10.04, kernel 2.6.32-22-server
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-22-server console=hvc0 root=/dev/xvda1 ro quiet splash
initrd /boot/initrd.img-2.6.32-22-server

Step Four:
vi /etc/init/hvc0.con

# hvc0 - getty
#
# This service maintains a getty on hvc0 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -L hvc0 9600 linux

Step Five:
It is now safe to reboot your system.
reboot

Credit goes out to Vitaliy for creating this how-to!
0

#2 User is offline   jon 

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 27-March 10

Posted 02 January 2011 - 03:49 AM

Thanks for the insight but it didn't work for me.
I just tried this and unfortunately linux-image-2.6.32-22-server ( or just linux-image-server, to get the latest) wouldn't actually get me a -server kernel.
I had to roll back to my snapshot when reboot failed.

My server was using a -xen kernel. Why use -server instead? Wouldn't the -virtual kernel be more appropriate?
0

#3 User is offline   MrGando 

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 07-April 10

Posted 26 February 2011 - 05:32 PM

Has this worked for someone else ?
0

#4 User is offline   redwall_hp 

  • Junior Member
  • Pip
  • Group: Customers
  • Posts: 3
  • Joined: 20-June 09

Posted 26 June 2011 - 01:10 AM

I'm looking into upgrading from 8.04 to 10.04. In preparation, I took a look at my /boot/grub/menu.lst. I see several title/root/kernel/initrd blocks. Would the code in step three replace them all, or go after them? Or should I just replace the entire contents of the file when I perform the upgrade?

I didn't see a /etc/init/hvc0.con file on 8.04 either, so I assume that the bit shown here is the entire contents?

Edit: Never mind. I read up on GRUB configuration, so I should be fine.

This post has been edited by redwall_hp: 29 June 2011 - 01:56 AM

VPS.net user as of September 2, 2009.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users