Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Language: German English

Upgrade Debian Lenny to Squeeze on Citrix XenServer

Debian Logo

1. Die Lenny Installation auf den aktuellen Stand bringen

Bevor man mit dem Distributions-Update beginnt, sollte man sicherstellen, dass Lenny auf dem aktuellen Stand ist.

aptitude update
aptitude upgrade

2. Die sources.list zu Squeeze ändern

Öffne “/etc/apt/sources.list” mit einem Editor deiner Wahl und ersetzte “Lenny” durch “Squeeze” hier ist ein Beispiel:

# Debian Squeeze
deb http://ftp.de.debian.org/debian/ squeeze main
deb-src http://ftp.de.debian.org/debian/ squeeze main  

# Debian Squeeze Security
deb http://security.debian.org/ squeeze/updates main

3. Das System aktualisieren

aptitude update
aptitude install apt dpkg aptitude
aptitude full-upgrade

4. Grub aktualisieren

Debian Squeeze verwendet Grub2 deshalb muss man noch “upgrade-from-grub-legacy” ausführen um von Grub zu Grub2 umzustellen.

upgrade-from-grub-legacy
rm -f /boot/grub/menu.lst*

Sollte man dies nicht machen, bekommt man folgende Fehlermeldung vom XenServer.

Error: Starting VM 'YOUR_VM' - Using  to parse /boot/grub/menu.lst - Traceback (most recent call last): - File "/usr/bin/pygrub", line 746, in ? - raise RuntimeError, "Unable to find partition containing kernel" - RuntimeError: Unable to find partition containing kernel

, , , ,

5 Responses to “Upgrade Debian Lenny to Squeeze on Citrix XenServer”

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

eMail-Benachrichtigung bei weiteren Kommentaren.
Auch möglich: Abo ohne Kommentar.