LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-06-2015, 06:04 AM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
slackware on Macbook ?


Hello!

Bought an old powerbook G4 PPC to see, what the animal Mac OS X are, and its looks not bad.
Thinking, maybe an an autumn or so on to buy a more modern laptop on core 2 duo cpu - macbook or macbook pro - version past 3,1 seem, to get latest macos support.

reading about their bootcamp to have dual boot to windows, but windows not interesting me at all - i interested to slackware duial boot with mac os.

anyone there have that experience? drivers, hardware, methods?

also interesting in experience and thoughts, if there is Mac users / switchers also...
 
Old 04-06-2015, 08:35 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Most MacBooks are Intel+Nvidia x86-64 based systems anymore, so with Bootcamp you could install any type of other OS as long as it's compatible with the hardware.

However be aware that if this is your goal, you could effectively buy any off the shelf laptop to run Slackware. MacBooks really are just choice parts to fill a specification. OSX is just an overglorified version of FreeBSD with a Gnome2/Mate based UI with Quartz for compositing (which operates similar to Wayland and Compiz), Cairo-Dock for a launcher, with a service supervisor running the whole thing. To be honest, if it wasn't for Apple's Carbon and Cocoa libs it would be just another FreeBSD clone.
 
Old 04-06-2015, 10:17 AM   #3
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Intel + Nvidia video is a cool ones.
most of that, who i look for ( 2006 - 2010 production) is intel + intel X3100 or so on

thanks for opinion, get your point.
I be exploring mac os x 10.4 / 10.5 by a week now, and i can say, i like it.
it has some drawbacks if compare with slackware, sure, and it have a some improvements, imho.
play around till end of summer, then see - but looks like i switch to mac os x in my laptops category ( be sure with slack on second partition in case of, but...
 
Old 04-06-2015, 12:41 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Most MacBooks are Intel+Nvidia x86-64 based systems anymore, so with Bootcamp you could install any type of other OS as long as it's compatible with the hardware.
Wrong. The ability to boot off any Linux on these machines widely vary upon the model and associated firmware, so that's pretty much a hit or miss endeavor, as different models have various abilities, nowhere fully documented.

For instance most very recent Macs accept a FAT formatted ESP, but older ones only a HFS+ formatted one, that Slackware's installer doesn't provide.

So my advice is simple: before buying, check the exact model and then find out through an Internet search if someone succeeded in installing Linux on that box.

Also, I haven't heard lot of people successfully modifying a recent Mac's boot manager menu, most people rely on refind or grub. It adds a layer of complexity to put an alien menu on top of the firmware's boot menu so that may be not very elegant, but that works more often. Further more, efibootmgr has been reported to brick at least some Macs in making the firmware unusable.

PS See here for instance for reports of success and issues using Syslinux (not directly applicable though as Slackware doesn't ship Syslinux 6.03 thus doesn't rely on Syslinux for EFI booting. Anyway Syslinux 6.03 is not able to boot off an optical media in case of an EFI firmware, but I digress).

Last edited by Didier Spaier; 04-06-2015 at 04:12 PM. Reason: typo fixed.
 
2 members found this post helpful.
Old 04-06-2015, 09:07 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Putting the menu bar at the top of the screen drives me batsh1t, but your mileage may vary.
 
1 members found this post helpful.
Old 04-07-2015, 05:20 AM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by Didier Spaier View Post
Wrong. The ability to boot off any Linux on these machines widely vary upon the model and associated firmware, so that's pretty much a hit or miss endeavor, as different models have various abilities, nowhere fully documented.

For instance most very recent Macs accept a FAT formatted ESP, but older ones only a HFS+ formatted one, that Slackware's installer doesn't provide.

So my advice is simple: before buying, check the exact model and then find out through an Internet search if someone succeeded in installing Linux on that box.

Also, I haven't heard lot of people successfully modifying a recent Mac's boot manager menu, most people rely on refind or grub. It adds a layer of complexity to put an alien menu on top of the firmware's boot menu so that may be not very elegant, but that works more often. Further more, efibootmgr has been reported to brick at least some Macs in making the firmware unusable.

PS See here for instance for reports of success and issues using Syslinux (not directly applicable though as Slackware doesn't ship Syslinux 6.03 thus doesn't rely on Syslinux for EFI booting. Anyway Syslinux 6.03 is not able to boot off an optical media in case of an EFI firmware, but I digress).
Not to point our a flaw in your statement, but in regards to your reply I did say "as long as it's compatible with the hardware", so technically there was nothing wrong with my statement Didier, which you clearly said about checking the model and researching if there is compatibility. Of course people should do research first, which is an understatement.
 
Old 04-07-2015, 05:30 AM   #7
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
[QUOTE=ReaperX7;5343298 OSX is just an overglorified version of FreeBSD with a Gnome2/Mate based UI with Quartz for compositing (which operates similar to Wayland and Compiz), Cairo-Dock for a launcher, with a service supervisor running the whole thing. To be honest, if it wasn't for Apple's Carbon and Cocoa libs it would be just another FreeBSD clone.[/QUOTE]

Hello!
Looks interestingly, as icon on your information bar shows, you there use a MacOS

If not secret, why you choice that "overglorified FreeBSD" ?
 
Old 04-07-2015, 05:41 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I'm on my iPAD Mini so I'm using iOS. However, I have used a MacBook before and honestly, well, it's... really... not that special. Apple has a lot of software that promotes professional media, design, development, and office, but honestly, you can find similar to same software on Windows and Linux/BSD equally. I actually sold mine a few years back, and don't regret it. The money I paid for the MacBook was not really worth what I paid to be honest with you. I could have easily gotten an HP Envy with near equivalent specs for less than half the cost of my MacBook, which I bought and still use.

A top end MacBook Pro with near equal specs to something equal to or near that of an Acer, HP, Toshiba, or ASUS costs about $2500 USD compared to a normal laptop that's about $650-1500 USD depending on equipment installed. Overall, they're nice, but not worth the expense if you're using GNU/Linux.

I also got my iPAD free in a raffle.

Last edited by ReaperX7; 04-07-2015 at 05:51 AM.
 
1 members found this post helpful.
Old 04-07-2015, 09:35 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Not to point our a flaw in your statement, but in regards to your reply I did say "as long as it's compatible with the hardware", so technically there was nothing wrong with my statement Didier
There is usually no hardware problem big enough to prevent installation, but there can be a firmware problem, big enough if not to completely prevent installation, at least to make it very difficult and not straightforward as a user could expect. Not everyone wants to spend hours and read a lot of docs just to have an OS installed. Just stating "hardware should be OK" (which is true) could mislead the user, making her/him assume that she/he won't encounter any issue (which is wrong). That's what I meant.

In other words the statement "with Bootcamp you could install any type of OS" is wrong.

PS Well, probably Matthew Garrett or H. Peter Anvin could. But it is very unlikely that they request help in this forum about that

Last edited by Didier Spaier; 04-07-2015 at 11:14 AM.
 
Old 04-07-2015, 09:37 AM   #10
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
I have experience setting up a triple boot (OS X, Slackware, Windows 7/8.1) on a MBP 8.3 (which I don't recommend you buy, maybe it's bad luck, but I had mine serviced multiple times during my extended warranty, it's now out of warranty now and failing again).

I think most x86/x86_64 Macbooks can run Linux, but each model has to be dealt with differently. If you cannot find information about a specific model, try looking at information for other Macbook models that came out at the same time if the hardware is similar, the same solution might work.

Installing Slackware wasn't too difficult, having everything work was quite a bit more challenging though since the information that I needed was everywhere but in tiny pieces.

If it interests you, here's what I remember for the MBP 8.3, some of it might apply to the other models:

BIOS mode (via Windows)
- Needs to use the hybrid GPT/MBR partition scheme. On this model, Windows works best in BIOS mode.
- Can boot Linux by editing the Windows BCD to boot LILO (Only practical with Windows 7, not practical with Windows 8/8.1).
- It uses one of the ATA SFF kernel drivers (I believe it's ata_piix).
- Intel HD graphics disabled, uses the AMD/ATI Radeon graphics card only.

EFI mode
- I don't think the partition scheme matters. For the internal HDD you should use GPT or hybrid GPT/MBR partition scheme since OS X uses the ESP partition for firmware updates.
- Recognises /EFI/BOOT/BOOTX64.EFI on a FAT32 formatted partition. It does not matter whether the drive is MBR or GPT formatted. I think this applies to both external and internal drives, but I haven't confirmed if it's true for internal drives.
- Can boot Linux with an EFI stub kernel or EFI bootloader. The EFI stub kernel with builtin command line to specify root partition is recommended, the Radeon graphics card does not work properly otherwise. When using an EFI bootloader, nomodeset must be passed and the display does not work starting from when the bootloader is loaded until halfway through the kernel boot process.
- It uses the AHCI SATA kernel driver.
- Both graphics card can work. If using an external monitor, the Radeon is recommended since the mini DisplayPort port is connected to it. I compiled out support for the Intel HD graphics in my case.

Other notes
- The wireless can use either the b43 or broadcom-sta wl driver. The wl driver worked better for me.
- Other mac specific kernel drivers that are used are the hid_apple and the apple touchpad drivers. Setting /sys/module/hid_apple/parameters/fnmode to 2 is important if you want F1-F12 to work as F1-F12 without holding down the Fn key.

What I think I did for triple booting, booting Linux in EFI mode without rEFInd
1. Used Bootcamp. This creates a hybrid GPT/MBR.
2. Installed Windows 7 (and later 8.1) on NTFS partition.
3. Repartitioned HDD while in OS X (HFS+, FAT32, NTFS). An ESP is automatically added.
4. Converted FAT32 partition to ext4.
5. Installed Slackware 14.1 - I believe there was a partition detection issue, with the ext4 partition being detected twice. This might be due to the hybrid GPT/MBR partition scheme. Not a big deal. Skip any EFI stuff.
6. Created a custom EFI stub kernel with builtin command line and moved the kernel onto a FAT32 partition on a USB stick with the pathname /EFI/BOOT/BOOTX64.EFI. Used the USB to boot Slackware.

What I suspect the process for booting Linux in EFI mode would have been without Windows
1. Partition HDD in OS X (HFS+, FAT32, any other partitions you want for Linux formatted as FAT32). Bootcamp is unnecessary.
2. Change Linux partition types except for first FAT32 partition.
3. Install Slackware 14.1. Skip any EFI stuff.
4. Create custom EFI stub kernel with builtin command line, place in FAT32 partition with pathname /EFI/BOOT/BOOTX64.EFI and boot from that.
 
2 members found this post helpful.
Old 04-07-2015, 11:07 AM   #11
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
It's all in the name: powerbook G4 PPC
This is an old Mac with PPC processor so not x86. To my knowledge there's no PPC Slackware?
Debian does have a PPC version.

Last edited by JackHair; 04-07-2015 at 11:12 AM.
 
Old 04-07-2015, 12:38 PM   #12
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by Didier Spaier View Post
There is usually no hardware problem big enough to prevent installation, but there can be a firmware problem, big enough if not to completely prevent installation, at least to make it very difficult and not straightforward as a user could expect. Not everyone wants to spend hours and read a lot of docs just to have an OS installed. Just stating "hardware should be OK" (which is true) could mislead the user, making her/him assume that she/he won't encounter any issue (which is wrong). That's what I meant.

In other words the statement "with Bootcamp you could install any type of OS" is wrong.

PS Well, probably Matthew Garrett or H. Peter Anvin could. But it is very unlikely that they request help in this forum about that
You forget BCD and Virtual Hard Disks can be used with Windows 7 or later to boot technically any operating system as long as it has room to install to the virtual drive. This might technically bypass the firmware requirements, but you would still be limited to the hardware involved. It's... not the most... ethical way to do things... but it can work in a pinch.
 
Old 04-07-2015, 01:22 PM   #13
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by JackHair View Post
It's all in the name: powerbook G4 PPC
This is an old Mac with PPC processor so not x86. To my knowledge there's no PPC Slackware?
Debian does have a PPC version.
sorry for bad writing, i try to write - i now buyed and experiment with G4 powerbook ( who is with old, good RISC processor), but advices about dual boots, etc, i need for never -past 2006 - macbooks based on intel hardware.

not plan put slackware on PPC.

from another side: till now all i do read and see with that old mac laptop and Mac OS X itself -it all works.
installation is very, very easy.
there is not need to install any additional drivers.
all works from box - suspend, hotkeys, etc.
programms installation and uninstall is fantastic easy way - i like that way.

yes, mac os x looks like a bit "simple" - there is only few choices in configurations, etc, but all that is good also from some another side.
when i was young, i like computers, and i like "sex" with them.
these days, i can decide to start rteinstall my computer with fresh Win95 OSR2 version in 3:00 in night, and got sleep in 09:00 in morning with happy smile.
but as i get old, and also have a work with computers problems solving too, i get lazy - i want to minimize my work with computers.
i want to it "simple work" - it is one of argument, why i abandon MS OS-es about 10 years ago and fully switched to linux at home ( and at work too, where it is possible).
and now i see even more easy and working without "sex" os. i became interesting in it...
 
  


Reply

Tags
dual boot, experience, mac os x, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware on a 17" Macbook Pro ger579 Slackware 6 12-29-2013 07:23 AM
Slackware install on a Macbook? lensilvan Slackware 10 06-30-2013 05:31 PM
Slackware 12 on MacBook Pro geoff.cardamone Slackware 14 01-19-2012 08:44 AM
Slackware 13.0 Apple MacBook Pro Zackney Linux - Laptop and Netbook 2 10-24-2009 12:09 PM
Slackware on a macbook Smokey Slackware 4 09-10-2007 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration