{"id":44,"date":"2008-11-07T13:13:22","date_gmt":"2008-11-07T03:43:22","guid":{"rendered":"http:\/\/www.clearchain.com\/blog\/?p=44"},"modified":"2008-11-07T20:45:44","modified_gmt":"2008-11-07T11:15:44","slug":"freebsd-windows-vista","status":"publish","type":"post","link":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista","title":{"rendered":"FreeBSD &#038; WINDOWS VISTA"},"content":{"rendered":"<p><big>Dual Booting Windows Vista &amp; FreeBSD \/ Linux \/ Some other OS<\/big><\/p>\n<h2><span class=\"mw-headline\">The Problem<\/span><\/h2>\n<p>After installing Windows Vista Enterprise Edition, I very quickly wanted to get back to FreeBSD. As per previous versions of Windows, Vista does a great job of overwriting the Master boot record (MBR). Unlike previous versions of windows, you cannot just install a different boot loader in the MBR &#8211; so I found out the hard way. (It used to be sooo easy\u00a0fdisk \/mbr\u00a0would fix any broken boot sectors, then just install your favourite boot loader).<!--more--><\/p>\n<p>Vista writes a unique disk id in the MBR. This unique id (UID) is used by Vista to determine what disk is what. It does make some sense, Hardware can shift around, but the UID should always be the same. This allows Vista to always know where it&#8217;s files are and to appropriate label drive C: as the correct drive.<\/p>\n<p>Installing another boot loader, however (ie Grub, lilo, the FreeBSD boot0 \/ boot loader \/boot manager) will overwrites the UID in the MBR and Vista fails to load with an error:<\/p>\n<pre>\"unable to access \\windows\\winload.exe\"<\/pre>\n<p>The error message is semi appropriate but very misleading. What it really should say is\u00a0&#8220;I can&#8217;t work out which of my the drives has my files on it hence I can&#8217;t find winload.exe&#8221;.<\/p>\n<ul>\n<li>&#8216;Full details about the UID can be found at:\u00a0<a class=\"external free\" title=\"http:\/\/multibooters.co.uk\/mbr.html\" rel=\"nofollow\" href=\"http:\/\/multibooters.co.uk\/mbr.html\">http:\/\/multibooters.co.uk\/mbr.html<\/a><\/li>\n<\/ul>\n<p><a name=\"Existing_Solutions\"><\/a><\/p>\n<h3><span class=\"mw-headline\">Existing Solutions<\/span><\/h3>\n<p>Out on the web there is many solutions to the dreaded\u00a0winload.exe. Many of them are misleading, some I believe are not even tested. Also many apply to Vista Release Candidate 1 (rc1) which I believe didn&#8217;t required the UID to be present in order to successfully boot. Below is some of the solutions that people say work (but Ifound didn&#8217;t).<\/p>\n<p><a name=\"Using_Grub\"><\/a><\/p>\n<h4><span class=\"mw-headline\">Using Grub<\/span><\/h4>\n<ul>\n<li>Ref:\u00a0<a class=\"external free\" title=\"http:\/\/ubuntuforums.org\/showthread.php?t=358175\" rel=\"nofollow\" href=\"http:\/\/ubuntuforums.org\/showthread.php?t=358175\">http:\/\/ubuntuforums.org\/showthread.php?t=358175<\/a><\/li>\n<li>Ref:\u00a0<a class=\"external free\" title=\"http:\/\/blogs.sun.com\/moinakg\/entry\/vista_and_solaris_express_dual\" rel=\"nofollow\" href=\"http:\/\/blogs.sun.com\/moinakg\/entry\/vista_and_solaris_express_dual\">http:\/\/blogs.sun.com\/moinakg\/entry\/vista_and_solaris_express_dual<\/a><\/li>\n<\/ul>\n<p>Some say grub loading windows with something like:<\/p>\n<pre>Title Vista\r\n  root (hd0,0)\r\n  makeactive\r\n  chainloader +1<\/pre>\n<p>will work &#8211; but grub still over writes the MBR hence the same issue will occur &#8211; though you may be lucky as the grub MBR is really small (and might leave the UID) untouched.<\/p>\n<p><a name=\"Using_gag\"><\/a><\/p>\n<h4><span class=\"mw-headline\">Using gag<\/span><\/h4>\n<p>There&#8217;s reports on a FreeBSD mailing list that\u00a0gag\u00a0will work, thought I&#8217;m running FreeBSD\/amd64 which gag or grub for that matter won&#8217;t compile on. I know I could always install the lib32 compatability distribution to use it but I wanted the default FreeBSD boot loader.<\/p>\n<p><a name=\"Using_the_Vista_Boot_Loader\"><\/a><\/p>\n<h4><span class=\"mw-headline\">Using the Vista Boot Loader<\/span><\/h4>\n<ul>\n<li>Refs:\u00a0<a class=\"external free\" title=\"http:\/\/www.tech-recipes.com\/rx\/2014\/vista_using_bcdedit_boot_up_options_dual_boot_xp_prof'\" rel=\"nofollow\" href=\"http:\/\/www.tech-recipes.com\/rx\/2014\/vista_using_bcdedit_boot_up_options_dual_boot_xp_prof'\">http:\/\/www.tech-recipes.com\/rx\/2014\/vista_using_bcdedit_boot_up_options_dual_boot_xp_prof&#8217;<\/a><\/li>\n<\/ul>\n<p>Many people have given up on trying to use a normal boot loader, and instead use the Vista boot loader.<br \/>\nThe WinXP\/NT bootloader (ntldr &amp; config file boot.ini) have been replaced with files\u00a0winboot.exe\u00a0and\u00a0bcedit.exefor configuration.<\/p>\n<p>Theses commands could be setup to boot other operating systems though your milege may vary.<\/p>\n<p><a name=\"Commercial_Software\"><\/a><\/p>\n<h4><span class=\"mw-headline\">Commercial Software<\/span><\/h4>\n<p>Many people have decided it&#8217;s all too hard and gone and purchased software to handle it for them &#8211; there&#8217;s lots out there<\/p>\n<ul>\n<li>VistaBoot (<a class=\"external free\" title=\"http:\/\/vistabootpro.org\" rel=\"nofollow\" href=\"http:\/\/www.vistabootpro.org\/\">http:\/\/vistabootpro.org<\/a>)<\/li>\n<li>EasyBCD<\/li>\n<\/ul>\n<p><a name=\"Utilities\"><\/a><\/p>\n<h4><span class=\"mw-headline\">Utilities<\/span><\/h4>\n<ul>\n<li>Ref:\u00a0<a class=\"external free\" title=\"http:\/\/www.sysint.no\/en\/Download.aspx\" rel=\"nofollow\" href=\"http:\/\/www.sysint.no\/en\/Download.aspx\">http:\/\/www.sysint.no\/en\/Download.aspx<\/a><\/li>\n<\/ul>\n<p>There is many utilities that claim to fix the issue. One such util is\u00a0MBRFix.exe, this fixes the fact that vista won&#8217;t boot but it will clobber any boot loader you have got installed.<\/p>\n<p><a name=\"The_Fix_.28That_Worked.29\"><\/a><\/p>\n<h2><span class=\"mw-headline\">The Fix (That Worked)<\/span><\/h2>\n<ul>\n<li>Obtained from:\u00a0<a class=\"external free\" title=\"http:\/\/forum.onmac.net\/showthread.php?t=1324\" rel=\"nofollow\" href=\"http:\/\/forum.onmac.net\/showthread.php?t=1324\">http:\/\/forum.onmac.net\/showthread.php?t=1324<\/a><\/li>\n<\/ul>\n<p>The simple fix is to tell Vista that the drive it boots off of will always be the drive it can find its files on. This way you can clobber the UID in the MBR as much as you want and Vista won&#8217;t care. To do this you run:<\/p>\n<pre>BCDEDIT \/set {bootmgr} device boot\r\nBCDEDIT \/set {default} device boot\r\nBCDEDIT \/set {default} osdevice boot<\/pre>\n<p>This can be run from either the Vista repair cd, from within Vista, or from something like<a class=\"external free\" title=\"http:\/\/www.ultimatebootcd.com\" rel=\"nofollow\" href=\"http:\/\/www.ultimatebootcd.com\/\">http:\/\/www.ultimatebootcd.com<\/a> (For Windows).<\/p>\n<p><a name=\"Conclusion\"><\/a><\/p>\n<h2><span class=\"mw-headline\">Conclusion<\/span><\/h2>\n<p>Hence it\u00a0IS\u00a0possible to run Vista with any boot loader that you like &#8211; in my case the FreeBSD boot loader is the one of choice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dual Booting Windows Vista &amp; FreeBSD \/ Linux \/ Some other OS The Problem After installing Windows Vista Enterprise Edition, I very quickly wanted to get back to FreeBSD. As per previous versions of Windows, Vista does a great job of overwriting the Master boot record (MBR). Unlike previous versions of windows, you cannot just<a href=\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista\"> <font size=-2>[..more..]<\/font><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[20,16,17,441,18,19,15],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-freebsd","tag-bcdedit","tag-bootloader","tag-dual-boot","tag-freebsd","tag-grub","tag-mbr","tag-vista"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>FreeBSD &amp; WINDOWS VISTA - ClearChain<\/title>\n<meta name=\"description\" content=\"Dual Booting Windows Vista &amp; FreeBSD \/ Linux \/ Some other OS The Problem After installing Windows Vista Enterprise Edition, I very quickly wanted to\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Benjamin Close\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista\"},\"author\":{\"name\":\"Benjamin Close\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98\"},\"headline\":\"FreeBSD &#038; WINDOWS VISTA\",\"datePublished\":\"2008-11-07T03:43:22+00:00\",\"dateModified\":\"2008-11-07T11:15:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista\"},\"wordCount\":684,\"commentCount\":15,\"keywords\":[\"bcdedit\",\"bootloader\",\"dual boot\",\"FreeBSD\",\"grub\",\"mbr\",\"vista\"],\"articleSection\":[\"FreeBSD\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista\",\"url\":\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista\",\"name\":\"FreeBSD & WINDOWS VISTA - ClearChain\",\"isPartOf\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/#website\"},\"datePublished\":\"2008-11-07T03:43:22+00:00\",\"dateModified\":\"2008-11-07T11:15:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98\"},\"description\":\"Dual Booting Windows Vista &amp; FreeBSD \/ Linux \/ Some other OS The Problem After installing Windows Vista Enterprise Edition, I very quickly wanted to\",\"breadcrumb\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.clearchain.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FreeBSD &#038; WINDOWS VISTA\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/#website\",\"url\":\"https:\/\/www.clearchain.com\/blog\/\",\"name\":\"ClearChain\",\"description\":\"-= Daily Happenings =-\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.clearchain.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98\",\"name\":\"Benjamin Close\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/19dca0aa372edfa901b93c556dfda2e78ad4434558fe4d139598e086315d714a?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/19dca0aa372edfa901b93c556dfda2e78ad4434558fe4d139598e086315d714a?s=96&d=mm&r=pg\",\"caption\":\"Benjamin Close\"},\"sameAs\":[\"http:\/\/www.clearchain.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FreeBSD & WINDOWS VISTA - ClearChain","description":"Dual Booting Windows Vista &amp; FreeBSD \/ Linux \/ Some other OS The Problem After installing Windows Vista Enterprise Edition, I very quickly wanted to","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista","twitter_misc":{"Written by":"Benjamin Close","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista#article","isPartOf":{"@id":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista"},"author":{"name":"Benjamin Close","@id":"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98"},"headline":"FreeBSD &#038; WINDOWS VISTA","datePublished":"2008-11-07T03:43:22+00:00","dateModified":"2008-11-07T11:15:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista"},"wordCount":684,"commentCount":15,"keywords":["bcdedit","bootloader","dual boot","FreeBSD","grub","mbr","vista"],"articleSection":["FreeBSD"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista","url":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista","name":"FreeBSD & WINDOWS VISTA - ClearChain","isPartOf":{"@id":"https:\/\/www.clearchain.com\/blog\/#website"},"datePublished":"2008-11-07T03:43:22+00:00","dateModified":"2008-11-07T11:15:44+00:00","author":{"@id":"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98"},"description":"Dual Booting Windows Vista &amp; FreeBSD \/ Linux \/ Some other OS The Problem After installing Windows Vista Enterprise Edition, I very quickly wanted to","breadcrumb":{"@id":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.clearchain.com\/blog\/posts\/freebsd-windows-vista#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.clearchain.com\/blog"},{"@type":"ListItem","position":2,"name":"FreeBSD &#038; WINDOWS VISTA"}]},{"@type":"WebSite","@id":"https:\/\/www.clearchain.com\/blog\/#website","url":"https:\/\/www.clearchain.com\/blog\/","name":"ClearChain","description":"-= Daily Happenings =-","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.clearchain.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98","name":"Benjamin Close","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/19dca0aa372edfa901b93c556dfda2e78ad4434558fe4d139598e086315d714a?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/19dca0aa372edfa901b93c556dfda2e78ad4434558fe4d139598e086315d714a?s=96&d=mm&r=pg","caption":"Benjamin Close"},"sameAs":["http:\/\/www.clearchain.com"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":4,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"predecessor-version":[{"id":83,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/posts\/44\/revisions\/83"}],"wp:attachment":[{"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}