SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-10-21 20:43:18

wohn
Member
Registered: 2011-01-23
Posts: 18

[Solved] Help installing on Mac Mini-intel-efi

Hey, been a while since i installed on anything and I know that efi bios is a bitch. I have installed (attempted) #1 on this machine and have not gotten it to work. I installed rEFInd but have no Idea where to go from here. grub2? grub efi? cant figure it out. tried for about 10 hours. I know im prob missing something basic but cant see it.

If anyone can point me to a good guide that would help please do. I have tried rEFInd first then #!,  #! then rEFInd and tried installing grub efi after.. im just lost.

Thanks in advance.
john

I have been using statler for a while on a p4 and love it and just acquired this intel mac and want to run #! on it.

Last edited by wohn (2013-10-23 03:11:48)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-10-22 01:32:50

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: [Solved] Help installing on Mac Mini-intel-efi

Hello  John!  smile

# I'd start here ;

http://www.rodsbooks.com/refind/

Offline

#3 2013-10-22 01:51:13

wohn
Member
Registered: 2011-01-23
Posts: 18

Re: [Solved] Help installing on Mac Mini-intel-efi

Sary wrote:

Hello  John!  smile

# I'd start here ;

http://www.rodsbooks.com/refind/

Hi, Thanks for the link. I have followed everything there, word for word. the problem I think may be installing grub-efi from a live cd... since I cant get to the installed crunchbang. Im missing something here... I think its update-grub or the rEFInd install script (or both???)  and having it update the installed version not the live version. Also in the guide he has there are 2 ways he partions the drive, one with fat32 and one with ext2 which wont acccept the rEFInd install. Its confusing decause of conflicting info although I have tried everyway listed and even mixing ways he has listed. Its frustrating. I love #! and will try my damndest to get it installed. I have followed some guides for updating grub from live cd and still doesnt take.

Thanks

Offline

#4 2013-10-22 02:41:38

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: [Solved] Help installing on Mac Mini-intel-efi

wohn wrote:

Hi, Thanks for the link. I have followed everything there, word for word. the problem I think may be installing grub-efi from a live cd... since I cant get to the installed crunchbang. Im missing something here... I think its update-grub or the rEFInd install script (or both???)  and having it update the installed version not the live version. Also in the guide he has there are 2 ways he partions the drive, one with fat32 and one with ext2 which wont acccept the rEFInd install. Its confusing decause of conflicting info although I have tried everyway listed and even mixing ways he has listed. Its frustrating. I love #! and will try my damndest to get it installed. I have followed some guides for updating grub from live cd and still doesnt take.

So let me get this right, you've installed " rEFInd " and #! but now GRUB is missing!

# How did you prepare the USB media, and #! partitions !?

Last edited by benginm (2013-10-22 02:48:01)

Offline

#5 2013-10-22 02:59:00

wohn
Member
Registered: 2011-01-23
Posts: 18

Re: [Solved] Help installing on Mac Mini-intel-efi

I made a 100MB fat 32 for rEFInd, ~70GB ext4 / part and a 2GB swap. Installed #!, booted from live cd (cant get to grub without rEFInd), installed rEFInd. didnt work. Tried updating grub from live cd, still no go. Also tried rEFInd first then installing #!, same thing. I have been able to get to the grub rescue but thats the extent I can get to. I tried the super grub2 disk but alas no keyboard or any kind of input method works. prob the internal usb hub isnt recognized...

rEFInd sees the linux kernels but wont boot them. I get a bootable device is missing error. If I install grub-efi from live cd it throws me into grub rescue when selecting linux.

Last edited by wohn (2013-10-22 03:00:48)

Offline

#6 2013-10-22 03:31:42

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: [Solved] Help installing on Mac Mini-intel-efi

Edit: forgot  to "Quote" ;/

Last edited by benginm (2013-10-22 03:57:41)

Offline

#7 2013-10-22 03:36:51

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: [Solved] Help installing on Mac Mini-intel-efi

wohn wrote:

I made a 100MB fat 32 for rEFInd, ~70GB ext4 / part and a 2GB swap. Installed #!, booted from live cd (cant get to grub without rEFInd), installed rEFInd. didnt work. Tried updating grub from live cd, still no go. Also tried rEFInd first then installing #!, same thing. I have been able to get to the grub rescue but thats the extent I can get to. I tried the super grub2 disk but alas no keyboard or any kind of input method works. prob the internal usb hub isnt recognized...

rEFInd sees the linux kernels but wont boot them. I get a bootable device is missing error. If I install grub-efi from live cd it throws me into grub rescue when selecting linux.



did you sync your partition tables! (should be the menu item called 'Partitioning Tool') , then reboot!


The problem is that GRUB has been installed, but doesn't know where to find the #! partition.

# also, see :

http://eriktrips.com/2013/03/31/dual-bo … ok-air-41/

http://crunchbang.org/forums/viewtopic.php?id=26481

Edit: add Links ;/

Last edited by benginm (2013-10-22 03:56:44)

Offline

#8 2013-10-22 05:22:58

wohn
Member
Registered: 2011-01-23
Posts: 18

Re: [Solved] Help installing on Mac Mini-intel-efi

Sary wrote:
wohn wrote:

I made a 100MB fat 32 for rEFInd, ~70GB ext4 / part and a 2GB swap. Installed #!, booted from live cd (cant get to grub without rEFInd), installed rEFInd. didnt work. Tried updating grub from live cd, still no go. Also tried rEFInd first then installing #!, same thing. I have been able to get to the grub rescue but thats the extent I can get to. I tried the super grub2 disk but alas no keyboard or any kind of input method works. prob the internal usb hub isnt recognized...

rEFInd sees the linux kernels but wont boot them. I get a bootable device is missing error. If I install grub-efi from live cd it throws me into grub rescue when selecting linux.



did you sync your partition tables! (should be the menu item called 'Partitioning Tool') , then reboot!


The problem is that GRUB has been installed, but doesn't know where to find the #! partition.

# also, see :

http://eriktrips.com/2013/03/31/dual-bo … ok-air-41/

http://crunchbang.org/forums/viewtopic.php?id=26481

I never saw an option to sync partition tables or anything like that. Is that a mac thing? Im not dual booting, solely #!.

Thanks, I will try some of those methods tomorrow.
Edit: add Links ;/

Offline

#9 2013-10-22 08:58:29

maddie
Member
From: Shenzhen, China
Registered: 2013-10-20
Posts: 20
Website

Re: [Solved] Help installing on Mac Mini-intel-efi

Maybe this thread can help you:

http://crunchbang.org/forums/viewtopic.php?id=21510

Basically it says after you have installed #!, boot into LiveCD and chroot to your freshly install #!, install and configure grub-efi then reboot. You should be able to add the grub entry to your rEFInd config.

Offline

#10 2013-10-23 01:40:53

wohn
Member
Registered: 2011-01-23
Posts: 18

Re: [Solved] Help installing on Mac Mini-intel-efi

maddie wrote:

Maybe this thread can help you:

http://crunchbang.org/forums/viewtopic.php?id=21510

Basically it says after you have installed #!, boot into LiveCD and chroot to your freshly install #!, install and configure grub-efi then reboot. You should be able to add the grub entry to your rEFInd config.


Hi, thanks, im trying that guide but it seems packages.crunchbang.org is down and some dependancies rely on that... dont know what to do from here... until the repos are back up.  Do we have a time table on them yet?

Offline

#11 2013-10-23 01:58:52

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: [Solved] Help installing on Mac Mini-intel-efi

Hello, john!

" grub-efi-amd64 "  is a pure debian package !  See # apt-cache policy grub-efi-amd64


just comment out the #! repos , apt-get update , apt-get dist-upgrade , apt-get install grub-efi-amd64

http://crunchbang.org/forums/viewtopic.php?id=29757

Offline

#12 2013-10-23 02:25:30

wohn
Member
Registered: 2011-01-23
Posts: 18

Re: [Solved] Help installing on Mac Mini-intel-efi

i have the repos commented out. I did the apt clean, apt updaqte, apt dist upgrade then tried installing again. same problem. depends on grub-efi-ia32, when i try yo install grub-efi-ia32 i get that it wants to install a diffent version,  a crunchbang version.

This only happens when im chrooted but works fine when im not. Im using the code below

# enter chroot environment

TARGET=/media/sda8                 # replace sda8 with the location of your installation
sudo mkdir -p $TARGET
sudo mount /dev/sda8 $TARGET
sudo mount --bind /dev     $TARGET/dev
sudo mount --bind /dev/pts $TARGET/dev/pts
sudo mount --bind /proc    $TARGET/proc
sudo mount --bind /sys     $TARGET/sys
sudo cp /etc/resolv.conf $TARGET/etc/resolv.conf   # needed to have network in chroot
sudo chroot $TARGET /bin/bash

apt-get update
apt-get install grub-efi-amd64
grub-install
update-grub

# now copy the grub.efi file that grub created to your efi partition 

mkdir -p /media/efi_part
mount /dev/sda1 /media/efi_part       # replace sda1 with your EFI partition name
mkdir /media/efi_part/EFI/crunchbang/
cp /boot/grub/grub.efi /media/efi_part/EFI/crunchbang/

any ideas?

Offline

#13 2013-10-23 02:57:57

maddie
Member
From: Shenzhen, China
Registered: 2013-10-20
Posts: 20
Website

Re: [Solved] Help installing on Mac Mini-intel-efi

wohn,

perhaps you can force apt to install the debian version of grub-efi-ia32?

try:

# apt-cache policy grub-efi-ia32

you should see something like this:

grub-efi-ia32:
  Installed: (none)
  Candidate: 1.99-27.1crunchbang1
  Version table:
     1.99-27.1crunchbang1 0
       1001 http://packages.crunchbang.org/waldorf/ waldorf/main amd64 Packages
     1.99-27+deb7u2 0
        500 http://http.debian.net/debian/ wheezy/main amd64 Packages

and then try to install grub-efi-ia32 by typing:

# apt-get install grub-efi-ia32=1.99-27+deb7u2

i'm not sure that it will work, try it out and let us know maybe? smile

Offline

#14 2013-10-23 03:11:08

wohn
Member
Registered: 2011-01-23
Posts: 18

Re: [Solved] Help installing on Mac Mini-intel-efi

maddie wrote:

wohn,

perhaps you can force apt to install the debian version of grub-efi-ia32?

try:

# apt-cache policy grub-efi-ia32

you should see something like this:

grub-efi-ia32:
  Installed: (none)
  Candidate: 1.99-27.1crunchbang1
  Version table:
     1.99-27.1crunchbang1 0
       1001 http://packages.crunchbang.org/waldorf/ waldorf/main amd64 Packages
     1.99-27+deb7u2 0
        500 http://http.debian.net/debian/ wheezy/main amd64 Packages

and then try to install grub-efi-ia32 by typing:

# apt-get install grub-efi-ia32=1.99-27+deb7u2

i'm not sure that it will work, try it out and let us know maybe? smile


THANK YOU. had to backtrack a bit through the dependencies but all installed perfectly. rebooted and got grub.

Now i know how to force a dependency, learning a little more everyday.

Last edited by wohn (2013-10-23 03:16:27)

Offline

#15 2013-10-23 03:16:45

maddie
Member
From: Shenzhen, China
Registered: 2013-10-20
Posts: 20
Website

Re: [Solved] Help installing on Mac Mini-intel-efi

wohn wrote:
maddie wrote:

wohn,

perhaps you can force apt to install the debian version of grub-efi-ia32?

try:

# apt-cache policy grub-efi-ia32

you should see something like this:

grub-efi-ia32:
  Installed: (none)
  Candidate: 1.99-27.1crunchbang1
  Version table:
     1.99-27.1crunchbang1 0
       1001 http://packages.crunchbang.org/waldorf/ waldorf/main amd64 Packages
     1.99-27+deb7u2 0
        500 http://http.debian.net/debian/ wheezy/main amd64 Packages

and then try to install grub-efi-ia32 by typing:

# apt-get install grub-efi-ia32=1.99-27+deb7u2

i'm not sure that it will work, try it out and let us know maybe? smile


THANK YOU. had to backtrack a bit through the dependencies but all installed perfectly. rebooted and got grub.

Now i know how to force a dependency, learning a little more everyday.

Now how do I marked solved?

Glad that I helped! big_smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo