{"id":2,"date":"2014-05-09T19:21:48","date_gmt":"2014-05-09T19:21:48","guid":{"rendered":"http:\/\/vkrastev1blog.com\/?p=2"},"modified":"2026-10-19T12:23:37","modified_gmt":"2026-10-19T12:23:37","slug":"how-to-repair-bootloader-after-installing-ubuntu-on-preinstalled-windows-pc-als-second-operating-system","status":"publish","type":"post","link":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-repair-bootloader-after-installing-ubuntu-on-preinstalled-windows-pc-als-second-operating-system\/","title":{"rendered":"\u5728\u9884\u88c5 Windows PC \u4f5c\u4e3a\u7b2c\u4e8c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5b89\u88c5 Ubuntu \u540e\u5982\u4f55\u4fee\u590d Bootloader"},"content":{"rendered":"<p>\u6211\u591a\u6b21\u4f7f\u7528\u9019\u500b\u65b9\u6cd5\uff0c\u56e0\u70ba\u5b89\u88dd\u5f8c\u5f15\u5c0e\u7a0b\u5f0f\u640d\u58de\uff0c\u4e26\u4e14\u5b89\u88dd Linux \u5f8c\u53ea\u80fd\u5728 Linux \u4e2d\u555f\u52d5\uff0c\u800c\u7121\u6cd5\u5728 Windows \u4e2d\u555f\u52d5\u3002\u56e0\u6b64\uff0c\u60a8\u61c9\u8a72\u57f7\u884c\u4ee5\u4e0b\u64cd\u4f5c\u4ee5\u4f7f\u5176\u6b63\u78ba\u3002<\/p>\n<p>\u5728Linux\u4e2d\u57f7\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>sudo add-apt-repository ppa:yannubuntu\/boot-repair<\/p>\n<p>sudo apt-get \u66f4\u65b0<\/p>\n<p>sudo apt-get install \u555f\u52d5\u4fee\u5fa9<\/p>\n<p>\u555f\u52d5\u4fee\u5fa9<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>\u9019\u5c07\u4f7f\u7528\u9810\u8a2d\u503c\u555f\u52d5\u555f\u52d5\u4fee\u5fa9\uff0c\u4e26\u5728\u9078\u55ae\u4e2d\u9032\u4e00\u6b65\u6309\u4e0b\u4e00\u6b65\u3002\u5b83\u5c07\u4fee\u5fa9\u5f15\u5c0e\u7a0b\u5f0f\u3002\u4e4b\u5f8c\u5c31\u53ef\u4ee5\u5f9e\u958b\u6a5f\u8f09\u5165\u7a0b\u5f0f\u555f\u52d5 Linux \u548c Windows\u3002<\/p>\n<p>\u73a9\u5f97\u958b\u5fc3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u4f7f\u7528\u8fd9\u4e2a\u7cfb\u7edf\uff0c\u56e0\u4e3a\u5b89\u88c5\u540e\u5f15\u5bfc\u7a0b\u5e8f\u635f\u574f\uff0c\u5e76\u4e14\u5b89\u88c5Linux\u540e\u5728Linux\u4e2d\u542f\u52a8\uff0c\u800c\u65e0\u6cd5\u5728Windows\u4e2d\u542f\u52a8\u3002\u56e0\u6b64\uff0c\u60a8\u5b89\u88c5\u540e\u5e94\u8be5\u4e0b\u8f7d\u7535\u5f71\u5728Linux\u4e2d\u542f\u52a8\u5728Linux\u4e2d\u542f\u52a8\u5728Linux\u4e2d\u542f\u52a8\u5728\u4e2d\u542f\u52a8\u4e2d\u542f\u52a8\u3002 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;O ZYX17Z&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; \u987b\u85e4add-apt-repository ppa:yannubuntu\/boot-repair sudo apt-get update sudo apt-get install &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;OZY X49Z&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;O ZYX61Z&#8212;&#8212;&#8212;&#8211;\u8fd9\u5c06\u4f7f\u7528\u9ed8\u8ba4\u503c\u542f\u52a8\u542f\u52a8\u542f\u52a8\uff0c\u5e76\u5728\u9009\u5355\u4e2d\u8fdb\u4e00\u6b65\u6309\u6539\u53d1\u3002\u5b98\u5c06\u542f\u52a8\u5f15\u5bfc\u7a0b\u5e8f\u3002\u4e4b\u540e\u540d\u5f97\u4ece\u542f\u52a8\u52a0\u8f7d\u7a0b\u5e8f\u542f\u52a8Linux \u548c Windows\u3002\u73a9\u5f97\u5f00\u5fc3\u3002<\/p>\n","protected":false},"author":65283547,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[559],"tags":[],"class_list":["post-2","post","type-post","status-publish","format-standard","hentry","category-559"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4CoHV-2","jetpack-related-posts":[{"id":19,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-install-the-newest-nvidia-driver-on-ubuntu\/","url_meta":{"origin":2,"position":0},"title":"\u5982\u4f55\u5728 Ubuntu \u4e0a\u5b89\u88c5\u6700\u65b0\u7684 NVIDIA \u9a71\u52a8\u7a0b\u5e8f","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"Open console window and type following commands: -------------------------------------------------------------------------------------------------------------- sudo apt-add-repository ppa:ubuntu-x-swat sudo apt-get update sudo apt-get install nvidia-current --------------------------------------------------------------------------------------------------------------- And you have the newest Driver installed.","rel":"","context":"In &quot;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-install-testdisk-on-ubuntu-and-to-add-universe-repository\/","url_meta":{"origin":2,"position":1},"title":"\u5982\u4f55\u5728 Ubuntu \u4e0a\u5b89\u88c5 testdisk \u5e76\u6dfb\u52a0 Universe \u5b58\u50a8\u5e93","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"Execute the command in console in Ubuntu. The commands are made for \u00a0Ubuntu 12.04 LTS (Precise Pangolin). For your Ubuntu Version replace \"precise\" in these commands with your Ubuntu Version name: sudo add-apt-repository \"deb http:\/\/us.archive.ubuntu.com\/ubuntu precise universe miltiverse\" sudo add-apt-repository \"deb http:\/\/us.archive.ubuntu.com\/ubuntu precise-updates universe miltiverse\" sudo apt-get update sudo apt-get\u2026","rel":"","context":"In &quot;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":213,"url":"https:\/\/vkrastev1blog.com\/2022\/04\/29\/show-host-ip-address-in-linux-centos\/","url_meta":{"origin":2,"position":2},"title":"\u5728 Linux CentOS \u4e2d\u986f\u793a\u4e3b\u6a5f IP \u4f4d\u5740","author":"vkrastev2014","date":"29.04.2022","format":false,"excerpt":"You can get the IP address by typing following command in console: hostname -i and it shows exactly only one real IP address of the host","rel":"","context":"In &quot;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":55,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/important-shell-script-commands-which-are-oft-used\/","url_meta":{"origin":2,"position":3},"title":"\u5e38\u7528\u7684\u91cd\u8981 Shell \u811a\u672c\u547d\u4ee4","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"Here is a list of some important shell commands: ---- Using Screen command screen -ls -- for a list of avaliable active screens screen -x .... - the Name from -ls output to join to this active screen Go out of the Screen with 'ctrl a+d' without stopping it ----\u2026","rel":"","context":"In &quot;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":174,"url":"https:\/\/vkrastev1blog.com\/2022\/02\/08\/create-dump-from-oracle-schema-in-console-in-linux\/","url_meta":{"origin":2,"position":4},"title":"\u5728 Linux \u63a7\u5236\u53f0\u4e2d\u4ece Oracle \u6a21\u5f0f\u521b\u5efa\u8f6c\u50a8","author":"vkrastev2014","date":"08.02.2022","format":false,"excerpt":"It is not easy to find the correct way to execute expdp command in console. There are some steps before you execute expdp command. First you have to create a directory on the computer where Oracle DB is, where you will put the dump files than you have to grant\u2026","rel":"","context":"In &quot;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":129,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/26\/new-gpu-bitcoin-miner-is-there-named-diamantminer-how-to-install-on-windows\/","url_meta":{"origin":2,"position":5},"title":"\u65b0\u7684 GPU \u6bd4\u7279\u5e01\u77ff\u5de5\u88ab\u547d\u540d\u4e3a DiamantMiner\u3002\u5982\u4f55\u5728 Windows \u4e0a\u5b89\u88c5","author":"vkrastev2014","date":"26.05.2014","format":false,"excerpt":"New GPU Bitcoin Miner is there named DiamantMiner. How to install on Windows I have tried the new bitcoin miner and I find it very good. What you should do to install it on Windows is described here. How to build and install DiamantMiner requires the SDK for Java Version\u2026","rel":"","context":"In &quot;\u5176\u4ed6\u7684&quot;","block_context":{"text":"\u5176\u4ed6\u7684","link":"https:\/\/vkrastev1blog.com\/category\/%e5%85%b6%e4%bb%96%e7%9a%84\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/users\/65283547"}],"replies":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":14,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/2\/revisions"}],"predecessor-version":[{"id":2822,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/2\/revisions\/2822"}],"wp:attachment":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/media?parent=2"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/categories?post=2"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/tags?post=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}