<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Rajat Arya - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-879bbfda" type="application/json"/><link>http://rajatarya.disqus.com/</link><description>None</description><atom:link href="http://rajatarya.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 13 Mar 2012 22:43:01 -0000</lastBuildDate><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-464773224</link><description>&lt;p&gt;6.5 set vm to use IO APIC&lt;br&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">limme</dc:creator><pubDate>Tue, 13 Mar 2012 22:43:01 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-417243453</link><description>&lt;p&gt;You can't mount a partition in both the guest and host. But there is a workaround using shared folder. Mount the partition in host OS (oreferably) and use it as shared folder in guest OS.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">banavara</dc:creator><pubDate>Fri, 20 Jan 2012 23:39:37 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-372920407</link><description>&lt;p&gt;Can both your main OS and the virtual machine both access your data partition (partition 3) at the same time? If so how? This is exactly what I've been looking for.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fixion</dc:creator><pubDate>Sat, 26 Nov 2011 16:40:44 -0000</pubDate></item><item><title>Re: obaclient</title><link>http://www.rajatarya.com/projects/obaclient#comment-362171922</link><description>&lt;p&gt;Sorry for the long delay, I just migrated to code to github, so please grab it/fork it from there: &lt;a href="https://github.com/rajatarya/obaclient" rel="nofollow"&gt;https://github.com/rajatarya/o...&lt;/a&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rajat Arya</dc:creator><pubDate>Sun, 13 Nov 2011 00:09:09 -0000</pubDate></item><item><title>Re: obaclient</title><link>http://www.rajatarya.com/projects/obaclient#comment-362171726</link><description>&lt;p&gt;Sorry for the incredibly long delay in responding Grant/Carter. I have finally migrated the current implementation to Github, please feel free to contribute to it/for it from here: &lt;a href="https://github.com/rajatarya/obaclient" rel="nofollow"&gt;https://github.com/rajatarya/o...&lt;/a&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rajat Arya</dc:creator><pubDate>Sun, 13 Nov 2011 00:08:20 -0000</pubDate></item><item><title>Re: obaclient</title><link>http://www.rajatarya.com/projects/obaclient#comment-360457593</link><description>&lt;p&gt;Sorry for long delay in replying. I should have this posted to github within a few days. Just need to clean it up so my api_key isn't in the code and have that loaded from the config file/etc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rajat Arya</dc:creator><pubDate>Thu, 10 Nov 2011 19:02:34 -0000</pubDate></item><item><title>Re: boxee Installed on Apple TV – the little box comes to life</title><link>http://www.rajatarya.com/technical/boxee-installed-on-apple-tv-the-little-box-comes-to-life#comment-357333481</link><description>&lt;p&gt;The Apple TV Support Page helps with troubleshooting, tutorials, service, and information for new users. specifications for Apple TV, including size and weight, processor, storage, ports, TV compatibility, and more.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Apple Tech Support</dc:creator><pubDate>Mon, 07 Nov 2011 00:54:15 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-341776446</link><description>&lt;p&gt;I am getting errors when I run your 5th step. It says that -register is an invalid argument. I'm using Ubuntu 11.10 and VB 4.1.4, so I'm guessing the -register argument has been deprecated. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Nobile</dc:creator><pubDate>Sun, 23 Oct 2011 01:36:32 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-305062916</link><description>&lt;p&gt;Great Post, many thanks.&lt;br&gt;I did it all step-by-step and all went smooth up to the point 6.&lt;br&gt;When trying to create a new virtual machine in the VB it refuses to pick up the created win7.vmdk file with the following error/.&lt;/p&gt;

&lt;p&gt;Any idea what I'm doing wrong?&lt;/p&gt;

&lt;p&gt;p, li { white-space: pre-wrap; }&lt;/p&gt;

&lt;p&gt;p, li { white-space: pre-wrap; &lt;br&gt;Failed to open the hard disk /home/xxx/win7.vmdk.&lt;br&gt;The medium '/home/xxx/win7.vmdk' can't be used as the requested device type.Deatails show the following:&lt;br&gt;p, li { white-space: pre-wrap; }&lt;/p&gt;

&lt;p&gt;Result Code: &lt;br&gt;NS_ERROR_FAILURE (0x80004005)&lt;br&gt;Component: &lt;br&gt;Medium&lt;br&gt;Interface: &lt;br&gt;IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}&lt;br&gt;Callee: &lt;br&gt;IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">N Milyaev</dc:creator><pubDate>Thu, 08 Sep 2011 11:56:02 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-297532965</link><description>&lt;p&gt;It is a BAD BAD idea to add yourself to group disk.  Many bad things can happen and it would be a great vector for viruses.  Create a new user, add them to the group disk and then run the vm as that user.  Here is my script (based on another found on virtualbox) that automates this.  Just create the user virtualbox and use this script.&lt;/p&gt;

&lt;p&gt;#! /bin/bash&lt;br&gt;# Windows 7 VM boot script for VirtualBox 4.x-- you'll have to always use it instead of running VirtualBox&lt;br&gt;VBUSER=virtualbox          # name of custom account created (which is a member of disk group)&lt;br&gt;VM_NAME=Win7           # name of virtual machine&lt;/p&gt;

&lt;p&gt;wait_for_closing_machines() {&lt;br&gt;RUNNING_MACHINES=`sudo -u $VBUSER VBoxManage list runningvms | wc -l`&lt;br&gt;if [ $RUNNING_MACHINES != 0 ]; then&lt;br&gt;sleep 5&lt;br&gt;wait_for_closing_machines&lt;br&gt;fi&lt;br&gt;}&lt;/p&gt;

&lt;p&gt;sudo chown -R $USER:users /home/$USER/.VirtualBox    # make sure $VBUSER will be able to access VirtualBox settings etc.&lt;br&gt;                                                     # we use sudo because $VBUSER creates files with its ownership on previous runs&lt;br&gt;sudo chmod -R g=u /home/$USER/.VirtualBox                 # $VBOXUSER permissions should be the same as ours&lt;br&gt;sudo chown -R $USER:users /home/$USER/VirtualBox\ VMs/$VM_NAME    # ditto for VirtualBox VMs directory.&lt;br&gt;sudo chmod -R g=u /home/$USER/VirtualBox\ VMs/$VM_NAME&lt;/p&gt;

&lt;p&gt;xauth extract /home/$USER/cookieTmp $DISPLAY&lt;/p&gt;

&lt;p&gt;chmod g+r /home/$USER/cookieTmp&lt;br&gt;sudo chmod g+x /home/$USER/&lt;/p&gt;

&lt;p&gt;sudo -u $VBUSER XAUTHORITY=/tmp/.Xauthority_$VBUSER xauth merge /home/$USER/cookieTmp&lt;br&gt;rm /home/$USER/cookieTmp&lt;/p&gt;

&lt;p&gt;sudo -u $VBUSER DISPLAY=:0 XAUTHORITY=/tmp/.Xauthority_$VBUSER VBOX_USER_HOME=/home/$USER/.VirtualBox VBoxManage startvm $VM_NAME&lt;br&gt;#sudo -u $VBUSER DISPLAY=:0 XAUTHORITY=/tmp/.Xauthority_$VBUSER VBOX_USER_HOME=/home/$USER/.VirtualBox virtualbox&lt;/p&gt;

&lt;p&gt;echo "Waiting for shutdown of $VM_NAME"&lt;br&gt;wait_for_closing_machines&lt;br&gt;echo "$VM_NAME shutdown. Resetting permissions."&lt;br&gt;sudo chown -R $USER:users /home/$USER/.VirtualBox    # make sure $VBUSER will be able to access VirtualBox settings etc.&lt;br&gt;                                                     # we use sudo because $VBUSER creates files with its ownership on previous runs&lt;br&gt;sudo chmod -R g-rw /home/$USER/.VirtualBox/*                 # $VBOXUSER permissions should be the same as ours&lt;br&gt;sudo chown -R $USER:users /home/$USER/VirtualBox\ VMs/$VM_NAME    # ditto for VirtualBox VMs directory.&lt;br&gt;sudo chmod -R g-rw /home/$USER/VirtualBox\ VMs/$VM_NAME&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark</dc:creator><pubDate>Mon, 29 Aug 2011 00:01:03 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-296345959</link><description>&lt;p&gt;I'd really love to try this, but before I do - how much of this might be different in VirtualBox 4.1.2 (it's been a while)?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Xerebus</dc:creator><pubDate>Fri, 26 Aug 2011 23:04:10 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-256053043</link><description>&lt;p&gt;I have been having the same issues as apmsylvain - blue screens when trying to boot windows- but am not able to resolve it.  I tried the repair route, but receive the message "Startup Repair cannot repair this computer automatically". I tried changing the controller from SATA to IDE, but had no luck with that either.&lt;/p&gt;

&lt;p&gt;The host is Ubuntu 11.04 running Vbox 4.0.12 and the windows version that I am trying to do the raw device map from is Windows 7 64bit.&lt;/p&gt;

&lt;p&gt;Any suggestions would be appreciated. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JD Trout</dc:creator><pubDate>Mon, 18 Jul 2011 10:58:46 -0000</pubDate></item><item><title>Re: Contact</title><link>http://www.rajatarya.com/about/contact#comment-252680163</link><description>&lt;p&gt;Hi Rajat,&lt;/p&gt;

&lt;p&gt;In your "Taming Windows 7 inside a VirtualBox VM" article.. you do this command:&lt;br&gt;vboxmanage internalcommands listpartitions -rawdisk /dev/sdaFor me, it does not return the 100mb boot partition you spoke of. Only the partition that holds Windows.(I know this partition exists.)&lt;/p&gt;

&lt;p&gt;I only see: &lt;br&gt;Number  Type   StartCHS       EndCHS      Size (MiB)  Start (Sect)&lt;br&gt;1       0x07  12  /223/20  1023/254/63         76215       206848&lt;br&gt;( This is my 80gb SSD drive)&lt;/p&gt;

&lt;p&gt;So my question would be, is this possible to do without writing the MBR?&lt;/p&gt;

&lt;p&gt;Thanks for your time!&lt;br&gt;Chad Essley&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chad Essley</dc:creator><pubDate>Fri, 15 Jul 2011 07:38:16 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-230382911</link><description>&lt;p&gt;Doesn't matter which one you use tbh, the point is to run the startup repair option which simply overwrites the mbr with a vista/win7 compatible bootloader. Both vista and win7 install / repair disks will work fine.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Priest</dc:creator><pubDate>Mon, 20 Jun 2011 12:37:29 -0000</pubDate></item><item><title>Re: obaclient</title><link>http://www.rajatarya.com/projects/obaclient#comment-222175126</link><description>&lt;p&gt;I was thinking of working on a python OBA app for Maemo. I may dig around in your code then. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Grant McWilliams</dc:creator><pubDate>Thu, 09 Jun 2011 03:29:55 -0000</pubDate></item><item><title>Re: obaclient</title><link>http://www.rajatarya.com/projects/obaclient#comment-210147112</link><description>&lt;p&gt;This looks handy! Is there a download option for it? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CarterButaud</dc:creator><pubDate>Mon, 23 May 2011 19:20:14 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-203182606</link><description>&lt;p&gt;Thanks for your help, other guides didn't mention the trick of creating an MBR file. Now I managed to boot (this way I bypass GRUB and don't get an error. I'm at the 7th step. I have Win 7 x64. Why do you mention Vista DVD? You seem to have also a Win7. I don't have an installation CD, how can I overcome this step?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Csaba Toth</dc:creator><pubDate>Fri, 13 May 2011 14:24:54 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-179759864</link><description>&lt;p&gt;In my case this was caused by wrong bios SATA mode setting.  I installed windows 7 with bios SATA mode set to RAID so windows installed only RAID drivers.  Since VM is using AHCI mode to access harddisks, windows doesn't have proper driver installed for it. Microsoft has made a fix for this &lt;a href="http://support.microsoft.com/kb/922976" rel="nofollow"&gt;http://support.microsoft.com/k...&lt;/a&gt;, you must run this fix before changing SATA mode to AHCI or running VM in AHCI. Still I recommend changing the bios setting to AHCÍ before even installing windows.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rainer Apuli</dc:creator><pubDate>Thu, 07 Apr 2011 05:32:35 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-157509185</link><description>&lt;p&gt;BTW&lt;br&gt; HOST  : Ubuntu 10.04 32 bits  &lt;br&gt; GUEST: Windows 7 Pro 32bits&lt;/p&gt;

&lt;p&gt;I added my user to disk group =) No success =S&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tony</dc:creator><pubDate>Mon, 28 Feb 2011 00:18:38 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-157505247</link><description>&lt;p&gt;Hello René,&lt;/p&gt;

&lt;p&gt;    I did everything mr Rajat, mr Ritesh and mr Noramans told us to do in preview posts.  I tryed:&lt;br&gt;     - create a MBR + vmdk image and repair the boot with DVD&lt;br&gt;     - create a vmdk image of my disk and a specific grub for boot only W7&lt;br&gt;     - create a vmdk image of my disk with my original grub support (and choose W7 manually) &lt;/p&gt;

&lt;p&gt;    Summarizing... I tryed everything that is told here but no success. The "Starting Windows" screen forever persists. :S&lt;/p&gt;

&lt;p&gt;    I think the problem is with Windows7 because in all cases I booted the base system, but it stops the execution on Starting screen. I tryed to run MergeIDE on W7 because I read in some place that some registries need to be changed. But the result was the same.&lt;/p&gt;

&lt;p&gt;   Any idea?&lt;/p&gt;

&lt;p&gt;Tony&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tony</dc:creator><pubDate>Mon, 28 Feb 2011 00:15:37 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-156122165</link><description>&lt;p&gt;Great post!!! But I tryed everything and the best I acchieved was a Starting Windows screen running forever.. :S&lt;br&gt;Any tip? I'm running dualboot with Windows 7 Pro 32bits and Ubuntu 10.04 32bits, with VirtualBox 4.0.4.&lt;/p&gt;

&lt;p&gt;Before you ask me to change the VB version I advice you that I've already it done... I tryed 3.12, 3.10 and 3.8 build releases, and OSEs too.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br&gt;Tony&lt;br&gt;------------------&lt;br&gt;Here are some extra informations:&lt;br&gt; $  fdisk -l /dev/sda&lt;br&gt;Disk /dev/sda: 500.1 GB, 500107862016 bytes&lt;br&gt;255 heads, 63 sectors/track, 60801 cylinders&lt;br&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br&gt;Sector size (logical/physical): 512 bytes / 512 bytes&lt;br&gt;I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br&gt;Disk identifier: 0x08000000&lt;br&gt;   Device Boot      Start         End      Blocks   Id  System&lt;br&gt;/dev/sda1               1          14      112423+  de  Dell Utility&lt;br&gt;/dev/sda2   *          15        1292    10258432    7  HPFS/NTFS&lt;br&gt;/dev/sda3            1292       12118    86961668+   7  HPFS/NTFS&lt;br&gt;/dev/sda4           12118       60802   391053313    5  Extended&lt;br&gt;/dev/sda5           12118       59676   382009344   83  Linux&lt;br&gt;/dev/sda6           59676       60802     9042944   82  Linux swap / Solaris&lt;/p&gt;

&lt;p&gt; $ VBoxManage internalcommands listpartitions -rawdisk /dev/sda&lt;br&gt;Number  Type   StartCHS       EndCHS      Size (MiB)  Start (Sect)&lt;br&gt;1       0xde  0   /1  /1   13  /254/63           109           63&lt;br&gt;2       0x07  14  /5  /56  1023/254/63         10018       225280&lt;br&gt;3       0x07  1023/254/63  1023/254/63         84923     20742144&lt;br&gt;5       0x83  1023/254/63  1023/254/63        373056    194666496&lt;br&gt;6       0x82  1023/254/63  1023/254/63          8831    958687232&lt;/p&gt;

&lt;p&gt;About partitions:&lt;br&gt; sda2 --&amp;gt; Windows 7 Pro 32bits (RecoveryImage)&lt;br&gt; sda3 --&amp;gt; Windows 7 Pro 32bits&lt;br&gt; sda5 --&amp;gt; Ubuntu 10.04 LTS 32bits&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tony</dc:creator><pubDate>Fri, 25 Feb 2011 15:35:22 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-150440399</link><description>&lt;p&gt;Yup!!! I elaborated more on what Parker explained here:&lt;br&gt;&lt;a href="http://www.researchut.com/site/virtualbox-native-partition" rel="nofollow"&gt;http://www.researchut.com/site...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ritesh Raj Sarraf</dc:creator><pubDate>Thu, 17 Feb 2011 16:19:05 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-148333949</link><description>&lt;p&gt;maybe not so short :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Noramans</dc:creator><pubDate>Wed, 16 Feb 2011 02:46:23 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-148333105</link><description>&lt;p&gt;Thanks D Parker this worked for me but with some minor changes. Since it toke me almost a day to make everythin work I will write some short notes about how I did. &lt;br&gt;1. Add group disk to your user&lt;br&gt;sudo usermod -a -G disk myusername&lt;br&gt;2. Logout to make this change work.&lt;br&gt;3 My partitions is a bit messy but here it is:&lt;br&gt;$ VBoxManage internalcommands listpartitions -rawdisk /dev/sda&lt;br&gt;Oracle VM VirtualBox Command Line Management Interface Version 3.2.8_OSE                                      &lt;br&gt;(C) 2005-2010 Oracle Corporation                                                                              &lt;br&gt;All rights reserved.                                                                                          &lt;br&gt;                                                                                                              &lt;br&gt;Number  Type   StartCHS       EndCHS      Size (MiB)  Start (Sect)                                            &lt;br&gt;1       0xde  0   /1  /1   4   /254/63            39           63                                             &lt;br&gt;2       0x07  5   /25 /21  17  /216/7            100        81920                                             &lt;br&gt;3       0x07  17  /216/8   1023/254/63         79900       286720&lt;br&gt;5       0x83  1023/254/63  1023/254/63         19072    163923968&lt;br&gt;6       0x83  1023/254/63  1023/254/63        196594    202985472&lt;br&gt;7       0x82  1023/254/63  1023/254/63           953    605612032&lt;br&gt;8       0x0b  1023/254/63  1023/254/63          8582    607565824&lt;/p&gt;

&lt;p&gt;$ fdisk -l /dev/sda&lt;/p&gt;

&lt;p&gt;Disk /dev/sda: 320.1 GB, 320072933376 bytes&lt;br&gt;255 heads, 63 sectors/track, 38913 cylinders&lt;br&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br&gt;Sector size (logical/physical): 512 bytes / 512 bytes&lt;br&gt;I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br&gt;Disk identifier: 0x77e3ed41&lt;/p&gt;

&lt;p&gt;   Device Boot      Start         End      Blocks   Id  System&lt;br&gt;/dev/sda1               1           5       40131   de  Dell Utility&lt;br&gt;/dev/sda2   *           6          18      102400    7  HPFS/NTFS&lt;br&gt;Partition 2 does not end on cylinder boundary.&lt;br&gt;/dev/sda3              18       10204    81817600    7  HPFS/NTFS&lt;br&gt;/dev/sda4           10204       38914   230608897    5  Extended&lt;br&gt;/dev/sda5           10204       12636    19529728   83  Linux&lt;br&gt;/dev/sda6           12636       37698   201312256   83  Linux&lt;br&gt;/dev/sda7           37698       37820      975872   82  Linux swap / Solaris&lt;br&gt;/dev/sda8           37820       38914     8787968    b  W95 FAT32&lt;/p&gt;

&lt;p&gt;4. Partition 5 is not required at the end but before the grub image is created the native grub have to know about partition 5 when booting over vm. &lt;br&gt;$ VBoxManage internalcommands createrawvmdk 2.-filename /home/mans/virtualbox/win7.vmdk -rawdisk /dev/sda -partitions 2,3,5 -register &lt;/p&gt;

&lt;p&gt;5. This is all the steps to create a grub image that then can be mounted over vbox. I never managed to understand how D Parker created a floppy image with grub since grub-mkrescue seem to have removed that option.&lt;/p&gt;

&lt;p&gt;mkdir iso&lt;br&gt;cd iso&lt;br&gt;mkdir -p boot/grub&lt;br&gt;cd boot/grub&lt;/p&gt;

&lt;p&gt;#disable all boot options except windows 7 option&lt;br&gt;sudo chmod -x /etc/grub.d/10_linux&lt;br&gt;sudo chmod -x /etc/grub.d/20_memtest86+&lt;/p&gt;

&lt;p&gt;create a new grub.cfg file&lt;br&gt;sudo grub-mkconfig &amp;gt; grub.cfg&lt;/p&gt;

&lt;p&gt;#change the grub options back&lt;br&gt;sudo chmod +x /etc/grub.d/10_linux&lt;br&gt;sudo chmod +x /etc/grub.d/20_memtest86+&lt;br&gt; &lt;br&gt;#create a grub CD image&lt;br&gt;sudo install xorriso&lt;br&gt;grub-mkrescue --modules="linux ext2 fat fshelp ls boot pc ntfs" --output=/home/myusernam/virtualbox/grub2.iso iso/&lt;/p&gt;

&lt;p&gt;6. To add the grub CD image to the Vbox start Vbox and go to File-&amp;gt;Virtual Media Manager and click on CD/DVD image tab and add your newly created grub iso. Click on settings for your windows 7 vm and choose Storage and then add an IDE Controller and select your grub.iso file in CD/DVD Device drop down box.&lt;/p&gt;

&lt;p&gt;Thats it now you can safely run windows 7 both natively and as a guest OS through VBox without worrying about the issue stated by D Parker  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Noramans</dc:creator><pubDate>Wed, 16 Feb 2011 02:45:06 -0000</pubDate></item><item><title>Re: Taming Windows 7 in a VirtualBox VM Using Raw Disk Access</title><link>http://www.rajatarya.com/technical/taming-windows-virtualbox-vm#comment-137531435</link><description>&lt;p&gt;Are you now able to alternate between booting natively and booting in a VM without having to repair?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pareja Mario</dc:creator><pubDate>Mon, 31 Jan 2011 01:16:03 -0000</pubDate></item></channel></rss>
