[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

booting Lenny on Intel MacMini with grub-efi WITHOUT OS X partition



I have installed Lenny on an Intel Mac Mini, but can't get it to boot from the hard disk :(

I blew away the OS X partition (intentionally). I just want Linux on it and nothing else. I chose the single partition option with LVM during installation.

My net-inst CD is a little old (08-MAR-2008). When installing grub it installed grub-pc, but I need grub-efi. I did that manually by booting in rescue mode and doing "aptitude install grub-efi ; aptitude remove grub-pc".
Does the latest installer have support for grub-efi ???

I also have a boot CD with rEFIt. It said the partition was FAT. The rEFIt FAQ says to use parted to remove the boot flag and then use the partitioner in rEFIt. Now instead of the getting the flashing question-mark folder, I get a console message saying "Missing Operating System".

Running rEFIt partitioning tool gives me the following.

   Starting gptsync.efi

   Current GPT partition table:
    #   Start LBA     End LBA   Type
    1          34   150992221   Basic Data
     2   150992222   156301454   Linux Swap

   Current MBR partition table:
    # A Start LBA     End LBA   Type
     1           1          33   EE  EFI Protective
     2          34   150992221   Linux
     3   150992222   156301454   Linux Swap / Solaris

   Status: Analysis inconclusive, will not touch this disk.
   Error: Not Found returned from gptsync.efi

   * Hit any key to continue *


I'm guessing that the EFI startup code is looking for an EFI application, presumably grub.efi or something like that.
Do I have to generate this image with grub-mkimage ???

Since there is a MBT on the disk, then maybe grub-pc is the way to go ??? It does seem a hack though given that MACs have moved on from MBR and using GPT.

Thanks for any advice on how to boot Lenny using grub-efi.
Cheers, Brendan.





Reply to: