{"id":401,"date":"2014-12-30T15:16:57","date_gmt":"2014-12-30T13:16:57","guid":{"rendered":"http:\/\/webowiec.net\/blog\/?p=401"},"modified":"2014-12-30T15:22:11","modified_gmt":"2014-12-30T13:22:11","slug":"solved-booting-from-local-disk-pxe-m0f-exiting-pxe-rom","status":"publish","type":"post","link":"https:\/\/webowiec.net\/blog\/solved-booting-from-local-disk-pxe-m0f-exiting-pxe-rom\/","title":{"rendered":"[solved] booting from local disk.. pxe-m0f: exiting pxe rom"},"content":{"rendered":"<p>B\u0142\u0105d podczas uruchamiania systemu:<\/p>\n<p><code># booting from local disk..<br \/>\n# pxe-m0f: exiting pxe rom<\/code><\/p>\n<p>Ta ma\u0142o czytelna wiadomo\u015b\u0107 to po prostu informacja, \u017ce BIOS odda\u0142 danemu dyskowi kontrole nad systemem i&#8230; nic si\u0119 nie sta\u0142o, bo dysk nie posiada systemu operacyjnego.<\/p>\n<p><strong>Rozwi\u0105zanie:<\/strong><br \/>\n1) zresetowa\u0107 maszyne, uruchomi\u0107 BIOS<br \/>\n2) w zak\u0142adce BOOT zmieni\u0107 kolejno\u015b\u0107 dysk\u00f3w &#8220;HDD Boot Piority&#8221; i jako pierwszy ustawi\u0107 ten, na kt\u00f3rym zosta\u0142 zainstalowany system operacyjny*<br \/>\n3) zapisa\u0107 zmiany, restart<\/p>\n<p>* je\u015bli mamy 100% pewno\u015b\u0107, \u017ce wybrany jest dysk z systemem operacyjnym, konieczne b\u0119dzie przeinstalowanie GRUB-a:<!--more--><\/p>\n<p><span style=\"color: #ff0000;\"><strong>UWAGA! Wykonujemy w trybie rescue (system uruchomiony z poziomu USB lub zdalnie)! <\/strong><\/span><\/p>\n<p>1) szukamy urz\u0105dzenia z naszym systemem &#8220;sudo fdisk -l&#8221;, wybieramy partycje systemow\u0105, np. &#8220;\/dev\/sda1&#8221;<\/p>\n<p>2) montujemy w tymczasowym katalogu:<br \/>\n<code># sudo mkdir sda1<br \/>\n# mount \/dev\/sda1 .\/sda1<\/code><\/p>\n<p><strong>UWAGA! Je\u015bli lokalizacja &#8220;\/boot&#8221; by\u0142a na osobnej partycji, trzeba j\u0105 dodatkowo domontowa\u0107:<\/strong><br \/>\n<code># mount \/dev\/sda2 .\/sda1\/boot<\/code><\/p>\n<p>3) Robimy symulacje pracy systemu z poziomu dysku:<br \/>\n<code># sudo mount --bind \/dev .\/sda1\/dev<br \/>\n# sudo mount --bind \/dev\/pts .\/sda1\/dev\/pts<br \/>\n# sudo mount --bind \/proc .\/sda1\/proc<br \/>\n# sudo mount --bind \/sys .\/sda1\/sys<br \/>\n# sudo chroot .\/sda1<\/code><\/p>\n<p>3) Instalujemy GRUB:<br \/>\n<code># grub-install \/dev\/sda<br \/>\n# grub-install --recheck \/dev\/sda<br \/>\n# update-grub<\/code><\/p>\n<p>4) Koniec. robimy &#8220;exit&#8221; i restartujemy system.<\/p>\n<p>Odno\u015bniki:<br \/>\n&#8211; <em>http:\/\/howtoubuntu.org\/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>B\u0142\u0105d podczas uruchamiania systemu: # booting from local disk.. # pxe-m0f: exiting pxe rom Ta ma\u0142o czytelna wiadomo\u015b\u0107 to po prostu informacja, \u017ce BIOS odda\u0142 danemu dyskowi kontrole nad systemem i&#8230; nic si\u0119 nie sta\u0142o, bo dysk nie posiada systemu &hellip; <a href=\"https:\/\/webowiec.net\/blog\/solved-booting-from-local-disk-pxe-m0f-exiting-pxe-rom\/\" class=\"btn btn-sm btn-primary\"><i class=\"glyphicon glyphicon-link\"><\/i> Czytaj ca\u0142o\u015b\u0107<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[599],"tags":[639,642,644,640,643,645,641],"class_list":["post-401","post","type-post","status-publish","format-standard","hentry","category-administracja-serwerami","tag-booting-from-local-disk","tag-centos-not-boot","tag-grub-reinstall-remote-level","tag-pxe-m0f-exiting-pxe-rom","tag-repair-grub-remote","tag-rescue-system-repair-grub","tag-system-nie-wstaje"],"_links":{"self":[{"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/posts\/401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/comments?post=401"}],"version-history":[{"count":3,"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/posts\/401\/revisions"}],"predecessor-version":[{"id":404,"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/posts\/401\/revisions\/404"}],"wp:attachment":[{"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/media?parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/categories?post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webowiec.net\/blog\/wp-json\/wp\/v2\/tags?post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}