Task for guru - linux on external drive to run in VM or on iMac

Discussion in 'General Linux' started by eSKon, Oct 15, 2013.

  1. eSKon

    eSKon New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi all.
    I'm trying (almost successfull) do following:
    I need linux (fedora) installed on external drive which i can use either in VM or after rebooting as main OS. And all is on iMac.
    What i did already:
    1. Bought external drive 1T and under mac made 2 partition. First one - free space (500G) and second one Mac HFS+
    2. Created VM with Fedora 19 spin disk (VMWare Fusion) without hard drive and configured connect external drive always to VM
    3. manually added to VM's vmx file (text file with VM configuration) following line:
    firmware = "efi" (else Anaconda will not create EFI partition but MBR instead)
    4. Start VM and installed Fedora to external drive. During installation made automatic partitioning of free external drive space. Checked option to install GRUB (yes, i know there is bug)
    5. Under VM after linux was installed fixed grub installation:
    sudo efibootmgr -v
    Looked like following:

    BootCurrent: 0003
    BootOrder: 0003,0000,0001,0002,0004
    Boot0000* EFI VMware Virtual IDE CDROM Drive (IDE 1:0) ACPI(a0341d0,0)PCI(7,1)ATAPI(1,0,0)
    Boot0001* EFI Network ACPI(a0341d0,0)PCI(11,0)PCI(1,0)MAC(000c296714b4,0)
    Boot0002* EFI Internal Shell (Unsupported option) MM(b,3f055000,3f3b5fff)
    Boot0003* Fedora HD(1,28,64000,f9fb08fa-e0cb-4b4e-8595-738291703165)File(\EFI\fedora\shim.efi)
    Boot0004* EFI USB Device ACPI(a0341d0,0)PCI(11,0)PCI(3,0)USB(0,0)0311050000


    Then did:
    sudo efibootmgr -b 0003 -B
    to remove wrong Fedora entry, and then:
    sudo efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l '\EFI\fedora\grubx64.efi' -b 0003
    to create it again
    Really i'm not sure this step was correct, but without that one apples bootloader didn't see linux efi loader and didn't show disk as bootable.
    6. After restarting iMac with options key pressed (external drive connected of course) i see now "EFI boot" (or "EFI loader"? forgot) in bootable disks list
    Select it and see grub menu (can't select something here because have wireless keyboard and it's first problem i didn't solve yet), then i see fedora filling leaf - fedora is starting. Then after leaf filled it switch clears screen and.... it's all... nothing happens. Waited about 15-20 min. Disk is active, blinking randomly, so somewhat is working, but i see nothing on the screen.
    What do you think i can do to fix these last issues?

Share This Page