LMDE on Apple Mac?

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

LMDE on Apple Mac?

Postby finjs on Sat Nov 10, 2012 5:14 am

Hello,

I'd like to install LMDE in a partition on my Apple Mac while keeping the other Mac OS partitions so that I can choose what OS to boot at startup, Mac OS or Linux Mint.

Has anyone tried or done that operation?

Thanks.
finjs
Level 1
Level 1
 
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Linux Mint is funded by ads and donations.
 

Re: LMDE on Apple Mac?

Postby cwsnyder on Sat Nov 10, 2012 8:16 am

I haven't done that operation, but I can see some pitfalls. First, I would use the Mac OS X disk utilities to resize your HFS partitions, as Linux doesn't handle them well. You probably will want to leave at least space for at least an 8G /, 2G swap, and 10G /home, or 2G Swap and 10G / with /home in the / partition for a minimal install with little room for /home folder. Anything smaller and you are looking at a Live install with little or no persistance.

As I stated in the previous paragraph, Linux at present doesn't handle journaling in HFS/HFS+, mounting the volumes read-only, as well as possibly breaking file permissions. For a common file swap area between the two installations, the present recommendation is to use an NTFS partition which one or the other installation will have to check periodically to make sure nothing goes strange in file allocations, since this check is not done to NTFS partitions automatically in either Linux or OS X.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: LMDE on Apple Mac?

Postby finjs on Sun Nov 11, 2012 10:12 am

A lot of information there, Thanks a lot. I've googled on the topic. Apple uses EFI instead of BIOS and it makes matters a bit different. I found out the following article that seems to have addressed the question. It explains how to do the operation with Ubuntu. Yet if LMDE doesn't properly handle HFS/HFS+, it may be impossible to duplicate it with LMDE.
http://lifehacker.com/5934942/how-to-du ... e-hardware
finjs
Level 1
Level 1
 
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Re: LMDE on Apple Mac?

Postby zerozero on Sun Nov 11, 2012 10:37 am

you have an howto here >> viewtopic.php?f=197&t=67730&p=527383 (not very up-to-date but might give you some ideas)
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6484
Joined: Tue Jul 07, 2009 2:29 pm

Re: LMDE on Apple Mac?

Postby cwsnyder on Sun Nov 11, 2012 2:42 pm

Actually, if you read the LifeHacker article, it does not mention sharing data between the two operating systems at all.

The drivers are the same between LMDE and Ubuntu for HFS.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: LMDE on Apple Mac?

Postby finjs on Fri Nov 16, 2012 10:27 am

Here is an update:

- Downloaded linuxmint-201204-xfce-dvd-64bit.iso
- Created linuxmint-201204-xfce-dvd-64bit.img with "hdiutil convert -format UDRW -o ~x.img ~x.iso"
- Made a USB installer with "dd if=/path/to/x.img of=/dev/rdisk bs=1m"
- Installed rEFIt to get choice of volumes to boot at startup. Can see the USB.
- Booted the USB, got the Linux Mint splash screen, the 10 s count down and a kernel panic at boot that I can't interrupt with any key.

I'm supposed to be able to interrupt booting with Alt or Ctrl keys to check the noapic option but no key works.

Any ideas?
finjs
Level 1
Level 1
 
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Re: LMDE on Apple Mac?

Postby finjs on Sat Nov 17, 2012 6:14 am

I took rEFIt off and simply booted the Mac holding the Alt key down with the USB installer in. Mac OS Mountain Lion detects the USB as a bootable device and names it Windows (along with the Mac OS volumes). Then when I boot the USB installer, I get exactly the same result as when rEFIt was on, that is the LM splash screen, the 10 s count down and a kernel panic without any way to interrupt the booting process to check the noapic option. Incidently, is there a reason for the nopaic option not being a default option in the installer?

It doesn't look like rEFIt is needed any longer. Opinions?

I wish I knew how to interrupt the booting process...
finjs
Level 1
Level 1
 
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Re: LMDE on Apple Mac?

Postby xircon on Sat Nov 17, 2012 7:12 am

Don't know anything about mac, but are you getting a grub screen with that countdown? If so press 'e' to edit the grub command line and add noapic there.

Steve
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: LMDE on Apple Mac?

Postby finjs on Sat Nov 17, 2012 8:48 am

Thanks Steve. I was following step by step the tutorial I mentioned above and this one
http://maketecheasier.com/install-dual- ... 2012/08/27
that reads "On the rEFit screen, press the right arrow to select the USB installer, and press and hold the “Ctrl” button while the USB installer is booting up. (Note: Failure to do this step will result in kernel panic)"
The Ctrl key doesn't work. After my last message I tried the F6 key and it worked. The 'e' key identically works too. After adding the noapic option, LMDE booted and ran. But LMDE can't find my internet connection even though I'm connected with an Ethernet cable.

Keeping on.

A first outcome is rEFIt might not be needed any longer on the new Macs running Mountain Lion since the Apple EFI seems to allow to boot other OS than Mac OS now.
finjs
Level 1
Level 1
 
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Re: LMDE on Apple Mac?

Postby finjs on Sun Nov 18, 2012 11:33 am

OK I eventually booted LMDE. I couldn't before because rEFIt was still on. I deleted it completely (there are two folders to clean). As long as LM is installed on the internal drive, rEFIt is no longer needed. Booting the Mac with the Alt key down shows a "Windows" volume to boot which is LM. At startup, the noapic option is needed again. Next problem: I don't have an internet connection, as it was the case with the USB installer.

A second outcome is "Guides and tutorials found on the internet are valid for little time." They do help but they can make you waste time too.
finjs
Level 1
Level 1
 
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 1 guest