ubuntu 15.10 on old macmini 2,1

My macmini 2,1 is a 2007 model macmini and has peculiar configuration. It has a Core2-Duo processor that is 64bit but with a EFI implementation of 32-bit.

I wanted to install Ubuntu MATE 15.10 64-bit (amd64). Two articles helped me a lot.

  1. Ubuntu 15.04 on Mac Mini 2,1 with EFI boot (2007 Intel)
  2. Ubuntu + Mac: Pure EFI Boot

Installation of Ubuntu MATE 15.10 64-bit (amd64):

In the links above, the authors install Ubuntu with a default partition setup (Guided Partitioning option in the installer) where the installer creates 2 partitions (one for holding both root, boot and home and another for swap). However I wanted to install with my preferred partitioning setup as follows:

/boot  ext4 # boot partition
/           ext4  # root partition
swap              #swap partition
/home btrfs #home partition

Few changes that I had to do:

In the manual boot step (manual boot), I had to modify the instructions.

grub> set root=(hd1,gpt2) # my boot partition
grub> linux /vmlinuz«tab».efi.signed root=/dev/sda3
grub> initrd /initrd«tab»
grub> boot

After all the steps were done, I rebooted the system only to find the system report a kernel panic error and was getting booted into a shell as root. Turns out, my HFS+ partition was somehow corrupted in the above process. After fair amount of googling, I tried (as a last resort) the following command (to check and fix disk errors) and rebooted.

# fcsk -f /dev/sda

Success! Finally I was able to boot directly into my Ubuntu on the harddisk.

New Installation of Ubuntu MATE 15.10 64-bit (amd64)

After successful installation and trying out MATE for some time, I tried Cinnamon Desktop. I did not like it much and wanted to reinstall plain original Ubuntu 15.10 (that uses Unity desktop).

I downloaded the image and used UnetbootIn to loaded it on to a USB stick. Like before, I used my own partitioning scheme and installed Ubuntu. The installer warned that ‘EFI-boot’ partition will be absent (due to my custom partitioning scheme and the fact that I am using amd64 bit image on a 32-bit EFI).

I removed the USB stick and rebooted. Upon reboot, the system ran into a grub error and put me into grub rescue shell:

error: file 'grub/i386-efi/normal.mod' not found.
Entering rescue mode ...
grub rescue> _

This was because grub was looking for modules in the wrong place. I had to fix grub by inserting USB stick back, and booting from USB. When the Grub menu  displayed, hit ‘c’ to enter grub command line

grub> set root=(hd1,gpt2)  # my boot partition
grub> linux /vmlinuz«tab».efi.signed root=/dev/sda3
grub> initrd /initrd«tab»
grub> boot

It then successfully booted into my Ubuntu on the harddisk. I then proceeded to install mactel-utils package, install grub into EFI partition (/dev/sda1 mapped into /boot/efi)

sudo add-apt-repository ppa:detly/mactel-utils
sudo apt-get update
sudo /etc/apt/sources.list
sudo vi /etc/apt/sources.list  #since mactel-utils did not have an updated package for 'wily 15.10', manually add sources for mactel-utils to look in 'vivid' release instead of 'wily' 
sudo apt-get update
sudo apt-get install mactel-boot hfsprogs gdisk grub-efi-ia32
sudo mkdir /boot/efi
sudo bash -c 'echo $(blkid -o export -s UUID /dev/sda1) /boot/efi auto defaults 0 0 >> /etc/fstab'
sudo mount /boot/efi
sudo grub-install --target i386-efi --boot-directory=/boot --efi-directory=/boot/efi --bootloader-id="$(lsb_release -ds)"
sudo update-grub

My final disk layout:

$ sudo gdisk -l
Number  Start (sector)    End (sector)  Size       Code  Name
1              40          411647   201.0 MiB   AF00  Apple HFS/HFS+
2          411648          995327   285.0 MiB   8300
3          995328        20996095   9.5 GiB     8300
4        20996096        28995583   3.8 GiB     8200
5        28995584       234440703   98.0 GiB    8300

$ sudo parted -l
Model: ATA Hitachi HTS54161 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name            Flags
 1      20.5kB  211MB   211MB   hfs+            Apple HFS/HFS+
 2      211MB   510MB   299MB   ext4
 3      510MB   10.8GB  10.2GB  ext4
 4      10.8GB  14.8GB  4096MB  linux-swap(v1)
 5      14.8GB  120GB   105GB   btrfs


The problem with Angular – QuirksBlog

The problem with Angular – QuirksBlog.

Status Update by Amazing Things in the World on Facebook

195771_338077742912613_425728840_q.jpgAmazing Things in the World (AmazingThingsInTheWorld)

Posted at 1:10 PM February 2, 2013
on Facebook


It is popular in Japan today to drink water immediately after waking up every morning. Furthermore, scientific tests have proven its value. We publish below a description of use of water for our readers. For old and serious diseases as well as modern illnesses the water treatment had been found successful by a Japanese medical society as a 100% cure for the following diseases:

Headache, body ache, heart system, arthritis, fast heart beat, epilepsy, excess fatness, bronchitis asthma, TB, meningitis, kidney and urine diseases, vomiting, gastritis, diarrhea, piles, diabetes, constipation, all eye diseases, womb, cancer and menstrual disorders, ear nose and throat diseases.

METHOD OF TREATMENT 1. As you wake up in the morning before brushing teeth, drink 4 x 160ml glasses of water

2. Brush and clean the mouth but do not eat or drink anything for 45 minute

3.. After 45 minutes you may eat and drink as normal.

4. After 15 minutes of breakfast, lunch and dinner do not eat or drink anything for 2 hours

5. Those who are old or sick and are unable to drink 4 glasses of water at the beginning may commence by taking little water and gradually increase it to 4 glasses per day.

6. The above method of treatment will cure diseases of the sick and others can enjoy a healthy life.

The following list gives the number of days of treatment required to cure/control/reduce main diseases: 1. High Blood Pressure (30 days) 2. Gastric (10 days) 3. Diabetes (30 days) 4. Constipation (10 days) 5. Cancer (180 days) 6. TB (90 days) 7. Arthritis patients should follow the above treatment only for 3 days in the 1st week, and from 2nd week onwards – daily..

This treatment method has no side effects, however at the commencement of treatment you may have to urinate a few times. It is better if we continue this and make this procedure as a routine work in our life. Drink Water and Stay healthy and Active.

This makes sense .. The Chinese and Japanese drink hot tea with their meals not cold water. Maybe it is time we adopt their drinking habit while eating!!! Nothing to lose, everything to gain…

For those who like to drink cold water, this article is applicable to you. It is nice to have a cup of cold drink after a meal. However, the cold water will solidify the oily stuff that you have just consumed. It will slow down the digestion.

Once this ‘sludge’ reacts with the acid, it will break down and be absorbed by the intestine faster than the solid food. It will line the intestine. Very soon, this will turn into fats and lead to cancer. It is best to drink hot soup or warm water after a meal.

A serious note about heart attacks:

· Women should know that not every heart attack symptom is going to be the left arm hurting, · Be aware of intense pain in the jaw line. · You may never have the first chest pain during the course of a heart attack. · Nausea and intense sweating are also common symptoms. · 60% of people who have a heart attack while they are asleep do not wake up. · Pain in the jaw can wake you from a sound sleep. Let’s be careful and be aware. The more we know, the better chance we could survive… A cardiologist says if everyone who gets this mail sends it to everyone they know, you can be sure that we’ll save at least one life. Please be a true friend and send this article to all your friends you care about.






In hard times, board games flourish. Lucy Farmer finds out which ones sell best, where they came from and why we love them …

From INTELLIGENT LIFE magazine, Winter 2008

“Do not pass Go, and do not collect £200!” shouts Johnny gleefully, as Milly trundles her brassy boot round to Jail. “Not so fast,” pipes up Grandpa as Johnny’s top hat lands on the regal blue of Park Lane, “that’ll be £175 please.” And so goes the familiar scene of the Monopoly game, played out by an estimated 750m people since its launch over 70 years ago. Gone are the days when you could rent a house in Mayfair for £200, but the thrill of emulating Rich Uncle Pennybags, or Mr Monopoly as he is now known, still has us piling up our plastic houses and thumbing our wad of paper money with delight.

In the competitive world of board games, Monopoly is the perennial winner. More than 250m sets have been sold in 103 countries and 37 languages. Everyone who recognises the name will have an anecdote to tell. It inspires a passion that can over-ride old friendships and common decency, as Tim Moore relates in his book “Do Not Pass Go” (2002): “If you’ve played it more than twice, you’ll have seen title deeds fly.”

Monopoly is one of a handful of board games that hold our collective imagination and flick our competitive switch no matter how many times they come out of the box. The staff at Hamleys in London refer to them as “evergreens”. They include Cluedo, Scrabble, Risk and Trivial Pursuit—the conifers of the toyshop that flourish while others wither beside them.

As digital gaming aims for world domination, many fear that it will erode our imagination and send social interaction back to the Stone Age. Others argue that computer games do have their benefits: psychological studies have shown that they can improve hand-to-eye co-ordination and reaction times. Whatever your opinion, there should still be room for unplugged entertainment: games that encourage creativity, problem-solving and the odd altercation between family and friends.

Andrew Kay, a restaurant critic and board-game enthusiast, holds a monthly board-games night with six friends. He says they get the most enjoyment from games that rely on strategy and not just luck, so the competition is fierce but fair. Scrabble is the game that keeps him coming back and has done ever since his initiation at the age of seven. He tells me that it rewards players with clever tactics, not necessarily those with a Shakespearean vocabulary; he even managed to beat his parents sometimes.

MonopolyThe most appealing board games are those that are simple to learn but complex enough to give each player a fair game by hitting the right balance between strategy and luck. For this reason, the British Toy Retailers Association advises that board games are particularly good for intergenerational play. The games are engaging for all the family and educational for the young, even if Cluedo does occasionally result in little Johnny wrenching Professor Plum’s head off with the spanner. When Andy Murray needed to relax in the middle of his drawn-out semi-final with Rafael Nadal at the US Open, he and his girlfriend, mother and assorted coaches went for supper and then played Scrabble.

The ideas for these classic games emerged during the Depression and wartime years, when imaginations were nurtured by the lack of disposable income and readily available entertainment. They were not churned out by manufacturers looking for a quick buck, they evolved from the minds of entrepreneurial men looking for diversion and a means to entertain and exercise the brain. Scrabble was devised in the 1930s by Alfred Mosher Butts, an out-of-work architect from New York. He painstakingly analysed the pages of the New York Times in order to calculate the relative scores for each letter. Cluedo sprang from the forensic mind of a solicitor’s clerk and part-time clown named Anthony E. Pratt from Birmingham in 1944. The iconic Monopoly board (originally with Atlantic City landmarks) was first immortalised on oilcloth at a kitchen table in Philadelphia by Charles B. Darrow in 1933. Hamleys estimate that of the 20-plus board games launched each year, 60% won’t survive more than 12 months on the shelves. It takes something special to be picked year after year for the post-Christmas dinner pastime.

These classic board games are not just household stars. Their fame has spread across the globe and earned them cult status. Scrabble has three world championships every year, one each in English, French and Spanish. Monopoly fans have taken the game to extremes: in 1983 the Buffalo Dive Club played for 1,080 hours underwater. The brands have lent themselves to other media too, such as film, television and online games. Cluedo’s “whodunnit?” theme has spawned tv game shows with contestants solving the murder, and a 1985 film, “Clue”, which features three different endings. Monopoly is even reported to be heading for the silver screen in 2010, in the hands of Ridley Scott.

The cult following is unbreakable, and the spin-off products are successful, but the original games are not left to collect dust. Hasbro has recently adapted Cluedo to give it a shot of 21st-century tabloid culture. No longer will players accuse Colonel Mustard of killing Dr Black with the lead piping in the billiard room, but the culprit could be Jack Mustard, a football pundit, with the trophy in the spa. Risk has updated its warfare tactics in the new Black Ops version. Instead of striving for global domination, players are set the more moderate goal of completing three specific objectives, such as “control Asia” or “take over an entire continent in one turn”. Imperialism is not as attractive as it once was, but surely it can be allowed on a rainy afternoon around the kitchen table.

Manufacturers also reignite interest in the original game by creating anniversary editions and special editions such as Star Wars Trivial Pursuit. Countless versions of Monopoly based on different cities have been released, and in 2008 fans were encouraged to vote for their own city to feature on a new world edition called Monopoly: Here and Now. But does the board-game industry really need a Generation Z makeover?

MASTERMINDManufacturers should not overlook the element of nostalgia that is intrinsic to the appeal of these games, when just mentioning the name can prompt a deluge of fond memories. A dramatic change will erase the joy of this collective experience. When I told friends about the updated version of Monopoly, which replaces the paper money in favour of plastic debit cards and a Visa machine, reactions ranged from anguish to despair. When a group of us were faced with countless editions of Monopoly in the toyshop on a recent trip to Cornwall, which one did we buy? The Nostalgia Edition with the original (London) graphics and the wooden houses.
Andrew Kay talks fondly of the crisp board and well-made counters of the classic games, the tangible authenticity that you’re unlikely to find in a computer game or a piece of plastic: “You feel like you’re getting a lot of game for your box.” Hamleys and Hasbro both report that the original versions are still the bestsellers and show no signs of diminishing. When it comes to family entertainment, the past is not always a foreign country.

Beyond the big-name board games lie many lesser-known gems.
Here are five we can recommend:

Hop into your little car (blue peg for a boy, pink for a girl) and off you speed round the brightly coloured board on your chosen route—either career or university. Your ultimate goal is the millionaire’s mansion or the country cottage (with a bulging wallet) but watch out for life’s hiccups on the way: mid-life crisis, tax and expensive children as you gain more pink and blue pegs. Originally invented in 1861, it’s a satisfying mixture of skill and chance. ~ INGRID ESLING

You place four coloured pegs in a row, hidden from your opponent. They do the same, trying to crack the code. You mark each guess with little sticks—white for right colour in the wrong place, black for right colour in the right place—but they don’t know which peg has earned which stick. Mastermind is minimal, portable, compelling, wordless and good for your powers of deduction. Only two drawbacks: no good for under-eights, and a mildly sinister cover photo. ~ TIM DE LISLE

Simple but effective. The board is the Underground map—circa 1972, so no Jubilee line, let alone DLR. You are a tourist, racing your opponents to visit six landmarks and facing tricky decisions about what routes to take and (as in croquet) how nasty to be to your nearest and dearest. The upshot is that your children get a good grasp of London’s geography, but they may think they have the right to close stations at will. ~TDL

Unlike lesser games, Catan games are based on skill and strategy rather than luck. Dice are involved but each roll matters to every player as the numbers generate the resources required to play. Points can be earned in several ways, so you can play a quiet game and still win. There is no set board; the playing field is created by dealing hexagonal tiles that give you a different game scenario every time. The branding has a Dungeons and Dragons look to it, but don’t worry, there is no role-playing involved, just skill.

Tickets are dealt and players have to achieve the rail routes around Europe by collecting appropriate resource cards and building lines. The snag is that there are many tickets that require the same limited tracks and pretty soon you find yourself diverted. It’s fast (about 45 minutes), compulsive, easy to learn but hard to play well. The card version is easy too, and handy for real travel. ~ AK

Picture credit: Colin Crisford

(Lucy Farmer is an editorial assistant with The Economist and a writer based in London. Her last article for More Intelligent Life was about the new Saatchi Gallery in London.)

Lifestyle Lucy Farmer lifestyle

How Can I Make a Long Plane or Car Ride Suck Less?

How Can I Make a Long Plane or Car Ride Suck Less?

Dear Lifehacker, I’m about to hit the road for to visit family. It’s a really long trip, and since I won’t be driving, I’d like to make the most of t… Read more

6 September, 2012 09:18


Article: Need disposable phone numbers? Burner has you covered

Need disposable phone numbers? Burner has you covered

Sent via Flipboard