Kororaa 15 beta – black screen test

After hours of testing on several machines, I was finally able to reproduce the “black screen issue” some users reported with the Kororaa 15 Beta Live image (only on one, my ThinkPad X201). I should mention, this was with a new build which will become Beta2. I almost gave up trying and it wasn’t until the very last boot (when I thought everything was good) that I stumbled across it. So, this could be a red-herring – to me it seems like a kernel issue which might just apply to my laptop.

Anyway, I seem to have narrowed it down to only occurring if I had rebooted my machine, as opposed to powering it off first. If I powered off the machine first before booting the Live image, then it worked perfectly. If I rebooted, it failed.

I would like someone else who had the problem to test this theory for me, to see whether it really is the case (it does not look X related to me). It’s a simple test, just power off your machine, then try the Live DVD/USB.

I will release a new image tomorrow to address some other issues, but I’m not convinced that this issue is completely solved. Of course it could be completely unrelated! :-)

Thanks!
-c

Kororaa 15 beta bug – X not starting

Some users have reported that X (graphical interface) doesn’t start when booting the Live DVD.

Symptoms:
The Live DVD boots to a black screen and the login manager doesn’t display.

Expected results:
The Live DVD boots to the login manager and then to the desktop.

Work around:
When the computer arrives as the black screen you can switch terminals, log in as root and start the appropriate login manager (whether GNOME or KDE).

GNOME:
Alt + F2
root
gdm

KDE:
Alt + F2
root
kdm

I have not yet been able to reproduce this error, so I’m not sure why it’s happening. If you have further information or make any discoveries, please let us know on the forums.

Sorry for the trouble!

Thanks,
Chris

Jindebah – my favourite coffee place

Every morning for the last four years my work colleagues and I have gone up the road for coffee. It’s not just any coffee mind you, it’s the best coffee at The Fresh Roast Coffee House in Mitchell (there’s also the Jindebah Cafe in Cowlishaw St, Tuggeranong).

This is where Quentin and his team import coffee beans from all around the world (plus some grown themselves) and roast them perfectly in-house, winning lots of awards in the process. They have more than fifty different types of coffee available.

Needless to say, I’ve built up a good relationship with Quentin over the years and (with the help of a friend) recently updated their website for them so that they can manage it themselves. Now that I’ve resigned from my position at the National Archives, I won’t be heading into The Fresh Roast Coffee House for my morning coffee, but I will continue to order beans for use with my coffee machine at home.

If you’re looking for the best, freshly roasted coffee in Canberra (they ship all around Australia, free in the ACT) make sure you check out Jindebah. Some of my favourite coffees are:

If you’re looking for a nice Mandehling, I quite like the Sumatran Kudu Mas.

If you’re a decaf person, I quite like the Colombian Excelso.

I’ll miss Quentin and everyone at Jindebah, so thanks for your friendly service over the years. You won’t get rid of me that easily, I’ll certainly be back from time to time to say hello (and down a beautiful cup of the best coffee in Canberra).

-c

Kororaa 15 (Squirt) Beta released

Update: There is a bug on some machines where X doesn’t start. See the blog entry for details and work around. Sorry about that, I’m working on a new Beta release.

The first beta release of Kororaa 15 (codename “Squirt”) has hit the mirrors, and is available for download, in 32 and 64 bit with KDE 4.6 and GNOME 3.

Kororaa 15 Beta desktop - GNOME

The GNOME 3 desktop has a custom theme applied, as well as several extensions to provide an enhanced user experience.

Updated to Fedora Remix 15, it comes with the usual Kororaa extras out of the box:

  • Tweaked KDE 4.6 and GNOME 3 base systems
  • Third party repositories (Adobe, Chrome, RPMFusion, VirtualBox)
  • Firefox as the default web browser (with integration tweaks for KDE)
  • Firefox extensions included (Adblock Plus, Flashblock, Xclear)
  • Microblogging client (Choqok for KDE, Gwibber for GNOME)
  • Full multimedia support (Flash installable)
  • Video editor (Kdenlive for KDE, OpenShot for GNOME)
  • VLC as the default media player
  • KSplice, for rebootless kernel updates
  • Installers for Adobe Flash, AMD/ATI and NVIDIA video drivers
  • SELinux enabled (particularly worthwhile for Flash)
  • English (Australian/British) support & dictionaries

New features:

  • Updated Fedora Remix 15
  • Customised GNOME 3

Known issues

  • KDE: The Kororaa changes to the desktop (like custom application menus) have not been applied, so it has the default layout. However, Firefox is still the default browser and VLC the default video player, etc.
  • GNOME: The 32bit version does not have the desktop changes applied, so it has the default theme and layout (64bit is correct). You can use the GNOME Tweak Tool to enable the file manager to control the desktop, and enable the custom desktop theme. Sorry about that!

We’d love to hear your feedback on the forums, so download it today and let us know! :-)

Thanks!

Using Git to split out code into a new repository

OK, so you have a Git repository which has lots of code in there and you want to split a chunk out into its own repository (perhaps to make it a library). It was a while ago now, but I think this is how I did it, thanks to this howto on GitHub. (Suggestions and corrections welcome!)

First, clone the full current repo:
cd
git clone git://myserver/original-repo
cd original-repo

Split out the current code you want into a separate repo – in my case, the directory “directory-I-want-to-split/” (this will remove everything else, leaving just this code in the master branch). Here I’m using the subdirectory filter, but there are a number of others:
git status
git filter-branch --prune-empty --subdirectory-filter directory-I-want-to-split/ master

Push this repo somewhere else, perhaps local (note, you need the file:/// directive):
mkdir ~/split-repo
cd ~/split-repo
git init
git pull file:///home/chris/original-repo

So now that we’ve split that code out into its own repo, let’s remove it from the existing repo.
cd ~/original-repo
git pull
git reset --hard
git filter-branch --force --tree-filter 'rm -rf directory-I-want-to-split' HEAD

Now clone this into a new, smaller repo (can do magic with unpacking I guess, but this seems easiest way to reduce the size after removing that code).
mkdir ~/new-repo
cd ~/new-repo
git clone file:///home/chris/original-repo

Kororaa 14 (Nemo) released!

Kororaa 14 (Nemo) final been released for download, in 32 and 64 bit with KDE and GNOME. This version is recommended for all new installs, however existing Beta 6 users need not reinstall.

Given that there were no major bugs in Beta 6, this month’s update brings the first final release. Work will now begin on a beta 15 Fedora Remix.

New features:

  • Update to KDE 4.6.3

Bug fixes:

  • Nothing noteworthy

We’d love to hear your feedback on the forums, so download it today! :-)

Thanks!

How to run GNOME’s NetworkManager applet under KDE

KDE’s NetworkManager is a nicely integrated plasmoid, however it is missing some features (particularly ones I need to authenticate to University’s network).

It’s easy to swap out KDE’s plasmoid with GNOME’s more fully featured NetworkManager applet. Simply remove the KDE one, install GNOME’s one, tell it to start on login, then just log out and back in!

Remove and install:
sudo yum erase kde-plasma-networkmanagement
sudo yum install NetworkManager-gnome

Then go to System Settings, load Startup and Shutdown module to add the applet to Autostart. Simply click Add program and type:
nm-applet --sm-disable

Log out and back in and you’re away!

Kororaa 14 (Nemo) Beta 6 released – KDE 4.6, Synaptic, more

Kororaa 14 (Nemo) Beta 6 has been released for download, in 32 and 64 bit with KDE and GNOME. This version is recommended for all new installs.

New features:

  • KDE 4.6
  • Cleaned up application menus
  • Added Synaptic package manager
  • Slide show backgrounds

Bug fixes:

We’d love to hear your feedback on the forums, so download it today! :-)

Thanks!

Elementary OS released, and it’s awesome

Daniel Foré and the Elementary team have finally released the long awaited Elementary OS, codenamed Jupiter. Kudos!

With Jupiter, we’ve made using your computer extremely easy by including a selection of the best apps designed and programmed by professional artists and developers. We’ve also simplified the whole experience to make things easy and beautiful.

Elementary OS desktop

It’s an Ubuntu based distro with Elementary’s cool new apps like Postler, their lightweight mail client. Naturally, it also comes with Elementary’s take on Nautilus and uses the Elementary theme and icon set (just like Kororaa!). It’s light, and it’s fast.

I wrote an article about Elementary for Linux Magazine last year and I’m very proud of Dan and the team for what they have achieved. Dan started using Linux after trying out the original Kororaa Live CD and was amazed by it. So you see, I have a special tie to the project :-)

Check it out, it’s definitely worthwhile!

Linux on Mac with multiple drives – by Larry Edwards

Larry has been following my original post about running Linux on a Mac Pro with multiple drives, and had some dramas himself. He kindly posted his findings in a comment on that thread, so I’m re-posting them here as they might be helpful for someone else.

Here’s a short how-to on installing Linux (running under BIOS emulation) on a Mac Pro with multiple disks. I’ve done this with both RHEL6 and Kubuntu 10.10. RHEL6 requires a third party tool, Kubuntu does not.

One thing to note is that fan control under Linux is less sophisticated than under OS X. Under OS X, my Mac Pro is usually almost silent, whereas with both Linux versions, the fans are always quite noticeable, although not as loud as my old Dell PC.

My setup:

2010 2.66 GHz 12 Core Mac Pro
4 disks, the disks in the first two drive bays make up a RAID mirror
Mac OS X 10.6.6 installed on the RAID mirror

Goal: install Linux, in particular RHEL6, on the disk in the 3rd drive bay of my Mac Pro

WARNING: mistakes or errors in the following can cause you to lose all your data. Follow the procedure at your own risk, and backup any and all disks that contain data that matters to you. This worked for me, it may not work for you.

Preliminary Preparation for RHEL6 (you’ll need Xcode installed)
————————————————

1) Download the rEFIt 0.14 source code:

http://sourceforge.net/projects/refit/files/rEFIt/0.14/refit-src-0.14.tar.gz/download

2) Move the downloaded tar file to some place reasonable and double-click to extract the archive contents. This should create a refit-src-0.14 directory.

3) Open a terminal and go to the refit-src-0.14/gptsync sub-directory.

4) Compile the source code: make -f Makefile.unix

If you have the 10.4 SDK installed, this will fail and you’ll have to edit Makefile.unix, commenting out lines that refer to:

/Developer/SDKs/MacOSX10.4u.sdk.

5) This should create two executables:

gptsync
showpart

6) Now in the terminal, sudo tcsh (or sudo bash) to get admin privileges, and move the executables to somewhere useful, e.g., /usr/sbin.

Procedure for installing RHEL6
———————–

1) Run the “Boot Camp Assistant” app. At the “Create or Remove a Windows Partition” dialog select the disk you will use for Linux, press “Continue” (“Erase and Create a Single Partition for Windows” should be the only possible action) and enter an administrator username/password. When you get to the “Start Windows Installation” dialog, press the “Quit & Install Later” button and exit the program.

Using Boot Camp Assistant is probably not really necessary, everything it does should be possible with “diskutil” and “gpt” command line tools. I use it because it quickly puts the disk in a known correct state.

2) Run the “Disk Utility” app. Select the disk you just initialized with Boot Camp Assistant and select and delete the large Windows MS-DOS (FAT) partition.

At this point you have two options, one: 1) use the Disk Utility app (or diskutil command line tool) to create the desired partition layout for Linux, or 2) create the partition layout within the Linux installer. I assume the latter in the following.

3) Reboot, booting off the RHEL6 installation disk (I used a DVD).

4) Proceed with the installation and when it comes time to partition the disk, choose “Create Custom Layout”. In the free space on your intended Linux disk, create the desired partition layout. I’ve had success with a Linux+swap partition layout (i.e., “/” and swap), a boot+Linux+swap layout, and LVM.

5) When the RHEL6 installation is finished, reboot into Mac OS X.

6) Open a terminal and sudo tcsh or sudo bash to get admin privileges. To determine which device is associated with your Linux disk, run:

diskutil list

Note: the device associated with a specific disk changes across reboots in Mac OS X!

From the commandline run:

gptsync /dev/diskN

where /dev/diskN is the device associated your Linux disk. If you created a Linux+swap partition layout you should see output similar to:

Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 411648 3848329215 Basic Data
3 3848329216 3907028991 Linux Swap

Current MBR partition table:
# A Start LBA End LBA Type
1 1 3907029167 ee EFI Protective

Status: MBR table must be updated.

Proposed new MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 * 411648 3848329215 83 Linux
3 3848329216 3907028991 82 Linux swap / Solaris

May I update the MBR as printed above? [y/N]

Type ‘y’ and hit return.

That’s it. Your Linux disk should now be an option appearing as “Windows” when you hold down the option key on boot.

NOTE: I occasionally experience a hang after selecting the RHEL6 disk and initiating the boot. There is a short amount of disk activity, and then nothing. The grey screen with the disk icons remains up. I’ve never seen this with Kubuntu, just RHEL6. RHEL6 uses an older GRUB version, so possibly a GRUB bug, although I see a similar problem mentioned in forums on dual booting Windows on Macs (e.g., http://www.insanelymac.com/forum/index.php?showtopic=201737)

Procedure for installing Kubuntu/Ubuntu 10.10
————————————-

For Kubuntu/Ubuntu installation, you don’t need the rEFIt gptsync. The following describes a Kubuntu 10.10 install, I assume Ubuntu 10.10 is essentially identical.

1) Initialize the Linux disk as with RHEL6, but after you delete the Windows partition created by the Boot Camp Assistant app, in the Disk Utility app, create the desired Linux partition layout in the free space. I’ve only tried a Linux+swap layout, but others should work. I usually select the ExFat format for the partitions because that seems to allow more flexibility in sizing than, say, MS-DOS FAT (the format shouldn’t be critical since it will be changed below). Alternatively, use the diskutil command line tool to create the partition layout.

2) Reboot using the Kubuntu 10.10 install disk and proceed with the installation.

3) At the “Allocate drive space” dialog, select “Specify partitions manually (advanced)”

4) In the “Prepare partitions” dialog, look for the Linux drive. It should contain a small ~200MB EFI partition followed by the Linux and swap partitions you created.

5) Select the partition you want to use as the main Linux partition. A small “Edit Partition” dialog should pop up. Select “Ext4″ from the “Use as:” menu, press the “Format the partition” check-box, and the mount point should be /.

6) Select the partition you want to use as swap. In the “Edit partition” dialog, select “swap area” as the “Use as:” choice.

7) Back at the Prepare partitions” dialog, select the “Device for boot loader installation”. You can choose the disk device, for Master Boot Record (MBR) installation or the Linux partition device for Volume Boot Record (VBR) installation (both seem to work, I usually use the MBR). For example, if your Linux disk is /dev/sdb and your Linux partition is /dev/sdb2, choose the /dev/sdb for MBR installation, /dev/sdb2 for VBR. Then press the “Install Now” button.

8) Continue with the installation till done, and reboot.

That’s it. Your Linux disk should now be an option appearing as “Windows” when you hold down the option key on boot.