unix:linux:debian:upgradeproblems
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | unix:linux:debian:upgradeproblems [2020/03/28 06:09] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Debian Upgrade Problems ====== | ||
| + | |||
| + | I decided after a few problems that I would not upgrade my Debian machines from wheezy to jessie. jessie appears to be more oriented towards workstations, | ||
| + | |||
| + | One of our technicians upgraded a Debian Wheezy Xen DOM0 in early fall of 2017, and while it rebooted, it could no longer run hardware virtualized machines (hvm' | ||
| + | |||
| + | Finally, after deciding the only solution was a complete reinstall, I decided to test out the devuan distribution ([[http:// | ||
| + | |||
| + | Following are my notes on how this was accomplished. Most were taken from [[https:// | ||
| + | |||
| + | - update the server as best you can (I often bypass this) | ||
| + | - Modify / | ||
| + | - Set up the devuan keyring | ||
| + | - perform an update, then a dist-upgrade | ||
| + | - install qemu-system-x86 | ||
| + | - edit all hvm domu configuration files to clean them up | ||
| + | |||
| + | Note that the step, install qemu-system-x86 is possibly the only fix that was necessary. I could still be running Debian Wheezy, probably. However, by upgrading to devuan, I get new kernel' | ||
| + | |||
| + | ===== Upgrade server ===== | ||
| + | |||
| + | Basically, do as you normally do. The system will be broken after this | ||
| + | <code bash> | ||
| + | apt-get update && apt-get upgrade | ||
| + | </ | ||
| + | |||
| + | ===== Modify configuration to use Devuan ===== | ||
| + | |||
| + | Edit / | ||
| + | <code bash> | ||
| + | deb http:// | ||
| + | deb http:// | ||
| + | deb http:// | ||
| + | </ | ||
| + | In most cases, these should be the only lines in sources.list | ||
| + | |||
| + | Now, import the devuan keyring | ||
| + | |||
| + | <code bash> | ||
| + | apt-get update && apt-get install devuan-keyring -y --allow-unauthenticated | ||
| + | </ | ||
| + | |||
| + | ===== Perform the dist upgrade ===== | ||
| + | |||
| + | <code bash> | ||
| + | apt-get update -y | ||
| + | apt-get dist-upgrade | ||
| + | </ | ||
| + | |||
| + | The //-y// is needed or it will complain about the keyring the first time. | ||
| + | |||
| + | reboot the system | ||
| + | |||
| + | <code bash> | ||
| + | reboot | ||
| + | </ | ||
| + | |||
| + | ===== get qemu-system-x86 ===== | ||
| + | |||
| + | Appearently, | ||
| + | |||
| + | <code bash> | ||
| + | apt-get install qemu-system-x86 | ||
| + | </ | ||
| + | |||
| + | ===== fix all hvm config files ===== | ||
| + | |||
| + | The configuration options for hvm's has changed, with many not being used. In /etc/xen, there is a sample for hvm's which will help a lot, however the following is a quick and dirty list. | ||
| + | |||
| + | * replace // | ||
| + | * comment out the line beginning with //kernel// if you have it | ||
| + | * set // | ||
| + | |||
| + | Again, read the sample conf, but basically, remove anything not needed. | ||
| + | |||
| + | ===== Upgrade Jessie to ASCII ===== | ||
| + | |||
| + | Just a note on how to upgrade jessie to ascii (devuan) | ||
| + | |||
| + | < | ||
| + | deb http:// | ||
| + | deb http:// | ||
| + | deb http:// | ||
| + | deb http:// | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | apt-get upgrade devuan-keyring | ||
| + | apt-get update | ||
| + | apt-get dist-upgrade | ||
| + | </ | ||
unix/linux/debian/upgradeproblems.txt · Last modified: by 127.0.0.1
