Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 50

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

  1. #11
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,239
    Blog Entries
    15

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

    Hi
    To unmount either device or mount point;
    Code:
    (make sure your not at the mount pint)
    
    cd
    
    umount /dev/sda1
    
    umount /mnt
    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!

  2. #12

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

    Quote Originally Posted by malcolmlewis View Post
    Hi
    To unmount either device or mount point;
    Code:
    (make sure your not at the mount pint)
    
    cd
    
    umount /dev/sda1
    
    umount /mnt
    @malcolmL:

    OK, thanks for those commands, I searched around on google and nothing "clear" showed up on how to do that . . . just on how to "mount" . . . . So I ran your suggestions, and got
    Code:
    # cd
    192:~ # umount /dev/sda1
    192:~ # umount /mnt
    umount: /mnt: not mounted.
    So, I'm assuming sda1 is "unmounted" . . . but, what about the data from the "ls /mnt/EFI" from the mounted sda1 item? Would that be it for the info that we could see?? Now that sda1 is unmounted I will run "sdb1" and maybe that will show something more??

    Edit: ran that and it shows
    Code:
    192:~ # mount /dev/sdb1 /mnt
    192:~ # ls /mnt/EFI
    APPLE  boot  openSUSE  ubuntu
    n_s

  3. #13
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,239
    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
    @malcolmL:

    OK, thanks for those commands, I searched around on google and nothing "clear" showed up on how to do that . . . just on how to "mount" . . . . So I ran your suggestions, and got
    Code:
    # cd
    192:~ # umount /dev/sda1
    192:~ # umount /mnt
    umount: /mnt: not mounted.
    So, I'm assuming sda1 is "unmounted" . . . but, what about the data from the "ls /mnt/EFI" from the mounted sda1 item? Would that be it for the info that we could see?? Now that sda1 is unmounted I will run "sdb1" and maybe that will show something more??

    Edit: ran that and it shows
    Code:
    192:~ # mount /dev/sdb1 /mnt
    192:~ # ls /mnt/EFI
    APPLE  boot  openSUSE  ubuntu
    n_s
    Hi
    So now/how to figure out which is which.....

    You have an openSUSE and an opensuse on two different esp's....

    Since you don't have ub* anymore you could delete that directory, now need to see what files are in the opensuse/openSUSE directories, unless you can think which OS installed in which esp?

    If you run the following command to identify which disk is using your entry 0000
    Code:
    efibootmgr -v
    blkid
    Compare the PARTUUID against the efi 0000 entry, which disk (sda1 or sdb1)?
    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. #14

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

    @ML:

    Hmmm . . . I tried to delete the "ubuntu" in sdb by mounting and then trying that -b -B gambit . . . said "not found" or something. as far as the UUID numbers and the choice of two opensuse or OPENsuse . . . ?? None of the numbers seem to match the "Boot current: 0001" option of:

    Code:
    # efibootmgr -v
    BootCurrent: 0001
    BootOrder: 0001,0080
    Boot0001* opensuse    HD(1,GPT,7f39c61b-b9d1-4378-8478-a5e99ae6079d,0x28,0x64000)
    I'm looking to match the number starting with "7f39c61b-" to the listed partitions UUID numbers? Some seem "close" but none are a match. My "guess" is that on grub it is showing a "LEAP" option up top, and all of the LEAP options are on sdb, the TW options are on sda. I'd have to restart to check what is showing on top of GRUB, as before, one of the grub options is pointing to the empty "sda6" partition, which boots to nothing. I was trying to get "sda7" as the top choice to go to TW . . . . Have a couple other things to do right this moment though . . . .

    n_s

  5. #15
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,239
    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
    @ML:

    Hmmm . . . I tried to delete the "ubuntu" in sdb by mounting and then trying that -b -B gambit . . . said "not found" or something. as far as the UUID numbers and the choice of two opensuse or OPENsuse . . . ?? None of the numbers seem to match the "Boot current: 0001" option of:

    Code:
    # efibootmgr -v
    BootCurrent: 0001
    BootOrder: 0001,0080
    Boot0001* opensuse    HD(1,GPT,7f39c61b-b9d1-4378-8478-a5e99ae6079d,0x28,0x64000)
    I'm looking to match the number starting with "7f39c61b-" to the listed partitions UUID numbers? Some seem "close" but none are a match. My "guess" is that on grub it is showing a "LEAP" option up top, and all of the LEAP options are on sdb, the TW options are on sda. I'd have to restart to check what is showing on top of GRUB, as before, one of the grub options is pointing to the empty "sda6" partition, which boots to nothing. I was trying to get "sda7" as the top choice to go to TW . . . . Have a couple other things to do right this moment though . . . .

    n_s
    Hi
    OK, so sounds like easier to delete the current 0000 one create some new ones..... (see efibootmgr --help for all the commands...)

    Code:
    efibootmgr -b 1 -B 1
    efibootmgr -c -d /dev/sda -L "openSUSE sda" -l "\\EFI\\opensuse\\grubx64.efi"
    efibootmgr -c -d /dev/sdb -L "openSUSE sdb" -l "\\EFI\\openSUSE\\grubx64.efi"
    Reboot, press the option key and should see two efi entries to boot from?
    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. #16

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

    Quote Originally Posted by malcolmlewis View Post
    Hi
    OK, so sounds like easier to delete the current 0000 one create some new ones..... (see efibootmgr --help for all the commands...)

    Code:
    efibootmgr -b 1 -B 1
    efibootmgr -c -d /dev/sda -L "openSUSE sda" -l "\\EFI\\opensuse\\grubx64.efi"
    efibootmgr -c -d /dev/sdb -L "openSUSE sdb" -l "\\EFI\\openSUSE\\grubx64.efi"
    Reboot, press the option key and should see two efi entries to boot from?
    @malcolmL:

    Thanks for those commands, however discretion is the better part of valor . . . if I restart and hold no key I get to a grub menu listing some, but not all of the numerous opensuse & OSX options. If, on restart I hold the option key, that goes to the apple boot manager and that shows more of the disks, the three OSX options, and 4 or 5 opensuse LEAP options, but going the option key way is right now the only way to get to OSX; AND there are now two "EFI boot" options that show there, but, from recall, neither one of them works to boot anything . . . .

    So, the problem with multi-boot is there are a lot of things to boot, not sure if I/we can confirm the differences of where "opensuse" and "openSUSE" reside? I didn't post the "blkid" data to try to save "space" . . . I think you are trying to make two new .efi files, but not sure what that will do? Is this a "wipe" of the existing grub files, and then we are just putting "opensuse" in "sda" & "openSUSE" in "sdb" as a way of starting fresh with grub?? And on reboot, the grub "analyzer" will find all of the many partitions??

    I'm just trying to understand more what the goal is . . . and usually reading the "man" pages doesn't provide the "what is this going to do" in a way that makes sense--it usually just seems like reading a dictionary to learn how to write, etc??

    n_s

  7. #17
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,239
    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
    @malcolmL:

    Thanks for those commands, however discretion is the better part of valor . . . if I restart and hold no key I get to a grub menu listing some, but not all of the numerous opensuse & OSX options. If, on restart I hold the option key, that goes to the apple boot manager and that shows more of the disks, the three OSX options, and 4 or 5 opensuse LEAP options, but going the option key way is right now the only way to get to OSX; AND there are now two "EFI boot" options that show there, but, from recall, neither one of them works to boot anything . . . .

    So, the problem with multi-boot is there are a lot of things to boot, not sure if I/we can confirm the differences of where "opensuse" and "openSUSE" reside? I didn't post the "blkid" data to try to save "space" . . . I think you are trying to make two new .efi files, but not sure what that will do? Is this a "wipe" of the existing grub files, and then we are just putting "opensuse" in "sda" & "openSUSE" in "sdb" as a way of starting fresh with grub?? And on reboot, the grub "analyzer" will find all of the many partitions??

    I'm just trying to understand more what the goal is . . . and usually reading the "man" pages doesn't provide the "what is this going to do" in a way that makes sense--it usually just seems like reading a dictionary to learn how to write, etc??

    n_s
    Hi
    No, nothing is changing on the disk, or files, it's the BIOS nvram contents we are adding via efibootmgr.

    To boot via efi, two things are looked for a gpt disk and on that gpt disk a partition on type ef00, if these exist check the nvram for an entry to boot from, it then hans of to the efi file which then heads off to /boot directory for the grub files...

    So if your getting to grub, one of the entries is working..... if the UUID's don't match...then not sure.

    Can you post the full output from both blkid and efibootmgr -v output. Also the full file listing (ls -la) from the boot and opensuse/openSUSE directories on sda1 and sdb1 to compare filenames sizes and dates.
    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!

  8. #18

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

    Quote Originally Posted by malcolmlewis View Post
    Hi
    No, nothing is changing on the disk, or files, it's the BIOS nvram contents we are adding via efibootmgr.

    To boot via efi, two things are looked for a gpt disk and on that gpt disk a partition on type ef00, if these exist check the nvram for an entry to boot from, it then hans of to the efi file which then heads off to /boot directory for the grub files...

    So if your getting to grub, one of the entries is working..... if the UUID's don't match...then not sure.

    Can you post the full output from both blkid and efibootmgr -v output. Also the full file listing (ls -la) from the boot and opensuse/openSUSE directories on sda1 and sdb1 to compare filenames sizes and dates.
    @ML:

    Thanks for the details . . . I had most of that data on the terminal, but then I went through a bunch of restarts to try to see what was where, and learned a few things, but, then it doesn't exactly make sense how it's "working" . . . . So, I'll either post that stuff or try to do those commands, but, busy day tomorrow . . . . I'll get back to it . . . .

    n_s

  9. #19

    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 your getting to grub, one of the entries is working..... if the UUID's don't match...then not sure.

    Can you post the full output from both blkid and efibootmgr -v output. Also the full file listing (ls -la) from the boot and opensuse/openSUSE directories on sda1 and sdb1 to compare filenames sizes and dates.
    @ML:

    This is the output from what should be TW on sda . . . have to reboot to sdb partition to get "ls -la" ??? Later today . . . for now:

    Code:
    Zer0@192:~> su
    Password: 
    192:/home/Zer0 # ls -la
    total 176
    drwxr-xr-x 22 Zer0 users  4096 Nov 27 18:20 .
    drwxr-xr-x  5 root root   4096 Nov 22 02:32 ..
    -rw-------  1 Zer0 users   828 Nov 27 15:51 .bash_history
    -rw-r--r--  1 Zer0 users  1177 Oct  2 16:55 .bashrc
    drwxr-xr-x  2 Zer0 users  4096 Oct  2 16:55 bin
    drwx------ 20 Zer0 users  4096 Nov 27 14:45 .cache
    drwx------ 14 Zer0 users  4096 Nov 27 16:02 .config
    drwxr-xr-x  2 Zer0 users  4096 Oct  2 16:58 Desktop
    drwxr-xr-x  3 Zer0 users  4096 Oct  2 17:03 Documents
    drwxr-xr-x  2 Zer0 users  4096 Nov 26 09:23 Downloads
    -rw-r--r--  1 Zer0 users  1637 Oct  2 16:55 .emacs
    -rw-------  1 Zer0 users    16 Oct  2 16:58 .esd_auth
    drwxr-xr-x  2 Zer0 users  4096 Oct  2 16:55 .fonts
    drwx------  3 Zer0 users  4096 Oct  3 07:28 .gnupg
    drwxr-xr-x  2 Zer0 users  4096 Nov 24 17:38 .gphoto
    -rw-r--r--  1 Zer0 users    73 Oct  2 16:55 .i18n
    -rw-------  1 Zer0 users  8056 Nov 27 18:20 .ICEauthority
    -rw-r--r--  1 Zer0 users   861 Oct  2 16:55 .inputrc
    drwx------  3 Zer0 users  4096 Oct  2 16:57 .local
    drwx------  5 Zer0 users  4096 Nov 23 11:26 .mozilla
    drwxr-xr-x  2 Zer0 users  4096 Oct  2 16:58 Music
    drwxr-xr-x  3 Zer0 users  4096 Oct  2 17:03 Pictures
    drwx------  3 Zer0 users  4096 Nov  4 14:16 .pki
    -rw-r--r--  1 Zer0 users  1028 Oct  2 16:55 .profile
    drwxr-xr-x  2 Zer0 users  4096 Oct  2 16:58 Public
    drwxr-xr-x  2 Zer0 users  4096 Oct  2 16:55 public_html
    drwx------  2 Zer0 users  4096 Oct  2 17:45 .ssh
    drwxr-xr-x  2 Zer0 users  4096 Oct  2 16:58 Templates
    drwx------  4 Zer0 users  4096 Nov 27 14:45 .thunderbird
    drwxr-xr-x  2 Zer0 users  4096 Oct  2 16:58 Videos
    -rw-r--r--  1 Zer0 users  1951 Oct  2 16:55 .xim.template
    -rwxr-xr-x  1 Zer0 users  1112 Oct  2 16:55 .xinitrc.template
    -rw-------  1 Zer0 users   128 Oct  2 17:32 .xsession-errors-:0
    -rw-r--r--  1 Zer0 users 36738 Nov 24 17:48 .y2log
    -rw-r--r--  1 Zer0 users   282 Nov 24 17:48 .y2usersettings
    192:/home/Zer0 # efibootmgr -v
    BootCurrent: 0001
    BootOrder: 0001,0080
    Boot0001* opensuse    HD(1,GPT,7f39c61b-b9d1-4378-8478-a5e99ae6079d,0x28,0x64000)/File(\EFI\opensuse\grubx64.efi)
    Boot0080* Mac OS X    PciRoot(0x0)/Pci(0x1f,0x2)/Sata(2,0,0)/HD(4,GPT,7420b4c3-007e-4b98-b566-eaa4ebf5e403,0x1d5a9f00,0x1d40da70)
    Boot0081* Mac OS X    PciRoot(0x0)/Pci(0x1f,0x2)/Sata(2,0,0)/HD(4,GPT,7420b4c3-007e-4b98-b566-eaa4ebf5e403,0x1d5a9f00,0x1d40da70)
    Boot0082*     PciRoot(0x0)/Pci(0x1f,0x2)/Sata(2,0,0)/HD(4,GPT,7420b4c3-007e-4b98-b566-eaa4ebf5e403,0x1d5a9f00,0x1d40da70)
    BootFFFF*     PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,0,0)/HD(1,GPT,36faabea-42fb-40d1-b88b-fb254febf542,0x28,0x64000)/File(\EFI\BOOT\BOOTX64.efi)
    192:/home/Zer0 # blkid
    /dev/sda1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="7f39c61b-b9d1-4378-8478-a5e99ae6079d"
    /dev/sda2: UUID="632a31b3-7430-3c28-a992-c92271adfa58" LABEL="1Macinto" TYPE="hfsplus" PARTLABEL="1Macinto" PARTUUID="3447e9e0-204a-414f-a226-9f19fa88ef29"
    /dev/sda3: UUID="1a310fad-e2fe-3a5b-a264-95c1669cca26" LABEL="Recovery HD" TYPE="hfsplus" PARTUUID="a326238f-c7d8-46f9-a734-357e51125980"
    /dev/sda4: UUID="93f0ad8c-baed-3a31-8811-56b4a5cc6765" LABEL="2Macinto" TYPE="hfsplus" PARTLABEL="2Macinto" PARTUUID="7420b4c3-007e-4b98-b566-eaa4ebf5e403"
    /dev/sda5: UUID="11b8a168-b278-3d38-8df7-daee4fec3d35" LABEL="Recovery HD" TYPE="hfsplus" PARTUUID="618fbd06-c98c-4a41-b268-eaf839f5e8d5"
    /dev/sda6: UUID="4bc32144-c9ad-3c87-9b64-44e2f89dd31b" LABEL="3Linux" TYPE="hfsplus" PARTLABEL="3Linux" PARTUUID="6338840f-e675-49aa-a1be-578801195095"
    /dev/sda7: UUID="1f3b03ef-9729-4d0f-8204-036adebde082" TYPE="ext4" PARTUUID="46d32a98-d9ef-4b37-b535-fbca90902517"
    /dev/sda8: UUID="c6795cc7-5a44-4e1e-969d-28389e8c8c67" TYPE="ext4" PTTYPE="dos" PARTUUID="481536f7-6b9e-42a1-a2c2-c32e6efae3d3"
    /dev/sda9: UUID="64c5dba2-bacd-4459-9904-6bda0fbe24e7" TYPE="ext4" PARTUUID="16858b01-4a16-4123-936d-73b985d1cb09"
    /dev/sda10: UUID="d1c6e7f1-cb1b-4d28-ac0b-9c3b0d112ef5" TYPE="swap" PARTUUID="0fd89fb8-5385-4de4-9cf1-e5e300f8958a"
    /dev/sdb1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="36faabea-42fb-40d1-b88b-fb254febf542"
    /dev/sdb2: UUID="101f0c22-51eb-3de9-8b2c-71994769c98b" LABEL="MacintoUno" TYPE="hfsplus" PARTLABEL="Untitled 1" PARTUUID="87366958-562e-4c46-bd7e-7ff0c69f65ab"
    /dev/sdb3: UUID="7fe5967b-c9a3-3bda-bac2-b082ec930c5e" LABEL="Recovery HD" TYPE="hfsplus" PARTLABEL="Recovery HD" PARTUUID="b918c071-3c00-4d0f-a919-1c9750b077a4"
    /dev/sdb4: UUID="ea62cdd6-c700-3668-b872-850e9aa03865" LABEL="MacintoDos" TYPE="hfsplus" PARTLABEL="MacintoDos" PARTUUID="ef3a76a2-921c-424a-a3c4-38c1bd9b8cce"
    /dev/sdb5: UUID="231a3e98-f8c1-3021-9761-9ffd2e0a25a0" LABEL="Recovery HD" TYPE="hfsplus" PARTUUID="830893e4-4c7f-45af-b7e6-2801995fc8a4"
    /dev/sdb6: UUID="9a13b42f-9b6d-34cf-9dd6-fe427574b2f1" LABEL="MacintoTres" TYPE="hfsplus" PARTUUID="fa6952ef-93bd-438e-b74b-263725630595"
    /dev/sdb7: UUID="1ef871cc-3c9f-4fee-ba75-ac8fd9c40c11" TYPE="ext4" PARTUUID="43a85571-d16d-4142-a581-85e74b5c2200"
    /dev/sdb8: UUID="42c78901-85a4-40f3-95ce-d2e3ba53e5c4" TYPE="ext4" PARTLABEL="Windows_NTFS_Untitled_2" PARTUUID="7f47c88e-6463-4640-b711-36ce7a4e1514"
    /dev/sdb9: UUID="9c939b5e-d872-4e72-832a-bf764d7108dc" TYPE="ext4" PARTUUID="dfa33e17-6723-46c8-a137-60a18aca7e1e"
    /dev/sdb10: UUID="ea799dfc-04eb-47f0-a7e8-b645cae8daab" TYPE="swap" PARTUUID="f17fc88f-6eb0-4229-b925-f49320ee86a3"
    /dev/sr0: UUID="2017-06-01-16-47-54-00" LABEL="openSUSE-Tumbleweed-NET-x86_6400" TYPE="iso9660" PTUUID="5d2a6c32" PTTYPE="dos"
    192:/home/Zer0 #
    Thanks, kindly . . . no screaming rush on it, as the next 7-9 hours will be occupied with busyness . . .

    n_s

  10. #20
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,239
    Blog Entries
    15

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

    Hi
    You need to mount the sda1 as /mnt and cd into the directories and run the ls -la command, then repeat for sdb1
    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 2 of 5 FirstFirst 1234 ... 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
  •