{"id":83,"date":"2009-04-28T09:37:46","date_gmt":"2009-04-28T14:37:46","guid":{"rendered":"http:\/\/www.popmartian.com\/tipsntricks\/?p=83"},"modified":"2009-05-20T10:46:16","modified_gmt":"2009-05-20T15:46:16","slug":"lvm-breaks-when-upgrading-debian-etch-to-lenny-4x-to-50","status":"publish","type":"post","link":"https:\/\/www.popmartian.com\/tipsntricks\/2009\/04\/28\/lvm-breaks-when-upgrading-debian-etch-to-lenny-4x-to-50\/","title":{"rendered":"LVM Breaks When Upgrading Debian Etch to Lenny 4.x to 5.0"},"content":{"rendered":"<p>Using the standard upgrade proceedures, Debian Etch + LVM will fail to upgrade to Debian Lenny gracefully.\u00c2\u00a0 This is due to the kernel modules and is simple to avoid.<\/p>\n<ol>\n<li><strong>Before changing apt sources (They should be etch)<\/strong><\/li>\n<li>apt-get update<\/li>\n<li>apt-get upgrade<\/li>\n<li>reboot if kernel upgrades<\/li>\n<li><strong>Now change your apt sources\u00c2\u00a0 (Lenny or Stable)<\/strong><\/li>\n<li>apt-get update<\/li>\n<li>apt-get upgrade<\/li>\n<li>NOTE: At this point lvm2 is probably held back.<\/li>\n<li>Reboot if the kernel upgrades<\/li>\n<li> NOW do your dist upgrade<\/li>\n<li>apt-get update<\/li>\n<li>apt-get dist-upgrade<\/li>\n<li>NOTE: At this point lvm2 is probably <strong>still<\/strong> held back.<\/li>\n<li>Reboot<\/li>\n<li>apt-get update<\/li>\n<li>apt-get install lvm2<\/li>\n<li>Reboot<\/li>\n<\/ol>\n<p>TADA!\u00c2\u00a0 You have to reboot a couple times, but you never have to touch the configs or the mapper.<\/p>\n<blockquote><p>Did you find this post useful or have questions or comments?  Please let me know!<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Using the standard upgrade proceedures, Debian Etch + LVM will fail to upgrade to Debian Lenny gracefully.\u00c2\u00a0 This is due to the kernel modules and is simple to avoid. Before changing apt sources (They should be etch) apt-get update apt-get &hellip; <a href=\"https:\/\/www.popmartian.com\/tipsntricks\/2009\/04\/28\/lvm-breaks-when-upgrading-debian-etch-to-lenny-4x-to-50\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,3,54],"tags":[],"class_list":["post-83","post","type-post","status-publish","format-standard","hentry","category-debian","category-how-to-do-stuff","category-lvm"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/posts\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":4,"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":113,"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/posts\/83\/revisions\/113"}],"wp:attachment":[{"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.popmartian.com\/tipsntricks\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}