help set up virtualbox in ubuntu 8.04?
Posted: Sat Sep 06, 2008 3:27 pm
I'm trying to get virtualbox (vb) running in ubuntu (8.04) following this tutorial. I've posted at the ubuntuforum (post #115, p. 12), but haven't gotten any responses yet, so I thought I'd try my luck here.
I began by downloading virtualbox-2.0_2.0.0-36011_Ubuntu_hardy_i386.deb from the virtualbox website. I installed it by double-clicking the downloaded file. vb shows up in Applications -> System Tools. Since I dual boot already, I'd like to use the XP install that I already have set up rather than run from an iso that I would need to set up again . . . Thus the tutorial I'm following.
Here's my experience so far:
I got to step 2b (like naknak987, page 10, #92). Terminal output was:
I copied/pasted all the commands from the tutorial (so ` is actually ` and not '). The only similarity I can see is that naknak987 and I both specify /dev/sda1 as -partitions 1 whereas many others specify it as -partitions 2. But I swear my XP partition is sda1. Any clues?
EDIT: I tried this (from here; note slightly different approach):
Different error; same result--no VirtualBox . . .
EDIT 2: I tried starting over at Step 1. This is what I get:
Funny thing is, I can't find .VirtualBox in /home/paul/. Funny peculiar, not funny haha . . .
EDIT 3: Oops. I didn't have 'Show Hidden Files' selected . . . But there is no "WindowsXP.mbr" in the .VirtualBox folder. Just 'compreg.dat', 'VirtualBox.xml', and 'xpti.dat'. Help?
EDIT 4: I renamed .VirtualBox to .VirtualBox1 and started over. This time it created a .VirtualBox folder with WindowsXP.mbr in it. I ran the big chunk of "magic" code and got a segmentation fault again. But now the .VirtualBox folder has six files in it: 'compreg.dat', 'VirtualBox.xml', 'WindowsXP.mbr', 'WindowsXP.vmdk', 'WindowsXP-pt.vmdk', and 'xpti.dat' What should I have in there? And any clues as to what I've done wrong? I'd sure appreciate your help.
I began by downloading virtualbox-2.0_2.0.0-36011_Ubuntu_hardy_i386.deb from the virtualbox website. I installed it by double-clicking the downloaded file. vb shows up in Applications -> System Tools. Since I dual boot already, I'd like to use the XP install that I already have set up rather than run from an iso that I would need to set up again . . . Thus the tutorial I'm following.
Here's my experience so far:
I got to step 2b (like naknak987, page 10, #92). Terminal output was:
Code: Select all
paul@T61-CTO:~$ VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/WindowsXP.vmdk -rawdisk /dev/sda -partitions 1 -mbr ~/.VirtualBox/WindowsXP.mbr -relative -register
VirtualBox Command Line Management Interface Version 2.0.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Cannot open replacement MBR file '/home/paul/.VirtualBox/WindowsXP.mbr' specified with -mbr: VERR_FILE_NOT_FOUND
The raw disk vmdk file was not createdEDIT: I tried this (from here; note slightly different approach):
Code: Select all
paul@T61-CTO:~$ VBoxManage internalcommands createrawvmdk -filename ./WinXP.vmdk -rawdisk /dev/sda -partitions 1 -mbr ./myBootRecord.mbr -relative -register
VirtualBox Command Line Management Interface Version 2.0.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Segmentation faultEDIT 2: I tried starting over at Step 1. This is what I get:
Code: Select all
paul@T61-CTO:~$ sudo apt-get install mbr && mkdir ~/.VirtualBox && install-mbr ~/.VirtualBox/WindowsXP.mbr --force
[sudo] password for paul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mbr is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 233 not upgraded.
mkdir: cannot create directory `/home/paul/.VirtualBox': File existsEDIT 3: Oops. I didn't have 'Show Hidden Files' selected . . . But there is no "WindowsXP.mbr" in the .VirtualBox folder. Just 'compreg.dat', 'VirtualBox.xml', and 'xpti.dat'. Help?
EDIT 4: I renamed .VirtualBox to .VirtualBox1 and started over. This time it created a .VirtualBox folder with WindowsXP.mbr in it. I ran the big chunk of "magic" code and got a segmentation fault again. But now the .VirtualBox folder has six files in it: 'compreg.dat', 'VirtualBox.xml', 'WindowsXP.mbr', 'WindowsXP.vmdk', 'WindowsXP-pt.vmdk', and 'xpti.dat' What should I have in there? And any clues as to what I've done wrong? I'd sure appreciate your help.