Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

How to Install Debian on Mac mini

Posted by CmdrTaco on Sun Feb 13, 2005 12:17 PM
from the because-you-can dept.
wikinerd writes "After the hype about Mac mini, a Linux consultant wrote a detailed guide on how to install Debian on Mac mini. The whole procedure takes about an hour, but you will need to erase the hard disk and learn to live without the AirPort Extreme, since it's unsupported. The guide also explains how you can dual-boot with Mac OS X and Debian and gives you ideas on how to set up your partitions."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Yes, but... (Score:5, Funny)

    by prattboy (804069) on Sunday February 13 2005, @12:19PM (#11660057)
    Yes, but can you install Windows on it?
  • OK (Score:5, Funny)

    by Anonymous Coward on Sunday February 13 2005, @12:21PM (#11660081)
    learn to live without the AirPort Extreme

    And iMovie, and iDVD and iTunes and Photoshop and Poser and Bryce and Vue D'Esprit and... wait... why do I want to do this again?

    • Re:OK (Score:4, Informative)

      by lspd (566786) on Sunday February 13 2005, @12:31PM (#11660166) Homepage Journal
      The biggest disappointment is that sound doesn't work yet. In the Ubuntu forums there are some comments [ubuntuforums.org] on forcing the snd-powermac driver to work with the Mini, but I haven't had any luck with it using Debian's 2.6.9 powerpc kernel.
  • Apparently (Score:5, Funny)

    by Primotech (731340) on Sunday February 13 2005, @12:22PM (#11660093) Homepage
    The "because-you-can" department is in overdrive today.
  • by FunWithHeadlines (644929) on Sunday February 13 2005, @12:25PM (#11660116) Homepage
    It's nice to see all the excitement about the Mac Mini, and it is a cool box that is cheap but without cheap parts. But let's remember that a Mac Mini is basically just a Mac in a new box. If you can install Debian onto a Mac Mini, you can do it for any Mac.
  • Debian and OSX (Score:5, Informative)

    by puregen1us (648116) <afwasserman AT yahoo DOT co DOT uk> on Sunday February 13 2005, @12:28PM (#11660140) Homepage
    The main bonus of Debian has always seemed to me to apt.

    I have OSX. I have apt. I just installed fink, and got apt with it. I installed Apple's X11 and I run GNOME in full-screen mode. I like the way it runs with Aqua. The desktop is the same in both. I use LyX a lot, but don't like the Aqua QT version so I use the X11 version with GNOME it works better, but when I click "View DVI" it switches back to Aqua and opens TeXShop because I like that program.

    I love that kind of interoperability. I get the best of both worlds. I can apt-get install stuff, and still get nice OSX software running alongside it.

    If I did want debian on my powerbook I would install Ubuntu. I has a great install process, has a clean desktop even my parents could use, and runs well. But I wouldn't give up my Airport Extreme card for it.
  • by jayloden (806185) on Sunday February 13 2005, @12:30PM (#11660157)
    I can think of a reason right off the top of my head why you might want to install Debian on a Mac. There are plenty of people making comments that this is stupid, but guess what? I like Macs, and I really want a Powerbook, but I'd like Linux on it in addition to OS X for two reasons.

    1) I like Linux, and I like to switch it up sometimes - maybe on Tuesdays I dont feel like running OS X
    2) When I'm working in an all Linux environment, it's often more convenient to have a full Linux OS to test on, work with, and interface with the rest of the system. YES, OS X has BSD under there, but that's not Linux, as any BSD fan will be quick to point out, and there _is_ a difference between being able to fun some linux apps on your OS, and actually having Linux on your machine.

    -Jay
  • Yellow Dog (Score:5, Informative)

    by Phat_Tony (661117) on Sunday February 13 2005, @12:39PM (#11660249) Homepage
    Yellow Dog Linux, based on Fedora Core, also supports [yellowdoglinux.com] Mini Mac already, although they don't support Airport Extreme (yet) either.
  • Use Ubuntu (Debian) (Score:5, Interesting)

    by MarkWatson (189759) on Sunday February 13 2005, @12:45PM (#11660300) Homepage
    The people at Ubuntu [ubuntu.com] start with Debian and package it for end users. I have Ubuntu on 2 of my 3 Macs (but both are dual boot) and except for having to install IBM's PowerPC Java SDK, it was just about ready to go.

    Why run Linux on a Mac? I find that Linux has less to distract me from work. I like to boot OS X to edit video, etc., but for writing (OpenOffice.org) and programming (Eclipse for Java, Python, and C++) there is less fluff on Linux to distract me from my work.
    • Why run Linux on a Mac? I find that Linux has less to distract me from work.

      Yeah, by running Linux on the mac mini, you get to completely avoid the unnecessary distractions of audio, bluetooth, wireless networking, or modems. Plus the screen driver's flickering will keep you from being distracted by smooth, high-quality graphics, and the annoying, error-prone install procedure will prevent you from getting distracted by having software that works, or being distracted by a GUI that doesn't suck.

      Yeah, bo


    • Well that's funny. I feel exactly the opposite about the whole thing. When I want to get work done, I fire up the Mac. Things just work right. It stays out of my way while I complete my work.

      When I want to experiment, play and tinker endlessly with the system (it seems most often to get it working the way it already should, or find another project that works better) I fire up the Linux box. When I want to spend time learning how to get something working or the elements of a project I fire up the Linux box.
  • by mrbarkeeper (560018) on Sunday February 13 2005, @01:14PM (#11660524)
    - A new Mac mini: 500,-

    - A set of Debian CDs: 5,-

    - "Making her new Mac look like her old PC": Priceless!

  • Firewire problem? (Score:4, Informative)

    by Dr.Zap (141528) on Sunday February 13 2005, @01:40PM (#11660723)
    From the article:

    A few odd problems I've discovered:

    * If I plug the firewire port into the firewire port on my PC, it seems to interfere with the PC's power supply. It's like holding down the "reset" button on the PC. This makes it impossible to use "firewire target disk mode" on the Mac Mini.


    However, I'll wager that if he used a 4 pin Firewire cable and it would have worked fine. The 6 pin cable supplys power as well as data, and both the PC and the mini are supplying power. It's probably a ground loop.
  • by Jay Carlson (28733) on Sunday February 13 2005, @02:31PM (#11661179)
    I bought a Mac mini the day it came out because it was the lowest price for a OS X dongle I've seen, and I needed something quiet. The old fanless G3/450 iMac is the loudest machine in the house because it has one of those Maxtor drives that goes "weerrrerrrowwwwwwEEEERERROOWrrrrreeeoor".

    I installed dual-boot Debian testing the day I got the mini, however. (debian-ppc lost my success report mail from weeks ago, so I can't cite precedence over this guy.)

    Why install Linux on an OS X dongle?

    Because it's probably the cheapest new non-x86 machine you can buy. I care about the portability of my software to other architectures, and I can check them on the mini. Also, it's big-endian.

    At some point I'm going to buy a nice Athlon 64 box and run it in pure AMD64 mode. That will give me a sizeof(void *) != sizeof(int) box, and mostly a non-i386 machine. (It's still little-endian, though.) Between the mini and the Athlon 64, I figure I've covered most of the common portability problems, without spending too much money on hardware I can't use for something else like OS X or Halflife 2.
  • by Cap'n Crax (313292) on Sunday February 13 2005, @02:45PM (#11661288) Homepage

    I bought a 17" Powerbook. While I'm fairly happy with it, they are a bit hacker-unfriendly in some respects.

    The UJ-825 "SuperDrive" in mine is RPC-2 with a vengeance, for example. It won't even read the raw data from an out-of-region DVD, making even VNC useless, and it doesn't look like any firmware hacks will be forthcoming.

    Also, because Broadcom will not release specs on the Airport Extreme, no "monitor mode" is available, so passive wardriving is impossible without using a 3rd-party wireless card.

    Maybe someone smarter than me will eventually reverse engineer and fix these problems, but it's not looking too good so far. IMO, Apple needs to get back to it's hacker-friendly roots. [metromac.org]
    • Much less? Mac mini is $500, roughly equivalent to a comparable mini-itx.

      I have an M10000 Mini-itx mobo in my car, and I know the costs. Your message smacks of 'it's a mac, so it's obviously much more expensive'.

      We live in a strange time, with cheap Macs (mini) and iPods (shuffles). We're like one wax seal away from the apocalypse.
    • Re:but why? (Score:3, Informative)

      I built a mini-ITX computer for my wife about a year ago. My specs were 1) Small and 2) Quiet. I used a Ontonashi fanless case from http://www.scythe-usa.com/cooler/epia.htm [scythe-usa.com] to satisfy #2. The only OS installed is Debian unstable. My total cost was $600-700 without CD burning capability. If the Mac-mini had been on the market, I would never have bothered, and I doubt that I would have worked with Debian either (as much as I like if for my use). The mini, with OS-X would have been easier to support, smaller
      • Exactly.

        I've been debating about upgrading my PC since its gotten a bit out of date. In a college dorm room you don't have a lot of space, so I've been looking at mini-ITX cases and all, but the Mac-mini looks like a very good alternative. Its small, fanless (so I can leave it on and work with a silent keyboard without bothering my room-mate too badly), and the price and OS-X are both additional plusses.
    • People who cares about having a 100% open source operative system, instead only a part?
          • Re:Me? (Score:3, Interesting)

            i'd rather have a crappy OSS desktop than a propietary one.

            you and four other people.

            most of us will use the best tool for the job. that is why i use os x AND darwinports. i get the best of both worlds. until iphoto, itunes, and imovie have comprable equivalents on linux then it's a moot point. for me, i need java, perl, mysql, php, and python. hmmm...already there. X11. there. the only real reason i'd need to run lunux is if i was doing kernel development or something x86 specific. and i do
        • No offense, but that makes it sound like you care more about ideology than about functionality.
          Quite, or as RMS would put it, 'care more about freedom than about convenience'.
    • You don't happen to have old hardware around? I have installed debian on two macs and one intel. I can use the same software and share data on all three, no more shareware and tryware notices, and I can keep all machines current, I can experiment with free software packages without fuss (I mean, installing debian is easier than port packages) On my tibookII I have no problems with peripherals (digital cam, firewire hd bought yesterday - gotta repartition it NOW, printer, airport - not extreme, ati radeon),
      • Re:Why ? (Score:3, Informative)

        You don't happen to have old hardware around?

        The latest version of OS X runs great on my Powermac 7600 (early 1996), thanks to a G3 upgrade and XPostFacto [macsales.com]. As long as you have a decent amount of memory, you'll have few problems. 512mb of ram seems to be the "sweet spot"

    • Re:Why ? (Score:3, Insightful)

      i suppose somebody that wants hi quality/quiet/small form factor/sexy/500 dollar PC who prefers linux would.

      i've been thinking of picking one up totally based on the hardware for the price. i want a small quiet machine that isn't made of cheap looking plastic. i don't really want an intel solution (cappuccinopc) or one that is too pricey (hush).

      if i could be sure that i can basically have my cake (minimac) and eat it to (linux) i'm a happy camper and i'm sure steve jobs won't mind me reformatting that d
    • Re:Why ? (Score:5, Informative)

      by kitzilla (266382) <paperfrog@gmai[ ]om ['l.c' in gap]> on Sunday February 13 2005, @05:11PM (#11662337) Homepage Journal
      Honestly, who wants to run Linux on a MAC when they are able to run MacOS-X on it. Doesn't make much sense to me.

      I'm tempted to mod the parent as both overrated a troll, but I'll respond instead. And this is coming from someone who is typing on a dual G5 with two other Macs in view.

      The general answer is that it could be the user simply *likes* Linux or Debian (for a host of reasons that really don't need explanation to most Slashdotters).

      It could also be that the user is philosophically committed to Open Source software, or doesn't have the means or inclination to commit to an OS that doesn't come bundles with something as basic as a decent FTP client.

      It could be the user has older Mac hardware that feels sluggish with OS X. Apple has done good work optimizing OS X since its first release, but it's still pretty heavy.

      It could be that the user is building a server and has no need for the desktop goodness of OS X.

      It could be that the user was given or acquired a Mac box cheaply, but is committed to Linux.

      It could be that the user has acquired a Mac without an operating system, and finds the investment in Panther unaffordable.

      In the case of the Mac Mini, it could be the user has need of Linux in a small form factor.

      It could be that the user has a Linux application need and wishes to take advantage of the PPC platform's modest power and cooling requirements.

      It could be that the user is committed to Linux, but appreciates Apple's design ethic.

      Really, one could go on and on, but here are a few answers to your question. I suspect, however, your comment was rhetorical.

      It's "Mac," not "MAC," by the way. And there's no dash in OS X.

      • Re:Why ? (Score:4, Informative)

        by Anonymous Coward on Sunday February 13 2005, @12:37PM (#11660227)
        But the Mac mini doesn't *have* a 64-bit PPC. It's processor is a plain old 32-bit G4, not a G5.
      • Re:Why ? (Score:5, Informative)

        by b17bmbr (608864) on Sunday February 13 2005, @01:07PM (#11660466)
        not true at all. my old bondi blue 233mhz/160mb ram runs osx slowly, but yellowdog 3 runs rather well. the only problem is the small hard drive and cd-rom. ppc linux runs rather fast. in fact, my 700mhz G3 ibook dual boots between panther and yellowdog. i use it at school and need the linux partition as os x can't access novell netware servers. now, i'm trying to figure out how to run os x under linux via mac-on-linux. but as for linux/ppc performance, linux wins. as for darwin alone, don't know.
        • I would be surprised if linux wouldn't run great on G5s too. IBM has quite a lot of people working in the powerpc port of linux - and IBM is who makes G5s.
          • Well. Debian on my 200mhz 604e certainly isn't any worse than Debian on my 200mhz Pentium Pro (runs quite good here) - so it will certainly run better on your G3. Key things you might want to do to improve X11 performace is to add an accelerated video card (something stupid like ATi Rage Pro will do).

            For OS X (which unfortunately is out of my league, DUE to the 604e, unless I want to run 10.1) I suggest looking at XPostFacto, which should take care of your installation issues. http://www.opendarwin.org/pro
        • Heck, if you want to measure the filesystems an OS can deal with by the formatting utilities it includes, Apple's taken a GIANT step backwards with OS X. Can't use Disk Utility to format for A/UX, linux, ProDOS, etc. :-|

          Apparently you either haven't heard the horror stories about UFS, or you're one of The Few The Proud The Etc. who've had good experience with it.

          Apt is handy. And a hell of a lot easier to use than software update, ime- with debian, any gui app you have is updated through apt. No going
    • Well, for starters: how much do you know about the Mac hardware? Apparently, very little.

      Slackware, officially, only supports x86 processors.

      The Mac dosen't use an x86 processor.

      Debian, on the other hand, does produce a PowerPC Linux distro.
    • Re:Why? (Score:5, Insightful)

      by slux (632202) on Sunday February 13 2005, @12:39PM (#11660248)
      Is it such an absurd concept for you that some people might actually prefer GNU/Linux to OS X for whatever reason? You can't really get *every* Linux application installed so easily under OS X. At minimum, software installation is easier and the apps tend to integrate better on a Linux desktop.

      Seriously, could someone explain to me why similar remarks about Windows aren't modded up on stories about x86 hardware? What about all the other proprietary UNIX-like operating systems in addition to OS X. Why doesn't every Linux story have a modded up comment about HP-UX, Solaris, Irix and others asking "why use Linux?". What's so special about OS X? Sure, it's a nice OS but in no way is it equal or better than Linux in every possible aspect and for everyone.

      Linux has many things going for it that OS X does not. And even if it didn't, some people would use it just for the freedom [gnu.org]. I personally have an iBook running Ubuntu and my sister is dual booting Fedora & OS X. I also have a friend using debian exclusively on his iBook for many years.

        • Re:Why? (Score:5, Insightful)

          by legirons (809082) on Sunday February 13 2005, @01:34PM (#11660675)
          "What is absurd is that people would buy a Mac Mini to run Linux."

          How is that absurd? It's no worse than buying a PC to run Windows.

          "Why not just buy a Shuttle XPC instead?"

          Because for the same price as the Mac, you'll get a shuttle PC without a motherboard, CPU, memory, disk, or drives. An actual working Shuttle PC, built, to similar specifications will be about $950

          "By not using OS X, you negate the main factor behind buying a Mac in the first place"

          Indeed. Unless your reasons for buying were the price, the size, or the neat design.

          and in so doing significantly reduce its value when compared with equivilently priced PC hardware."

          What equivalently-priced PC hardware? For that price, in a shop, you'll get a beige box PC filled with the cheapest components they could find. Try selling that in 2 years, and compare it to the price of a secondhand Mac Mini then
        • Re:Why? (Score:4, Insightful)

          by Nailer (69468) on Sunday February 13 2005, @04:51PM (#11662201)
          Because a most Shuttle boxes are about six times the size, and look like poo.
          • In the end I find myself more impressed with GNU/Linux.

            This baffles me. Are we talking about the same thing? I'm talking about Linux. I don't know what "GNU/Linux" is. Is it something different?

            a good example of the GNOME desktop integration

            But the pieces only work with each other, not with other applications. There's no interoperability between, say, the piece of Evolution that stores your address book and your chat program.

            I like Psi which is a great Jabber client

            That's fine and all, but it's ki
              • the GNOME suite of applications do interoperate to a point

                That sounds more like an excuse than a feature. Why only to a point? Why is the interoperability incomplete, and why is it only available to other programs in the "suite?" It's obviously possible to do interoperability the right way. Why doesn't Linux have good interoperability?

                for other operating systems there *are no different desktops and accompanying software suites*

                I don't understand. Why would you want to use a different user interface if
    • Re:Why? (Score:5, Insightful)

      by slim (1652) <john.hartnup@net> on Sunday February 13 2005, @12:40PM (#11660260) Homepage
      I guess that's neat and all, but why wouldn't I just install X11 for whatever apps I run that need it, and run everything through OS X?


      Maybe you just don't get on with the Mac UI. Such people do exist. I understand that if you want focus-follows-mouse in Mac OS X, you either get a compromise where it only works on X apps, or you have to spend $40 on third party virtual desktop software.

      Mac Mini is definitely a cuter form factor than anything else out there right now.

      I'm tempted to get a Mini just in order to try out Mac OS X, but I'm dubious enough about Mac OS that having the option to replace it with Linux if I don't like it is a selling point for the hardware.
      • Re:Why? (Score:3, Interesting)

        I'm happy about this not because I don't like OS X, but because it radically extends the potential life of a Mini for me.

        I want to get a Mini and start using OS X as my main (but not only) OS. After living with a 17" Powerbook for a few months, I'm ready to switch - well, switch back anyway, until Win2K I was a Mac guy.

        But if I end up liking it as much as I expect I will, I'll want a dual G5 at some point. Then what would become of the Mini?

        Problem now solved: the Mini would become a Linux development
      • by dr.badass (25287) on Sunday February 13 2005, @02:05PM (#11660968) Homepage
        It seems that with the officially supported version of X11, Apple has made it sound like it expands the functionality of OSX so that it is able to run any app from any *NIX platform.

        Nobody, not even Apple, has said this.

        "Easy to port X11 applications
        With the complete suite of the standard X11 display server software, client libraries and developer toolkits, X11 for Mac OS X makes it even simpler to port Linux and Unix applications to the Mac." -- Apple's X11 Page [apple.com]

        What you might not realize is that there are already a significant number of X11 apps that have already been ported. This is what the OP was basing his statements on.
    • by HuguesT (84078) on Sunday February 13 2005, @01:23PM (#11660588)
      It's simple. You cannot find a PC that is both as small and as cheap as the Mini, even if you build it yourself. Even ITX boards are bigger (and they are slower, amazingly).

      You *can* find faster and (not much) cheaper PCs, but it will be large, ugly, and loud.

    • "Personally, I bought the Mac Mini as a replacement for my girlfriend's aging 1GHz Pentium-III system"

      Aha! Here we have the TRUE purpose of the article: a geek bragging about having a girlfriend. And at a time of the year when most geeks weep silently into the pillow of their twin bed every night, fervently wishing they were Cloud in Final Fantasy IIV.
      • Weep silently? I added the first steps of primitive network play into the RTS I've been working on. The one good thing about Valentine's weekend is that I can always plan on getting work done, because I know I won't be bothered by other people. It's *great!*
    • by prockcore (543967) on Sunday February 13 2005, @02:00PM (#11660918)
      Wow, bad wireless support in a Linux Distro? What next? No major vendor games?

      Wireless support in linux distros is actually quite good these days.

      I'm on an older pismo powerbook that dual boots osx and ydl. I plugged in a dlink 802.11b card and osx didn't see it at all. I ended up paying for a $40 aerocard driver. (There is an opensource driver but it doesn't support wep or wpa for 90% of the cards). Linux did see it and prompted me for the wep key etc.

      Then a year later I got an airport card from work. I plugged it in, and removed the dlink card. OSX made me reconfigure the card, including plugging in my wep key again. Linux asked me if I wanted to migrate my wireless settings over to the new airport. It required 0 setup and "just worked".
      • Actually, some of the _really_ new G5 variants have a newer (liquid?) cooling system. This has to be controlled by the running OS (hence, OS X), otherwise the system actually will burn itself to a crisp. Last I knew, the Linux kernel developers were trying to glean enough information to write kernel support to control this cooling system, so you could run Linux on the systems without turning them into expensive paperweights, but I hadn't heard if they actually worked it out or not.
    • by Macka (9388) on Sunday February 13 2005, @03:08PM (#11661469)

      No SSH server

      Open up the System Preferences app. On the "Internet & Network" row, click the "Sharing" icon. Look down the Services list for "Remote Login" and enable it. Done !

      Autoupdate keeps on telling me I need 40mb of updates for an iPod and I don't own one.

      Highlight the update when it appears in the list, then goto the Update menu option and choose "ignore update".

      Image and font rendering isn't as good as pango/xorg

      You have sky high standards mate. Image & font rendering are stunning on Mac OS X, and from the few pango'd screenshots I can find I can't see any difference

      Expose is nice but more of a gimick than a useful feature

      Huh? You're joking. Try using Mac OS X for some real work and get your screen a bit busy. Multiple terminal app windows, a brower or two, mail, etc and you'll soon discover just how useful it is. Especially if you map the Hot Corners of the screen to the different functions. Parking my mouse pointer in my Top Left corner exposes all app windows in the same group. Top Right exposes everything. Bottom Right exposes the Desktop, and Bottom Left turns on the screen saver.

      I'll give you the point about the DVD Region locking. Discovered that pain in the ass when I went to the USA recently and grabbed a DVD in the airport to keep me amused on the flight back. Only allows you to switch Regions 4 times before you're stuck. Boo hiss :-(

      Don't you think you're being just a touch nit picky with the rest though?
    • I have to say, I personally wouldn't replace Mac OS X with Linux. On the rare occasions where a piece of Linux software really is the best tool for the job (eg. GIMP, Ethereal) it's usually easy enough to get it up and running under Apple's X11.

      Indeed. Maybe back when Macs were running Mac OS 9, or even OS X 10.0 and 10.1, there might have been an advantage to Linux... but since Jaguar came out I've been hard-pressed to come up with a reason to run FreeBSD, let alone BSD's adopted cousin Linux. People talk about running Linux on a Mac laptop and I look at them like they've grown an extra head... Apple's laptops are uninspiring if you don't get to run Apple's software on them.

      If in a few years Ocelot requires more beef than the Mini can provide (unlikely, my daughter's running Panther on a 1999 iMac and it's actually faster than with Jaguar), you'd do way better with Darwin than Linux.

      I can maybe see an advantage to the Mini hardware for a little while, but as soon as someone comes out with a nice slab case for your Mini-ITX boards, maybe 8" by 10" but only an inch thick, why spend more for a less expandible box?
    • Hey, man, so when can I install Windows 3.1 on my new Sony Vaio that came with XP? Sorta the same deal, isn't it?

      Wash your mouth out, sunshine! Round here, Linux is the ultimate OS. Macs are for girls, Windows is for losers. The only reason Linux isn't being used by 101% of the planet is marketing.

      Okay, I'm being ironic, but the prevailing attitude on /. is centered in the ideology of the kernel. The essence of a consistent and usable GUI is usually dismissed as eye candy.