Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 50

Thread: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

  1. #21

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Quote Originally Posted by malcolmlewis View Post
    Hi
    You need to mount the sda1 as /mnt and cd into the directories and run the ls -la command, then repeat for sdb1
    @malcolmL:

    Ah, . . . OK . . . if only I knew what I was doing . . . things would be easier . . . . : - 0

  2. #22

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Quote Originally Posted by malcolmlewis View Post
    Hi
    You need to mount the sda1 as /mnt and cd into the directories and run the ls -la command, then repeat for sdb1
    OK, is this what you mean? Otherwise I might need it spelled out . . . ??

    Code:
    # cd
    192:~ # mount /dev/sda1 /mnt
    192:~ # ls -la
    total 44
    drwx------  9 root root 4096 Nov 28 18:02 .
    drwxr-xr-x 22 root root 4096 Oct  2 16:38 ..
    -rw-------  1 root root  765 Nov 28 11:12 .bash_history
    drwxr-xr-x  2 root root 4096 Nov 22 02:32 bin
    drwx------  3 root root 4096 Nov 24 17:42 .cache
    drwxr-xr-x  4 root root 4096 Nov 24 17:49 .config
    drwx------  3 root root 4096 Oct  2 16:43 .dbus
    drwx------  2 root root 4096 Nov 22 02:32 .gnupg
    drwxr-xr-x  4 root root 4096 Oct  2 16:19 inst-sys
    drwxr-xr-x  3 root root 4096 Nov 24 17:49 .local
    -rw-------  1 root root   94 Nov 28 18:02 .xauthlxCt5q
    192:~ # cd
    192:~ # umount /dev/sda1
    192:~ # umount /mnt
    umount: /mnt: not mounted.
    192:~ # cd
    192:~ # mount /dev/sdb1 /mnt
    192:~ # ls -la
    total 44
    drwx------  9 root root 4096 Nov 28 18:02 .
    drwxr-xr-x 22 root root 4096 Oct  2 16:38 ..
    -rw-------  1 root root  765 Nov 28 11:12 .bash_history
    drwxr-xr-x  2 root root 4096 Nov 22 02:32 bin
    drwx------  3 root root 4096 Nov 24 17:42 .cache
    drwxr-xr-x  4 root root 4096 Nov 24 17:49 .config
    drwx------  3 root root 4096 Oct  2 16:43 .dbus
    drwx------  2 root root 4096 Nov 22 02:32 .gnupg
    drwxr-xr-x  4 root root 4096 Oct  2 16:19 inst-sys
    drwxr-xr-x  3 root root 4096 Nov 24 17:49 .local
    -rw-------  1 root root   94 Nov 28 18:02 .xauthlxCt5q
    192:~ # cd
    192:~ # umount /dev/sdb1
    192:~ # umount /mnt
    umount: /mnt: not mounted.
    192:~ # exit
    exit

  3. #23
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,240
    Blog Entries
    15

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Hi
    Almost....

    Code:
    For /dev/sda1
    
    ls -la /mnt/EFI/boot
    ls -la /mnt/EFI/opensuse
    
    For /dev/sdb1
    
    ls -la /mnt/EFI/boot
    ls -la /mnt/EFI/openSUSE
    Last edited by malcolmlewis; 28-Nov-2017 at 19:59.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #24

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Almost....

    Code:
    For /dev/sda1
    
    ls -la /mnt/EFI/boot
    ls -la /mnt/EFI/opensuse
    
    For /dev/sdb1
    
    ls -la /mnt/EFI/boot
    ls -la /mnt/EFI/openSUSE
    Thanks for the pointers, hopefully this gets it in the ballpark:

    Code:
    # cd
    192:~ # mount /dev/sda1 /mnt
    192:~ # ls -la /mnt/EFI/boot
    total 192
    drwxr-xr-x 2 root root    512 Oct  2 09:55 .
    drwxr-xr-x 5 root root    512 Oct  2 09:55 ..
    -rwxr-xr-x 1 root root 122880 Oct  3 11:46 bootx64.efi
    -rwxr-xr-x 1 root root  72240 Oct  2 09:55 fallback.efi
    192:~ # ls -la /mnt/EFI/opensuse
    total 3400
    drwxr-xr-x 2 root root     512 Oct  2 09:55 .
    drwxr-xr-x 5 root root     512 Oct  2 09:55 ..
    -rwxr-xr-x 1 root root      58 Oct  2 09:55 boot.csv
    -rwxr-xr-x 1 root root     155 Oct  2 09:55 grub.cfg
    -rwxr-xr-x 1 root root 1019744 Oct  2 09:55 grub.efi
    -rwxr-xr-x 1 root root  127488 Nov 23 09:51 grubx64.efi
    -rwxr-xr-x 1 root root 1166552 Oct  2 09:55 MokManager.efi
    -rwxr-xr-x 1 root root 1164376 Oct  2 09:55 shim.efi
    192:~ # cd
    192:~ # umount /dev/sda1
    192:~ # umount /mnt
    umount: /mnt: not mounted.
    192:~ # cd
    192:~ # mount /dev/sdb1 /mnt
    192:~ # ls -la /mnt/EFI/boot
    total 120
    drwxr-xr-x 2 root root    512 Dec 31  2016 .
    drwxr-xr-x 6 root root    512 Dec 31  2016 ..
    -rwxr-xr-x 1 root root 121344 Dec 31  2016 bootx64.efi
    192:~ # ls -la /mnt/EFI/openSUSE
    total 3438
    drwxr-xr-x 2 root root     512 Feb 12  2017 .
    drwxr-xr-x 6 root root     512 Dec 31  2016 ..
    -rwxr-xr-x 1 root root      58 Nov  4 09:58 boot.csv
    -rwxr-xr-x 1 root root     155 Nov  4 09:58 grub.cfg
    -rwxr-xr-x 1 root root 1058144 Nov  4 09:58 grub.efi
    -rwxr-xr-x 1 root root  128512 Nov  4 09:58 grubx64.efi
    -rwxr-xr-x 1 root root 1166552 Nov  4 09:58 MokManager.efi
    -rwxr-xr-x 1 root root 1164376 Nov  4 09:58 shim.efi
    192:~ # umount /dev/sdb1
    192:~ # umount /mnt
    umount: /mnt: not mounted.
    192:~ # exit

  5. #25
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,240
    Blog Entries
    15

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Hi
    So if you look at the files, sdb1 (grubx64.efi) is the place, so create an entry and all should boot fine...?

    Code:
    efibootmgr -c -d /dev/sdb -L "openSUSE sdb" -l "\\EFI\\openSUSE\\grubx64.efi"
    See how that goes... if it wants secure boot maybe? then add;
    Code:
    efibootmgr -c -d /dev/sdb -L "openSUSE-secure sdb" -l "\\EFI\\openSUSE\\shim.efi"
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #26

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Quote Originally Posted by malcolmlewis View Post
    Hi
    So if you look at the files, sdb1 (grubx64.efi) is the place, so create an entry and all should boot fine...?

    Code:
    efibootmgr -c -d /dev/sdb -L "openSUSE sdb" -l "\\EFI\\openSUSE\\grubx64.efi"
    See how that goes... if it wants secure boot maybe? then add;
    Code:
    efibootmgr -c -d /dev/sdb -L "openSUSE-secure sdb" -l "\\EFI\\openSUSE\\shim.efi"
    @MalcolmL:

    Thanks very kindly for the assistance, I'll try to run that in a bit . . . what would be "secure" or "unsecure" refer to? This is for a home unit, which is essentially "secure" . . . is that like having OSX's "safe boot" capacity? which I guess is a way to test the system for problems?

    Or, it's something that I would do both of those commands, one for basic grub, and then "secure" would add the "safe boot" features??

    In any event, I'll post back with the update, i.e., if grub picks up the LEAP & TW installs in one place, etc.

    n_s

  7. #27

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    PS: Is this a case where I have to "mount" sdb1 & cd into EFI . . . or, I can just "su" and then run your suggested commands? Seems like it's better to ask first rather than running them and thinking I did something, when I didn't . . . ??

  8. #28
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,240
    Blog Entries
    15

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Quote Originally Posted by non_space View Post
    PS: Is this a case where I have to "mount" sdb1 & cd into EFI . . . or, I can just "su" and then run your suggested commands? Seems like it's better to ask first rather than running them and thinking I did something, when I didn't . . . ??
    Hi
    In this case no, we are interacting with the hardware (UEFI BIOS) nvram and adding the entry so when it boots it knows where to look.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #29

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Quote Originally Posted by malcolmlewis View Post
    Hi
    So if you look at the files, sdb1 (grubx64.efi) is the place, so create an entry and all should boot fine...?
    Code:
    efibootmgr -c -d /dev/sdb -L "openSUSE sdb" -l "\\EFI\\openSUSE\\grubx64.efi"
    See how that goes... if it wants secure boot maybe? then add;
    Code:
    efibootmgr -c -d /dev/sdb -L "openSUSE-secure sdb" -l "\\EFI\\openSUSE\\shim.efi"
    So, um, this sort of "worked" and sort of didn't . . . on basic restart w/o alt key it goes to grub window, and the only option is the TW install that is on sda; if I use the alt key the options are shortened to the Gecko MATE LEAP and a no longer installed Linux Mint . . . and two OSX of three or four . . . so the alt key seems to be showing the sdb choices and not the sda options . . . .

    I did want the TW choice as the "top" hit, which it is now . . . but, nothing else is there if I just let grub pop up . . . so, as far as setting the "default" it is now TW, but now no other choices to be found there . . . . : - 0

    n_s

  10. #30
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,240
    Blog Entries
    15

    Default Re: OSX install breaks connection to grub on EFI partition--TW rescue doesn't rescue??

    Quote Originally Posted by non_space View Post
    So, um, this sort of "worked" and sort of didn't . . . on basic restart w/o alt key it goes to grub window, and the only option is the TW install that is on sda; if I use the alt key the options are shortened to the Gecko MATE LEAP and a no longer installed Linux Mint . . . and two OSX of three or four . . . so the alt key seems to be showing the sdb choices and not the sda options . . . .

    I did want the TW choice as the "top" hit, which it is now . . . but, nothing else is there if I just let grub pop up . . . so, as far as setting the "default" it is now TW, but now no other choices to be found there . . . . : - 0

    n_s
    Hi
    OK, so now boot into Tumbleweed and in a terminal switch to root user and run;
    Code:
    efibootmgr -v
    os-prober
    Running efibootmgr is just to confirm it booted in efi mode. The next to show info on installed systems? If both commands show what is expected, then fire up YaST bootloader and change the menu timeout and save, reboot and all os's should be in the Tumbleweed grub listing.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 3 of 5 FirstFirst 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •