Linux within OS X?

Discussion in 'OT Technology' started by Peyomp, Jun 9, 2006.

  1. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Can I run Linux, say... Gentoo or some other distro, within OS X via something like Xen?

    I want to be able to use OS X for my OS, but still be able to develop in a linux environment because FOSS development is just SO much easier on Linux than in OS X. Building dependancies can take all day in OS X, in Linux they just work.

    I want a virtual machine running Linux/Apache/MaxDB/Subversion running inside my MacBook. Is this doable?
     
  2. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
  3. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    Parallels is a great product and will do exactly what you want. If I'm not mistaken, though, you need an Intel mac to use it.

    You could also look into QEMU, although I'm not sure it will run on a Mac.

    Edit: On second read, I see you have a MacBook. Get Parallels.
     
  4. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    I don't have one, but I'm getting one next week. I'll grab parallels.

    Any word on performance? My server stuff can lag, so I'd like to be able to set the process priority for the linux side low enough that OS X still flies... but both are usable.
     
  5. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Me excited about purchasing new Macbook Pro.
     
  6. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    From the brief demo I saw of Parallels (the prof I work for bought a MacBook Pro and was showing off Parallels to us), it seems to perform quite well. I haven't played around with it myself, though, so I can't really give a good opinion on it. Seems like a very solid product, though, and (if I'm not mistaken) they have a trial version, so you can always try it out before you buy it.
     
  7. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Got a demo license of RC2 running. Installing Gentoo. Pretty easy to do. This is neat! Now I don't have to worry about downloading a million libraries for this new MacBook... I can just setup Gentoo and use that as our standard server image when I'm done. W00t!
     
  8. JaJae

    JaJae New Member

    Joined:
    Mar 22, 2004
    Messages:
    5,987
    Likes Received:
    0
    You've been telling everyone who wants to run a PC to get a Mac and install Linux on it, and you didn't even know if it was possible?:ugh:
     
  9. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Uhhh... no, I haven't been telling people to get a Mac and install Linux on it. Why the fuck would you do that if you already have OS X? You could dual boot, but not many people have a need for Linux in a Mac notebook that Parallels can't handle. I had intended to dual boot myself (well, tri-boot with XP), but now that I have Parallels, I don't have to. Unless you're doing alot of development that requires it, there's no reason to fuxor with the Linux when you have the OS X.
     
  10. JaJae

    JaJae New Member

    Joined:
    Mar 22, 2004
    Messages:
    5,987
    Likes Received:
    0
    Um.. what thread did you just create?:ugh:

    And there was a guy looking for a PC to do his schoolwork and you told him he really needed a Macbook with Linux installed because Microsoft was useless in the computer science field.:rolleyes:
     
  11. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    only $40??? d/ling now :coold:
     
  12. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    You're not very intelligent. I told him he needs to run a unix. To run either OS X, or get a PC and install Linux.
     
  13. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    Mac OS X and Linux are very popular in the computer science field, both in academia and the industry vendors I have experience with (high performance computing). A Mac would provide most students with the development environment they need for their classes.
     
  14. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    I'm confined to a bed today, I am peeing into a milk jug... guess I should get around to compiling gentoo.
     
  15. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    que?

    and by coincidence, I have re-built my old 2500+ barton (o/c to 3200+ and bone-stock-stable) and am debating between FreeBSD/Darwin/Gentoo to install, today.
     
  16. JaJae

    JaJae New Member

    Joined:
    Mar 22, 2004
    Messages:
    5,987
    Likes Received:
    0
    You're gonna miss and hit the side of your leg today. My magic 8 ball told me so.
     
  17. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    I had to get up to take a dump. How the fuck can one stay in bed for 24 hours?

    Someone was telling me that Gentoo will take more than a day to compile Gnome or KDE. I'm not building either of those but just damn...
     
  18. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    that must have been a REALLY old machine. It takes less than an hour on some decent hardware.
     
  19. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    but then again I've had people tell me 45 minutes for gcc, and I do it in 13.
     
  20. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    why compile gentoo from ground up if this is just a test anyways? Waste of time. Get it working first w/ the binaries. You running it in Parallels?
     
  21. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Its not just a test. I'm going to develop with this install. Yes, it is running in parallels.
     
  22. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    The *only* reason to use gentoo is for it's stage1 install.

    If it's not a stage1, then don't bother.
     
  23. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Wait, I'm doing a stage 3. I guess I ain't compiling shit.
     
  24. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    negative. That is not the *only* reason. Gentoo is nice from a binary stand-point because it only installs what you tell it to. Distros are pretty bloated these days. If I am building a pretty application specific box and don't want a bunch of shit (distro management tools, etc) then I install Gentoo. portage is another reason to use Gentoo, very nice software management system.
     
  25. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    The packages for gentoo are very complete and current, is why I am trying it. And yes, it will only have what I put on it, which is perfect for developing an image to use for servers as part of application development.
     

Share This Page