Debian + Enlightenment on a Macbook Pro
Been spending the last nights trying to make a clean installation of Debian with Enlightenment on my Macbook Pro (mid 2010). The idea was to start with a really basic Debian server, no desktop environment at all, and then go all the way up to having Enlightenment as the window manager; all this, installing just the absolutely necessary software.
- Get your Debian cd. I picked up one of those netinst small CDs (180 mb) since I wanted a really small installation, where I would do all the tweaking afterwards;
rEFItand install it. I suggest that after you install
rEFItyou try first to restart your Mac and verify that you can still login to OSX;
- Open Disk Utility and make that HFS+ partition smaller. No need to create any new partition for linux –
partedwill do that for you later;
- Shove that Debian CD in your Mac and reboot.
As you boot your Mac into the
rEFIt menu, you should see an option there to boot from the CD. Otherwise, just press C when booting and the Mac bootloader will do that for you.
Here’s the things you should pay attention to during the installation:
- Get yourself a network cable so that you can pull new packages from the internet during the installation. You will not have wifi until much later in the process.
- During partitioning, you may see another partition (something like Mac OS Recovery partition) in your disk, besides the OSX partition and the
rEFItpartition. You’ll probably have to delete this one since Linux needs to be on one of the first 4 partitions and the installer will still create another partition after the OSX one.
- When the time comes to install Grub, do not put it on the Master Boot Record - that’s for
If everything goes ok, you’ll end up removing the CD from the drive and rebooting. Now, DO NOT boot into linux yet! While in the
rEFIt screen, first go into the settings screen and synchronize the partition table. Now restart the mac again and now yes, boot into Linux.
So, after you boot into linux, you’ll only have the good old bash. In fact, the system is so basic that you won’t even have
vim (these are kind of standard for me, but you will certainly have your own favorites here).
Now, I’m going to focus on what you have to do to get enlightenment. If you notice you that there’s some other tool you’re missing, just
You’ll start by editing your sources.list and changing your distribution to testing. You’ll need this because (as of writing time) E17 is part of the testing distribution and is not part of stable. I also added to each line there the contrib and non-free repositories, just in case.
apt-get upgrade and
apt-get dist-upgrade. This will take a while. After that is done we get Xorg and E17:
apt-get install xorg e17
You’ll be able to start E17 by running
You’ll notice that E will be very very empty. As in, totally completely empty. But that is what I was wanting to do.
Now I have a clean system where I will install all the things I need and want, and only those. Again, whatever you want to install is your business. There is only one more thing to finish this post and put you in the right track and that is to be able to let go of that cable.
Cutting the cable
Going wireless was by far the thing that took more time so far. Now that I managed to do it, it actually looks pretty simple…
Install wireless-tools to figure out if your network card was found:
apt-get install wireless-tools /sbin/iwconfig
- check what’s under
wlan0. If it’s empty then just read through
apt-get install module-assistant
m-a a-i broadcom-sta
update-initramfs -u -k $(uname -r)
modprobe -r b44 b43 b43legacy ssb
You should now see your network card under
wlan0. Only thing missing is installing an app to connect to your wireless network:
apt-get install wicd wicd-cli wicd-daemon wicd-gtk
In your E menu, under Applications, Network, you’ll find Wicd. Open it and in the preferences make sure that under Wireless interface you have
That should do it.
Now, there’s still a lot to do but this is a good start for a super fresh system, ready to be tweaked.