<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1156847152413091418.post7398930468418697650..comments</id><updated>2010-04-07T09:53:42.540-07:00</updated><category term='virtualization'/><category term='geoportail'/><category term='mail'/><category term='openlayers'/><category term='gpg'/><category term='moche'/><category term='packaging'/><category term='ridicule fail discours'/><category term='macosx'/><category term='bricolage'/><category term='gdal'/><category term='hêtre'/><category term='test'/><category term='D90'/><category term='ridicule'/><category term='mutt'/><category term='70-210'/><category term='woodcrafting'/><category term='dwm'/><category term='exim4 debian orange smtp fr'/><category term='hadopi'/><category term='goban'/><category term='macbook'/><category term='debian'/><category term='firmware'/><category term='vim'/><category term='alpine'/><category term='grub2'/><category term='ign'/><category term='review'/><category term='anéfé'/><category term='urxvt'/><category term='photo cameras en'/><category term='hardware'/><category term='vim tip'/><category term='linux'/><category term='ogr'/><category term='virtualbox'/><category term='tech'/><category term='dvorak'/><category term='dualboot'/><category term='x11'/><category term='vmware'/><category term='howto'/><category term='tutorial'/><category term='gis'/><category term='ssh'/><category term='vim snippets tip'/><category term='terminus'/><category term='chroot'/><category term='rgc'/><category term='samsung'/><category term='API'/><category term='xorg'/><category term='fr'/><category term='android'/><category term='photo'/><category term='vmdk'/><category term='huitres ridicule'/><category term='macosx google nokia contacts sqlite wtf'/><category term='qgis'/><category term='google gmail chrome css macosx'/><category term='unix'/><category term='ppc'/><category term='googlemaps'/><category term='gis ign'/><category term='perso'/><category term='nikon'/><category term='google docs layout css'/><category term='oldschool'/><title type='text'>Comments on Jérôme Andrieux: Setup Virtualbox on MacOSX to boot Linux (Debian) ...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.jardinmagique.info/feeds/7398930468418697650/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default'/><link rel='alternate' type='text/html' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html'/><author><name>Jérôme Andrieux</name><uri>http://www.blogger.com/profile/07182986381963627568</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://lh4.google.com/image/jerome.andrieux/Rl82_wxtEnI/AAAAAAAAABc/RwWAEfYHh2s/jerome.small.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1156847152413091418.post-684171529110887261</id><published>2010-04-07T09:53:42.534-07:00</published><updated>2010-04-07T09:53:42.534-07:00</updated><title type='text'>@Ivan: Thanks !

I should consider rewriting / upd...</title><content type='html'>@Ivan: Thanks !&lt;br /&gt;&lt;br /&gt;I should consider rewriting / updating this whole article to include Steve&amp;#39;s workaround.&lt;br /&gt;&lt;br /&gt;It is worth to mention this setup still works today.&lt;br /&gt;&lt;br /&gt;I haven&amp;#39;t upgraded MacOSX to now Leopard though ...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/684171529110887261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/684171529110887261'/><link rel='alternate' type='text/html' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html?showComment=1270659222534#c684171529110887261' title=''/><author><name>Jérôme Andrieux</name><uri>http://www.blogger.com/profile/07182986381963627568</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://lh4.google.com/image/jerome.andrieux/Rl82_wxtEnI/AAAAAAAAABc/RwWAEfYHh2s/jerome.small.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html' ref='tag:blogger.com,1999:blog-1156847152413091418.post-7398930468418697650' source='http://www.blogger.com/feeds/1156847152413091418/posts/default/7398930468418697650' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-505229530'/></entry><entry><id>tag:blogger.com,1999:blog-1156847152413091418.post-6757783843146357123</id><published>2010-04-07T09:10:13.551-07:00</published><updated>2010-04-07T09:10:13.551-07:00</updated><title type='text'>Excellent blogpost! You may however want to:

1. R...</title><content type='html'>Excellent blogpost! You may however want to:&lt;br /&gt;&lt;br /&gt;1. Replace the test in &amp;quot;Create a VMDK image&amp;quot; step. It is checking for .../Library/VirtualBox folder, instead of checking for .../Library/VirtualBox/HardDisks&lt;br /&gt;2. Change references to /Users/USERNAME/ into ~/. This means people can more easily copypaste the instructions :)&lt;br /&gt;&lt;br /&gt;I&amp;#39;m now tinkering with setting up XP in VirtualBox from my triple-boot Mac :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/6757783843146357123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/6757783843146357123'/><link rel='alternate' type='text/html' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html?showComment=1270656613551#c6757783843146357123' title=''/><author><name>Ivan Vučica</name><uri>http://www.blogger.com/profile/09801850158138970240</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_zyIfwSUC1bE/S1by_a5TCxI/AAAAAAAACT0/2SjQ5ymRIGY/S220/images.jpeg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html' ref='tag:blogger.com,1999:blog-1156847152413091418.post-7398930468418697650' source='http://www.blogger.com/feeds/1156847152413091418/posts/default/7398930468418697650' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-355627214'/></entry><entry><id>tag:blogger.com,1999:blog-1156847152413091418.post-6631919190419146183</id><published>2009-11-22T03:09:02.335-08:00</published><updated>2009-11-22T03:09:02.335-08:00</updated><title type='text'>@Who : Debian is on ext3. There is no *good* to di...</title><content type='html'>@Who : Debian is on ext3. There is no *good* to directly access the filesystem.&lt;br /&gt;For now, I mostly use network FS (SMB/NFS/MacFuse+SSHFS) or mercurial/git for code related files.&lt;br /&gt;&lt;br /&gt;MacOSX support for Linux FS&amp;#39;es is really poor :-/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/6631919190419146183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/6631919190419146183'/><link rel='alternate' type='text/html' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html?showComment=1258888142335#c6631919190419146183' title=''/><author><name>Jérôme Andrieux</name><uri>http://www.blogger.com/profile/07182986381963627568</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://lh4.google.com/image/jerome.andrieux/Rl82_wxtEnI/AAAAAAAAABc/RwWAEfYHh2s/jerome.small.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html' ref='tag:blogger.com,1999:blog-1156847152413091418.post-7398930468418697650' source='http://www.blogger.com/feeds/1156847152413091418/posts/default/7398930468418697650' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-505229530'/></entry><entry><id>tag:blogger.com,1999:blog-1156847152413091418.post-8508986236127335799</id><published>2009-11-15T18:02:32.146-08:00</published><updated>2009-11-15T18:02:32.146-08:00</updated><title type='text'>I&amp;#39;m intrigued as to which filesystems and driv...</title><content type='html'>I&amp;#39;m intrigued as to which filesystems and drivers you&amp;#39;re using here. Is Debian on ext2/3? Are you using fuse-ext2 to access it on OSX? If no, what&amp;#39;s the more elegant solution?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/8508986236127335799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/8508986236127335799'/><link rel='alternate' type='text/html' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html?showComment=1258336952146#c8508986236127335799' title=''/><author><name>Who</name><uri>http://www.blogger.com/profile/16921299716304750810</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html' ref='tag:blogger.com,1999:blog-1156847152413091418.post-7398930468418697650' source='http://www.blogger.com/feeds/1156847152413091418/posts/default/7398930468418697650' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1003287260'/></entry><entry><id>tag:blogger.com,1999:blog-1156847152413091418.post-8984730268179129116</id><published>2009-09-27T23:26:05.528-07:00</published><updated>2009-09-27T23:26:05.528-07:00</updated><title type='text'>Thanks Steve for this feedback. 

Not being famili...</title><content type='html'>Thanks Steve for this feedback. &lt;br /&gt;&lt;br /&gt;Not being familiar with GPT lead me to VMWare but your workaround feels much better :) &lt;br /&gt;&lt;br /&gt;I tried to use the VBoxManage &amp;quot;-mbr&amp;quot; switch without success, with subtles variations.&lt;br /&gt;&lt;br /&gt;Having read the VMWare&amp;#39;s VMDK specs, I guess we could also use &amp;quot;RO&amp;quot; or &amp;quot;NOACCESS&amp;quot; instead of &amp;quot;RW&amp;quot; to reduce risks (though perms on /dev/diskXX should be enough).&lt;br /&gt;&lt;br /&gt;Maybe should you post your comment on :&lt;br /&gt;http://www.virtualbox.org/ticket/1461 !</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/8984730268179129116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/8984730268179129116'/><link rel='alternate' type='text/html' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html?showComment=1254119165528#c8984730268179129116' title=''/><author><name>Jérôme Andrieux</name><uri>http://www.blogger.com/profile/07182986381963627568</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://lh4.google.com/image/jerome.andrieux/Rl82_wxtEnI/AAAAAAAAABc/RwWAEfYHh2s/jerome.small.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html' ref='tag:blogger.com,1999:blog-1156847152413091418.post-7398930468418697650' source='http://www.blogger.com/feeds/1156847152413091418/posts/default/7398930468418697650' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-505229530'/></entry><entry><id>tag:blogger.com,1999:blog-1156847152413091418.post-5009148605075935693</id><published>2009-09-27T09:12:55.071-07:00</published><updated>2009-09-27T09:12:55.071-07:00</updated><title type='text'>Thanks, Jérôme, this works well.

I had to adapt y...</title><content type='html'>Thanks, Jérôme, this works well.&lt;br /&gt;&lt;br /&gt;I had to adapt your instructions a bit. Firstly, I had 5 partitions in the GPT, and MBR only supports 4 primary partitions, so I had to do a pure-GPT set up.  But the raw disk creator tools in both VirtualBox and VMWare Fusion do not seem to work with GPT, so I had to intervene, manually editing the VMDK file.  It was actually not too hard; as a nice side effect, we do not really need to fall back on VMWare anymore.&lt;br /&gt;&lt;br /&gt;Here is what I did:&lt;br /&gt;&lt;br /&gt;Step 1. Using the Disk Utility from Mac OS X, I resized my HFS+ partition, and left free space for Linux.&lt;br /&gt;&lt;br /&gt;Step 2. I booted a Fedora Linux install CD outside of VirtualBox.  Its partition editor understands GPT, so I set up the partitions I want there.  (Disk Utility is too limited for creating partitions for anything other than Mac and Windows.)&lt;br /&gt;&lt;br /&gt;Step 3. After partitioning, I do not install anything yet, but boot back to Mac OS X. I look at the GPT with:&lt;br /&gt;&lt;br /&gt;$ sudo gpt -r show /dev/disk0&lt;br /&gt;&lt;br /&gt;      start       size  index  contents&lt;br /&gt;          0          1         PMBR&lt;br /&gt;          1          1         Pri GPT header&lt;br /&gt;          2         32         Pri GPT table&lt;br /&gt;         34          6         &lt;br /&gt;         40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B&lt;br /&gt;     409640  585675360      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC&lt;br /&gt;  586085000     102400      3  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B&lt;br /&gt;  586187400   52387840      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7&lt;br /&gt;  638575240  338196480      5  GPT part - E6D6D379-F507-44C2-A23C-238F2A3DF928&lt;br /&gt;  976771720       1415         &lt;br /&gt;  976773135         32         Sec GPT table&lt;br /&gt;  976773167          1         Sec GPT header&lt;br /&gt;&lt;br /&gt;Step 4. I make the VMDK file with something like:&lt;br /&gt;&lt;br /&gt;$ VBoxManage internalcommands createrawvmdk -filename Fedora12.vmdk -rawdisk /dev/disk0&lt;br /&gt;&lt;br /&gt;Step 5. Now I open that VMDK file with a text editor, and change the &amp;quot;Extent description&amp;quot; to what was reported from the GPT:&lt;br /&gt;&lt;br /&gt;# Extent description&lt;br /&gt;RW 40 FLAT &amp;quot;gpt.vmdk&amp;quot;&lt;br /&gt;RW 409600 ZERO &lt;br /&gt;RW 585675360 ZERO &lt;br /&gt;RW 102400 FLAT &amp;quot;/dev/disk0s3&amp;quot; &lt;br /&gt;RW 52387840 ZERO &lt;br /&gt;RW 338196480 FLAT &amp;quot;/dev/disk0s5&amp;quot;&lt;br /&gt;RW 1415 ZERO &lt;br /&gt;RW 33 ZERO&lt;br /&gt;&lt;br /&gt;The first 40 LBA sectors in the first entry contains the GPT-related data (1 for the Protective MBR, 1 for the Primary GPT header, 32 for Primary GPT table, and 6 slack, as reported by gpt show). &lt;br /&gt;So does the last 33 sectors (e.g. Secondary GPT table, Secondary GPT header). I did not bother to copy the Secondary GPT data, so I just them to zero.  (This does cause a harmless warning message from the Linux kernel.) For the two GPT partitions I wanted to access with VirtualBox, I put in their Mac OS X device names.  Those devices have to be made readable and writable by your normal user: something like this would do:&lt;br /&gt;&lt;br /&gt;$ sudo chown root:admin /dev/disk0s3&lt;br /&gt;$ sudo chmod g+rw /dev/disk0s3&lt;br /&gt;&lt;br /&gt;Step 6. I copy the real GPT from the hard disk to the file gpt.vmdk mentioned in the extent description:&lt;br /&gt;&lt;br /&gt;$ dd if=/dev/disk0 of=gpt.vmdk bs=512 count=40&lt;br /&gt;&lt;br /&gt;I need to copy 40 LBA sectors since that what gpt show reported.&lt;br /&gt;&lt;br /&gt;Step 6. Now when the VMDK is registered, Linux should happily see the partition table and be able to access the selected partitions. &lt;br /&gt;&lt;br /&gt;Of course, if you ever change the partition layout later, you have to re-do all these steps.  Otherwise the hard disk&amp;#39;s GPT, VirtualBox, and the virtual GPT would disagree on where things are and your data will be corrupted.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/5009148605075935693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1156847152413091418/7398930468418697650/comments/default/5009148605075935693'/><link rel='alternate' type='text/html' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html?showComment=1254067975071#c5009148605075935693' title=''/><author><name>Steve Cheng</name><uri>http://www.blogger.com/profile/17954680060188171374</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jardinmagique.info/2009/08/setup-virtualbox-on-macosx-to-boot.html' ref='tag:blogger.com,1999:blog-1156847152413091418.post-7398930468418697650' source='http://www.blogger.com/feeds/1156847152413091418/posts/default/7398930468418697650' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1814593156'/></entry></feed>
