{"id":586,"date":"2012-06-20T09:42:09","date_gmt":"2012-06-20T07:42:09","guid":{"rendered":"https:\/\/www.allabouthappylife.com\/happy_blog\/?p=586"},"modified":"2012-11-18T10:33:20","modified_gmt":"2012-11-18T08:33:20","slug":"upgrade-to-opensuse-12-1-using-zypper-dup-ended-in-emergency-mode","status":"publish","type":"post","link":"https:\/\/www.allabouthappylife.com\/happy_blog\/upgrade-to-opensuse-12-1-using-zypper-dup-ended-in-emergency-mode.htm","title":{"rendered":"Upgrade to openSuSE 12.1 using zypper dup ended in emergency mode"},"content":{"rendered":"<p>Recently I have upgraded openSuSE 11.3 on Acer Aspire One netbook to the latest version 12.1. Before that, I had already performed 3 times clean install on other laptops and every time the system worked perfectly out of the box.<\/p>\n<p>This time I decided to do upgrade using \u201c<em>zypper dup<\/em>\u201d and followed all the suggestions to prepare the system for <a href=\"http:\/\/en.opensuse.org\/SDB:System_upgrade\">System Upgrade<\/a><\/p>\n<p>To be safe I used the option <span style=\"color: #000036;\">\u2013download \u201cin-advance\u201d<\/span> in case something goes wrong and the upgrade is interrupted. And the whole command is:<\/p>\n<p><span style=\"color: #000036;\"># zypper dup \u2013download \u201cin-advance\u201d<\/span><\/p>\n<p>After all the packages were downloaded and installed , the system was restarted and it ended up in emergency mode.<\/p>\n<p><span style=\"color: #000036;\">Welcome to emergency mode. Use \u201csystemctl default\u201d or ^D to activate default mode.<br \/>\nGive root password for login:<\/span><\/p>\n<p>There was another line on top of the screen<\/p>\n<p><span style=\"color: #000036;\">failed to execute: `\/etc\/sysconfig\/network\/scripts\/ifup-sysctl` `\/etc\/sysconfig\/network\/scripts\/ifup-sysctl lo -o hotplug`: No such file or directory<\/span><\/p>\n<p>but I was sure that the problem is somewhere else, because it performed <span style=\"color: #000036;\">\u201cfsck\u201d<\/span> on all partitions and maybe did not like something in \/etc\/fstab.<\/p>\n<p>Anyway, I searched Google and found that system manager has been changed and now the system boots with <span style=\"color: #ff6600;\">systemd<\/span> instead of previously used <span style=\"color: #ff6600;\">sysvinit<\/span>.<\/p>\n<p>So, I typed my root password and logged in the system and could even start KDE<br \/>\nwith <span style=\"color: #000036;\">\u201cstartx\u201d<\/span><\/p>\n<p>Then I installed previous system manager package <span style=\"color: #ff6600;\">sysvinit-init<\/span> and uninstalled <span style=\"color: #ff6600;\">systemd-sysvinit<\/span> package<\/p>\n<p>Rebooted and everything went fine.<\/p>\n<p>There is another way to ignore <span style=\"color: #ff6600;\">systemd<\/span>: at boot press F5 and choose <span style=\"color: #ff6600;\">system v<\/span> from the drop-down menu.<\/p>\n<p>But since systemd is going to be the default \u201cinit\u201d in the future, it is better to read more about it at <a href=\"http:\/\/en.opensuse.org\/Systemd\" target=\"_blank\">openSuSE-Systemd<\/a>. I also did so and re-installed it again. The boot problem that I had was caused by my Windows partition, which I set to \u201cnoauto\u201d ( this means the partition is not mounted during boot ) in \/etc\/fstab and the system boots normally now.<\/p>\n<p>Enjoy one of the most powerful Linux distributions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I have upgraded openSuSE 11.3 on Acer Aspire One netbook to the latest version 12.1. Before that, I had already performed 3 times clean install on other laptops and every time the system worked perfectly out of the box. This time I decided to do upgrade using \u201czypper dup\u201d and followed all the suggestions [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[116,1],"tags":[115,112,113,114],"class_list":["post-586","post","type-post","status-publish","format-standard","hentry","category-linux-admin","category-uncategorized","tag-emergency-mode","tag-opensuse","tag-upgrade","tag-zypper"],"_links":{"self":[{"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/posts\/586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/comments?post=586"}],"version-history":[{"count":3,"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/posts\/586\/revisions\/589"}],"wp:attachment":[{"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/media?parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/categories?post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.allabouthappylife.com\/happy_blog\/wp-json\/wp\/v2\/tags?post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}