Denna tutorial ska take dig varje singel kliva av installerande långt igenom lättretliga Ubuntu 7.04 (lisma), använda Paralleller skrivbords- 3.0 (Byggande 4128) för OS X. Med andra ord även bör dina föräldrar följer along.
Notera: om du söker efter hjälp som installerar Ubuntu 7.10 (modig Gibbon) i paralleller, se denna tutorial.
1. Vem denna tutorial är för
2. Bakgrund
3. Inställning - upp paralleller för Ubuntu
4. Installation av Ubuntu
5. Installera paralleller bearbetar i Ubuntu
Vem denna tutorial är för
Denna tutorial är för någon med en Intel baserad Mac som är nyfiken om Linux - specifikt Ubuntu och har omkring en timme som ska dödas (inte däribland tiden som den tar till nedladdningen Ubuntu).
Kliver, och screenshots som används för denna tutorial, är specifika till Paralleller skrivbords- 3.0 (Byggande 4128) spring på en MacBook som är pro med OS X (10.4.10). Med sagt det, ska de är för den nästan identisk, om du har en Pro Mac, macen kortkortet, MacBook eller någon annan Intel den baserade Apple Mac.
Bakgrund
Ubuntu är en fri öppen källa Linux-baserat fungerande systemet med en frikänd fokuserar på användaren och användbarheten (det bör ”rättvist arbete”). När du avslutar din Ubuntu installation, är ditt system omgående användbart. På det skrivbords- har du en full uppsättning av affärsproduktivitetsapplikationer, internetapplikationer, dra och diagramapplikationer och lekar. För mer information på Ubuntu besök http://www.ubuntu.com/ubuntu.
Som du kan ha märkt, här på Simplehelp rekommenderar vi ofta programvara och 90 något procent av tiden att programvara är fri. Paralleller är inte fria, men det är egentligen värt kosta. Det ska låter dig köra andra fungerande system (lika Ubuntu) på din Mac - utan att måste att oroa om några av dina inställningar för OS X, dokumenterar eller sparar oavsiktligt att tas bort. Och, om du inte gillar Ubuntu, kan du kassera den och bära på något liknande som den händde aldrig.
En annat (ha som huvudämne), gynnar av att använda paralleller är att du kör det annat fungerande systemet (i detta fall Ubuntu) stunder OS X är rinnande. Du behöver inte att starta din dator om igen, varje gång du önskar att koppla från OS X till Ubuntu och vice-versa.
Read more about Parallels here: Parallels Desktop 3.0
Before you start - make sure to download Ubuntu from http://www.ubuntu.com/download. The file you’ll want to download (as of 8/15/07) is ubuntu-7.04-desktop-i386.iso. Also, make sure Parallels Desktop 3.0 is installed.
Setting up Parallels for Ubuntu
- If this is the first time you’re using Parallels, the Wizard will launch automatically. If it’s not the first time you’ve used Parallels, launch the Wizard by selecting File -> New…

- Select Custom and then click the Next > button.

click to enlarge
- In the OS Type: select Linux and in the OS Version: select Other Linux kernel 2.6. Click Next > to continue. NOTE: In the latest version of Parallels, there is an “Ubuntu” choice from the menu. If you’re using the very latest version of Parallels, select it rather than Other Linux kernel 2.6.

click to enlarge
- The amount of memory (RAM) defaults to 256MB. I opted to ‘upgrade’ to 512MB as my MacBook Pro has 2GB. When you’ve made a choice, click Next >.

click to enlarge
- Choose Create a new hard disk image and again, Next >.

click to enlarge
- The default virtual hard disk size will be set to 32000MB (roughly 32GB). If you opt to use an Expanding virtual hard disk, you won’t actually use 32000MB right away, rather, Parallels will allocate space as it’s needed, up to 32000MB. The defaults are a good option. Click Next > after you’ve made your selections.

click to enlarge
- I used Shared Networking as the networking option, but you can make the choice that best suits your needs. Click Next >.

click to enlarge
- Now give this virtual machine a name - anything will do, but something descriptive is always a good idea. If you click the small More Options arrow, you can also choose where the virtual machine files will be stored, and if Parallels should make a shortcut to Ubuntu on your desktop. Click Next >.

click to enlarge
- Here you’ll need to decide if you want to allocate more performance to the virtual machine (Ubuntu in this case) or OS X - when the virtual machine is running. Once you’ve made a choice, click Next >.

click to enlarge
- Click More Options and select ISO image. Then click the Choose… button.

click to enlarge
- Navigate to your Ubuntu .iso file (ubuntu-7.04-desktop-i386.iso), select it and click Open.

click to enlarge
- Make sure Start Linux Kernel 2.6 installation is checked, and then click Finish.

click to enlarge
- Ubuntu will now boot up for the first time.

click to enlarge
- Click inside the Parallels window, make sure that Start or install Ubuntu is highlighted, and hit the enter key on your keyboard.

click to enlarge
- Don’t be at all surprised if the video on your screen seems to go “fuzzy” for a while (20-30 seconds).

click to enlarge
- Ubuntu will start up. Because the .iso file you downloaded is a “Live” image, you can actually play around with Ubuntu right now. If you’re not connected to the Internet…

click to enlarge
- select the Network icon from the far right of the menu bar. Choose Wired Network and you should connect to the Internet via OS X.

Installing Ubuntu
- When you’re ready to install Ubuntu, double-click the Install icon on your Ubuntu desktop.

- Select your language from the list in the left column and click Forward.

click to enlarge
- Choose the city closest to you from the Selected city: list and then click Forward.

click to enlarge
- Select the type of keyboard layout you’d like to use, and then click Forward.

click to enlarge
- Make sure Guided - use entire disk and SCSI1 are both selected (they should be by default).

click to enlarge
- Nothing to import, so click Forward

click to enlarge
- Enter your Name, the name you wish to use to login, a password and whatever you want to call your “Ubuntu computer” in the spaces provided. Once again, click Forward.

click to enlarge
- And now finally, click the Install button.

click to enlarge
- Go get a cup of coffee or your beverage of choice. This can take a while.

- When the installation is complete, choose Continue using the live CD instead of Restart now (because we’ll want to make a few changes before using Ubuntu again).

- Power off Ubuntu by clicking the red “Log off” button in the upper-right corner of your Ubuntu desktop.

- And select Shut Down from the menu.

- Don’t be too surprised if Ubuntu freezes at some point, and the video seems to ’scramble’. Use the keyboard-combo to ‘release’ your keyboard and mouse focus from Ubuntu (it will be displayed in the very bottom left corner of your Parallels window). Use the red square Stop Virtual Machine button to completely power off Ubuntu.

click to enlarge
- Back at your Ubuntu configuration window, click the Configuration link.

click to enlarge
- Select CD/DVD-ROM 1 from the left column. On the right frame of the Configuration Editor, select Use CD/DVD-ROM (instead of Use image file). Click OK.

click to enlarge
Installing Parallels Tools in Ubuntu
- Start up Ubuntu again, and after you get to the Ubuntu desktop, use the keyboard-combo to return your keyboard and mouse focus to OS X. Select Actions from the Parallels menu, and Install Parallels Tools… from the drop-down list.

- You’ll get a warning/about pop-up. Click OK to close it (after you read everything, of course).

click to enlarge
- Back in Ubuntu, a File Browser window will appear. Ignore it for now.

click to enlarge
- Select Applications -> Accessories and finally Terminal.

- Enter the command:
sudo sh /cdrom/parallels-tools.run
and enter your password when prompted. After a few moments you’ll be returned to the command prompt. Make sure that the line above the prompt reads Please restart your Xserver or reboot whole VM, and then close the Terminal window. Press ctrl + alt + delete to restart your Xserver (or use the log out button). Once you sign in again, you should notice that you can move your mouse (and keyboard focus) in and out of the Ubuntu/Parallels window without having to use the keyboard combo.

click to enlarge
{ 7 trackbacks }
{ 41 comments… read them below or add one }
Thank you for an excellent tutorial. I’m new to Ubuntu, to Parallels, and not too experienced with OSX. The tutorial set aside many of my concerns.
I can’t seem to work the terminal. it says it couldnt open it. why is it?
Hi. Thanks a bunch for the tutorial.
When selecting “OS Version”, why select “other linux version 2.6″ instead of “ubuntu” (which i think was available when you wrote this tutorial). What does this effect?
Thanks again,
john
I used the Ubuntu linux option and had no troubles at all. Sound came up, networking — the rest of the tutorial was great, but this little difference didn’t seem to matter.
Using a MBP 2.2 Dual Core with 10.4.10; I am not getting the browser pop at step 3 of the parallels tools install. Can’t mount the CD-ROM either (although it’s connected). Lower right of parallels CD icon states Connect to vmtools-linux.iso and it’s grayed out. So it looks like it’s connected to the right iso. I just can’t mount it for some reason. Using
sudo sh /cdrom/parallels-tools.run
I get
sh: Can’t open parallels-tools.run
when I run mount cdrom I get
mount: can’t find cdrom in /etc/fstab or /etc/mtab
Am I missing something here? I’ve followed these steps exactly three times to no avail. Thanks everyone!
Nevermind. I had to do the extra step of double clicking the .iso in the browser to ‘open’ it I guess. All good now.
excellent tutorial…one of the best. thanks a lot. I am now up and running with ubunto, parallels and OSX
Great guide! Easy to follow and thorough. I’m now happily running Ubuntu on my MacBook.
not working for me. tried 5 times its says boot from hard drive…
I have absolutely no experience with linux
help!!
Thanks for the excellent tutorial! One small troubleshooting tip - the install froze for me on installing an intel “piix” hardware driver. Decreasing the amount of memory allocated to the virtual machine (from 1024 to 512K) solved the problem.
Installing Ubuntu 7.10 on Parallels 3.00 build 5160 gets to a point where it stops installing with this error: The display server has been shut down about 6 times in the last 90 seconds. It is likely that bad is going on. Waiting for 2 minutes before trying again on display :0. I am selecting the Linux OS install and Ubuntu Linux in the install process. I have repeated the install procedure 5 times at least with the same results. I have also tried the Ubuntu Safe Graphics mode install with the same results. Any thoughts?
Mike
This very nice install procedure works for Ubuntu 7.04. But does not seem to work for Ubuntu 7.10.
Mike
Everything works, I just cannot copy/paste between os/x and linux. I have installed 7.10 and not 7.04, would that make any difference?
I am writing this in Ubuntu 7.04.
The tutorials were absolutely superb.
It just worked like it should on a mac!
@Breckenridge:
You’d need to install Parallels Tools - which I’m not 100% sure works in 7.10 yet (I haven’t installed it yet, but will in the next few days). In fact I don’t even have Parallels installed right now (just upgraded to Leopard and haven’t reinstalled everything yet - I decided to wipe my drive and upgrade rather than just update). But I think if you select something like “Tools > Install Parallels Tools” from the Parallels menu, it’ll either work (and then you can copy paste/drag drop files between the OS’s) or it’ll be gray’ed out (because Parallels Tools isn’t ready for 7.10 yet).
Just installed on my nw 24″ iMac. Excellent instructions, and easy as pie. Thanks
P.S. I just installed 7.0.4, which is what I use on my regular Linux machine. I didn’t try 7.10.
Yeah…..the same seems to be happening on my comp as well…..
What’s the trouble??
If you already have another Parallels VM running (say, Windows), at least with Production 3.0, you can’t get the network up in Shared Networking. Bridged Networking for the ubuntu machine makes this all work out ok though, as long as you don’t mind that this will show up on your network as another server alongside your Mac OS X box.
Worked perfect on my MacBook 2GHz 1 G Ram running OSX 10.4.10 running Parallels Build 5610. Thanks a bunch.
Everything seems to work, but not internet. On a macbook pro I can surf wireless using Windows , but not linux (kubuntu 7.04).
How about the kubuntu 7.10 release? why it does not work?
Thank you,
Step
Exellent “walktrough” Thanks alot!!
Great guide, install went fine but unable to get parallels tools to install. I have the same problem as mark s:
sudo sh /cdrom/parallels-tools.run
gives
sh: Can’t open parallels-tools.run
I can see the cdrom in the file browser and terminal but it just wont install. Sounds like it suddenly worked for mark but not for me. Also 1024×768 is highest res available. If anyone has ideas that would be great.
Wow, I was up late trying to get parallels tools installed (see last comment) and I left ubuntu running on my macbook with firefox open. I slept in this morning and when I woke up my girlfriend was using the macbook, still running ubuntu. I said, “oh your using linux, what do you think?” and her response was “Am I?”. She didn’t even realise it wasnt OS X. I’m not making this up.
Brett try sudo sh /cdrom/parallels-tools.run
@ Michael, I’m having the same problem. I haven’t found any solution to it yet - any suggestions from others?
i also face the same mentioned problem with installing parallels TOOLS:
kailash@kailash-laptop:~$ sudo sh /cdrom/parallels-tools.run
[sudo] password for kailash:
sh: Can’t open cdrom/parallels-tools.run
kailash@kailash-laptop:~$
any help? pls reply to kailashamrit@gmx.net
SOLVED PROBLEM:
no.15 of the given instructions above is the solution of the problem. after doing so i could easily install parallels tools…
Bad luck with Ubuntu 7.10 i386 installs with Parallels 3.0.
At first I picked the Linux/ubuntu option with 1gb of ram and 16mb video. The install would freeze while loading the cupsd file. I get this regardless of live or text install mode.
512ram with 4mb of video:
Receives “The display server has been shut down about 6 times in the last 90 seconds” error. Never fixes it self. I get this regardless of live or text install mode.
1gb ram with 16mb of video and amd64 version of ubuntu:
Receives “Your cpu does not support long mode” error. I find it odd since on the ubuntu site, it says to pick that version if you have an intel pc. I get this regardless of live or safe mode.
1gb ram with 16mb of video and i386 alternate version of ubuntu:
Picked text install and success!!
Glad I have Fios to download a new ubuntu OS quickly each time one didnt work or I would have given up a long time ago. I hope this info helps someone.
That will never work. You’ve partitioned the memory!
hi.
when installing tools i get
uncompressing parrallels .. save data bla bla
continue? (yes/no): yes
found xorg version .
installing for xorg.. not found.
and sends me back to the beginning. any ideas ??
After spending about 2 hours trying to solve this problem on my own after running into the same error that everyone else such as:
sudo sh /cdrom/parallels-tools.run
gives
sh: Can’t open parallels-tools.run
My final solution was to not use the Ubuntu Installation CD to access the parellels-tools.run file.
Instead
1. I copied the vmtools-linux.iso file from /Library/Parallels/Tools/vmtools-linux.iso
2. pasted it onto my desktop
3. ran ubuntu in parallels and at the bottom right, I clicked on the CD icon and chose Connect Image. I then selected vmtools-linux.iso
4. restarted ubuntu, and before logging in, I followed these steps
5. Start Ubuntu, wait till X-server starts;
6. Press Ctrl+Alt+Backspace simultaneously;
7. Press Alt+F6;
8. login with your root ID/password
9. Press Control + Option to access mac OS mouse
10. Clicked on Actions > Install Parellels Tools
11. Then I opened the terminal and entered:
cd media/cdrom0/
12. then entered:
sudo sh parellels-tools.run
And then it finally worked. I know there are shortcuts to these steps, but I did it the long way on purpose.
Well, I hope this helps others who haven’t found a solution.
it would help if I spelled Parallels correctly in the file name.
so, be sure to type it out as
sudo sh parallels-tools.run
just a warning to all the Noobs like me out there.
I spent hours on installing everything from 7.04 through 7.10 and everything was working perfectly in Parallels.
But then I had this wonderful idea to upgrade to 8.04 LTS.
NOT A WONDERFUL IDEA
I then suddenly discovered video driver problems and parallels tools just disappeared and I wasn’t able to install them.
So, I’m now having to start all over again with installing 7.04 from the beginning.
Take this lesson learned from me and be sure to find support documents on upgrading to 8.04 before you do it. Because after I did it, I found out that other people were running into this problem.
I did all the steps of installing this via parallels on my Leopard Macbook Pro and then got to the parallels tools step. When it prompts me for my password, I can’t type. I’m not sure if this is just a problem on my computer specifically but no matter what I try it won’t work. Any ideas?
Thanks.
My final solution in the end was to get rid of my Boot Camp partition and then install a free open source PC emulator from Sun Microsystems called Virtual Box http://www.virtualbox.org/ and on that, I installed Ubuntu.
Its useful because I don’t have to reboot my computer in order to use Ubuntu. Plus I can go to full screen mode and it’ll appear as if I’m not using an emulator. The benefits of this is that I can run the latest version of Ubuntu and all of my special function keys work correctly the way they should.
Whoops!, wrong site. o_O
I meant to say that I got rid of Parallels Desktop and then installed the free open source Virtual Box from Sun Microsystems. Its fully operational and has no problems with the latest version of Ubuntu.
Very easy to follow.
Excellent tutorial.
Thank you very much.
Cheers,
Vlado
Sydney, Australia.
thanks a lot, worked fine until end but could not successfully install the parallels tools
thx it is working perfectly but its a bit slow so im ordering the cd and using it on my old toshiba i would have just downloaded it but my toshiba dont have wi-fi so i cant download it on my network
I found the final fix to the xorg problem here:
http://www.macnn.com/articles/08/06/12/parallels.desktop.5608/
Leave a Comment