{"id":603,"date":"2010-07-07T10:33:00","date_gmt":"2010-07-07T05:03:00","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=603"},"modified":"2010-07-07T10:33:00","modified_gmt":"2010-07-07T05:03:00","slug":"remove-ubuntu-from-dual-boot","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/remove-ubuntu-from-dual-boot\/","title":{"rendered":"Remove Ubuntu from Dual boot"},"content":{"rendered":"<p>If you want to remove ubuntu then some people may ask &#8220;why not just delete Ubuntu partitions?&#8221;.\u00a0 No we can&#8217;t do like this because Ubuntu installs a boot loader called\u00a0<strong><a rel=\"nofollow\" href=\"http:\/\/en.wikipedia.org\/wiki\/GNU_GRUB\" target=\"_blank\">GRUB<\/a><\/strong> into the\u00a0<strong>Master Boot Record (MBR)<\/strong>, if you delete Ubuntu partitions all the data will be deleted but not GRUB!\u00a0 So when your restart your PC, GRUB will look for Ubuntu , when it does not find Ubuntu it show some error and you <em><strong>cannot even boot into windows<\/strong><\/em>. So here I&#8217;m going to show you two ways to safely remove Linux.<br \/>\n<strong>First (Using MbrFix)<\/strong><\/p>\n<ol>\n<li>Download mbfix from\u00a0<a rel=\"nofollow\" href=\"http:\/\/www.download.com\/MbrFix\/3000-2094_4-10485990.html\" target=\"_blank\">here<\/a>.\u00a0<a rel=\"nofollow\" href=\"http:\/\/www.download.com\/MbrFix\/3000-2094_4-10485990.html\" target=\"_blank\"><br \/>\n<\/a><\/li>\n<li>Extract all files in mbrfix.zip to C:.<\/li>\n<li>Open Command Prompt (start-&gt;run-&gt; type\u00a0<strong>cmd <\/strong>-&gt; OK).<\/li>\n<li>Type\u00a0<strong>cd <\/strong> and press enter.<\/li>\n<li>Then type\u00a0<strong>mbrfix \/drive 0 fixmbr \/yes<\/strong> and press enter.<\/li>\n<li>Now you can delete Ubuntu partitions (\/, swap etc) using Easeus Partition Manager or Windows Disk Management or other partition editor.<\/li>\n<li>Restart your PC.<\/li>\n<\/ol>\n<p>This will overwrite GRUB with Windows boot loader . So you will see Windows boot loader instead of GRUB.<\/p>\n<p><strong>Second (Using Windows CD)<\/strong><\/p>\n<div>\n<p><em>XP Users:<\/em><\/p>\n<ol>\n<li>Boot your PC with Windows XP CD and select\u00a0<strong>Repair<\/strong>.<\/li>\n<li>Then select the OS, once you are there you&#8217;ll have a command line.<\/li>\n<li>Type Administrator password. If Admin password is blank, just press Enter.<\/li>\n<li>Type\u00a0<strong>fixmbr<\/strong>, and then press Enter.<\/li>\n<li>Restart PC.<\/li>\n<li>Delete Ubuntu Partitions.<\/li>\n<\/ol>\n<p><em>Vista Users:<\/em><\/p>\n<\/div>\n<ol>\n<li>Boot PC with Windows Vista installation disc.<\/li>\n<li>Select a language, a time, a currency, a keyboard or an input method, and then click\u00a0<strong>Next<\/strong>.<\/li>\n<li>Click\u00a0<strong>Repair your computer<\/strong>.<\/li>\n<li>Click the operating system that you want to repair, and then click\u00a0<strong>Next<\/strong>.<\/li>\n<li>In the\u00a0<strong>System Recovery Options<\/strong> dialog box, click\u00a0<strong>Command Prompt<\/strong>.<\/li>\n<li>Type Bootrec.exe, and then press Enter.<\/li>\n<li>Delete Ubuntu Partitions.<\/li>\n<\/ol>\n<p>This will also overwrite GRUB with Windows boot loader.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to remove ubuntu from system and use previously installed Windows XP\/ Vista.<\/p>\n","protected":false},"author":1,"featured_media":607,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27],"tags":[339,205],"class_list":["post-603","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux","tag-ubuntu"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":49,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/install-mysql-and-query-browser-in-ubuntu\/","url_meta":{"origin":603,"position":0},"title":"Install MySQL and Query Browser in Ubuntu","author":"Jitendra","date":"May 9, 2010","format":false,"excerpt":"To open the Terminal, go to Application > Accessories > Terminal Type the following command at terminal. $sudo apt-get install mysql-server mysql comes with no root password. To set the root password, type: $mysqladmin -u root password your-new-password $sudo \/etc\/init.d\/mysql restart Install mysql query browser $sudo apt-get install mysql-query-browser After\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/linux\/"},"img":{"alt_text":"Open terminal in ubuntu","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/05\/1-300x245.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":287,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/install-sun-java-6-on-ubuntu-10-04\/","url_meta":{"origin":603,"position":1},"title":"How to Install java on Ubuntu 10 and Ubuntu 11","author":"Jitendra","date":"June 13, 2010","format":false,"excerpt":"Run below command on the terminal of ubuntu to install the JAVA. Ubuntu 10 : Ubuntu 11:","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":58,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/install-avast-antivirus-in-ubuntu\/","url_meta":{"origin":603,"position":2},"title":"Install Avast Antivirus in Ubuntu","author":"Jitendra","date":"May 9, 2010","format":false,"excerpt":"avast! Home Edition is a complete anti-virus package, that is is free for registered home non-commercial users. It contains an on-demand scanner with two interfaces (simple for novices and advanced for experienced users), an on-access scanner with Standard Shield (which protects against execution and opening malware programs) and an embedded\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/linux\/"},"img":{"alt_text":"Open Avast Antivirus in ubuntu","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/05\/1-256x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":291,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/create-cron-job-to-run-php-script-in-cpanel\/","url_meta":{"origin":603,"position":3},"title":"Create Cron job to run PHP Script in Cpanel","author":"Jitendra","date":"June 25, 2010","format":false,"excerpt":"Hi All, Today i just want to share that how to create \u00a0a cron job in Cpanel to run the PHP script. I hope everyone knows that what is Cron job : it is the task schedule in Linux which will run on predefined time interval. its same concept like\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":92,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/install-os-on-flash-drive\/","url_meta":{"origin":603,"position":4},"title":"Install OS From Your Flash\/Pen Drive.","author":"Jitendra","date":"May 11, 2010","format":false,"excerpt":"Simple way to take your Desktop PC into your pocket via USB.","rel":"","context":"In &quot;Tech Tips&quot;","block_context":{"text":"Tech Tips","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/tips\/"},"img":{"alt_text":"Boot menu may vary.","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/05\/Advanced-BIOS-Features.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2274,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/how-to-start-the-tomcat-in-debug-mode-for-debugging-in-eclipse\/","url_meta":{"origin":603,"position":5},"title":"How to start the tomcat in debug mode for debugging in eclipse","author":"Jitendra","date":"June 21, 2011","format":false,"excerpt":"This is the tutorial on How to start the tomcat in debug mode for debugging in eclipse","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=603"}],"version-history":[{"count":0,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/603\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}