Page 1 of 6 123 ... LastLast
Results 1 to 10 of 54

Thread: Please advise how to succeed doing UEFI 13.1-64 install!

  1. #1

    Default Please advise how to succeed doing UEFI 13.1-64 install!

    A year ago I had several uefi install failures with 12.3-64. This time I want to make uefi work. I did read the uefi post by oldcpu. His case seems much more complicated than mine!

    I have an i7-3770 on an Asus P8Z77-V LK that I just flashed with 1301 bios. My 13-1-64 install DVD is in the mail and I have my 1TB sata backed up expecting I will loose all the mbr files in the conversion to gpt.

    I've downloaded gparted live 0.17.0-4-i686 pae in the hope that I can use it to format and partition the gpt version of my hdd before I try to install the 13.1.

    From my past failures, I remember there are some bios settings related to uefi. If possible, I could use some advise with them. Things like "Secure Boot", UEFI only, Legacy and UEFI, etc.

    Something else I remember with the 12.3-64 install DVD was after the install finished, there wasn't a "Boot from hdd" option in the first reboot screen.

    Instead, the install just started over. If I quit the second install attempt, the system wouldn't boot. Was I the only one to experience this?

    I would like to partition the hdd so I can add another linux (maybe 12.3-64), so I would like two small ext2 partitions first for boot partitions. Then a pair of / partitions, a swap, a pair of /homes, a linux usr1 and a fat-32 partition to use with my xp-32 virtual machine.

    These are similar to the mbr partitions I have now with 12.3 and 12.2. Of course mbr used two primary partitions and the rest on an extended partition.

    Last, I remember another warning that came up during the 12.3 uefi install attempt. When I assigned the hdd partitions in the install, I got a warning about the partition table. I couldn't get rid of that warning and if I ignored it, the fresh install wouldn't boot. Was I alone in this too?

    Let me stop here and see if anyone is willing to give me some guidance to help me make uefi work for me this time! Heboland.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,481
    Blog Entries
    3

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    Quote Originally Posted by heboland View Post
    A year ago I had several uefi install failures with 12.3-64. This time I want to make uefi work. I did read the uefi post by oldcpu. His case seems much more complicated than mine!
    His was a particularly difficult case. It was also interesting. We learned something about the quirks of UEFI implementations.

    Sure, we will help you. It is possible that there may be problems. We will try to solve those as we come across them.

    Quote Originally Posted by heboland View Post
    I have an i7-3770 on an Asus P8Z77-V LK that I just flashed with 1301 bios. My 13-1-64 install DVD is in the mail and I have my 1TB sata backed up expecting I will loose all the mbr files in the conversion to gpt.

    I've downloaded gparted live 0.17.0-4-i686 pae in the hope that I can use it to format and partition the gpt version of my hdd before I try to install the 13.1.
    I actually converted from MBR to GPT, without losing anything. But I was lucky.
    1. The existing partitions did not extend all the way to the end of the disk. There was enough free space for the backup copy of the GPT partition table that goes near the end.
    2. I had not installed grub2 in the MBR. Otherwise the conversion would have wiped that out.


    I used "gdisk" (or "gptfdisk") for the conversion. I don't know what is possible with "gparted".

    Can we take it that your disk will only have opensuse. That is, there is no Windows that you have to deal with?

    I have no experience with telling "gparted" to use GPT partitioning. However, I can experiment on an external drive, to see what happens.

    As for what you need. You will need an EFI partition, to be formatted as FAT. The BIOS should not care whether it is FAT16 or FAT32. "Parted" calls that an ESP (for EFI System Partition). I would start by creating that as the first partition on the disk, probably starting at sector 2048. My EFI partition is 500M, which seems plenty large enough.

    If you can get "gparted" to create the EFI partition (or ESP, depending on what "gparted" wants to call it), then I would expect "gparted" to use GPT partitioning. Beyond that, just lay out the other partitions based on your experience.

    When in the opensuse installer, you will probably need to go to expert partitioning to tell the partitioner what to use. Make sure that the EFI partition is set to be mounted at "/boot/efi".

    Quote Originally Posted by heboland View Post
    From my past failures, I remember there are some bios settings related to uefi. If possible, I could use some advise with them. Things like "Secure Boot", UEFI only, Legacy and UEFI, etc.
    The details will vary from one BIOS version to another. Secure-boot should be fine, but there are more things that can go wrong. So perhaps disable secure-boot in the BIOS. If you have a choice between UEFI only and UEFI+Legacy, I would go with the latter. You will probably need legacy support to boot your "gparted" disk.

    Quote Originally Posted by heboland View Post
    Something else I remember with the 12.3-64 install DVD was after the install finished, there wasn't a "Boot from hdd" option in the first reboot screen.

    Instead, the install just started over. If I quit the second install attempt, the system wouldn't boot. Was I the only one to experience this?
    It is still going to be true that there is no "boot from hdd". Looking at the uefi boot menu on the install DVD, I see only:
    1. Installation
    2. Rescue System
    3. Check Installation Media


    I guess it depends on how you do this.

    On my system, the BIOS is configured to boot from the hard drive. To boot the DVD, I hit F12 during boot and get a menu. But, on the next boot, it will be back to booting the hard drive.

    On a computer at work (non-UEFI), I have the BIOS set to boot the USB. If I install opensuse with a USB, then on reboot, it wants to boot again from the USB). If I select the menu item to boot the hard drive, it boots again from the USB. So timing is everything. As soon as it has completely shutdown the installer and started to reboot, I have to unplug the USB. And then I hit CTRL-ALT-DEL, in case the BIOS is confused by unplugging the USB while booting. That allows boot from the hard drive. I reinsert the USB when the final stage of install complains that it is missing and gives me a "retry" option.

    Your best bet is something like F12 to get a BIOS boot menu. Failing that, ejecting the install DVD to force a hard drive boot may be the way to go.

    It's possible that your BIOS will have a similar problem to the one experienced by oldcpu. That is to say, it might not be able to boot from NVRAM entries. If you run into boot problems, then do the same. That is, do a rescue boot, mount the EFI partition. And then, relative to the EFI partition:
    • copy everything in "/EFI/opensuse" to "/EFI/Boot". You might need to create "/EFI/Boot".
    • in "/EFI/Boot", rename "shim.efi" as "bootx64.efi"

    and then see if the hard drive will boot.

    Quote Originally Posted by heboland View Post
    I would like to partition the hdd so I can add another linux (maybe 12.3-64), so I would like two small ext2 partitions first for boot partitions. Then a pair of / partitions, a swap, a pair of /homes, a linux usr1 and a fat-32 partition to use with my xp-32 virtual machine.

    These are similar to the mbr partitions I have now with 12.3 and 12.2. Of course mbr used two primary partitions and the rest on an extended partition.
    This should not be a problem. I am presuming that you know what kind of partitioning you need.

    You will need only a single EFI partition. Your easiest booting solution will be to use the grub2-efi menu from one install to boot all systems that you have installed.

    Quote Originally Posted by heboland View Post
    Last, I remember another warning that came up during the 12.3 uefi install attempt. When I assigned the hdd partitions in the install, I got a warning about the partition table. I couldn't get rid of that warning and if I ignored it, the fresh install wouldn't boot. Was I alone in this too?

    Let me stop here and see if anyone is willing to give me some guidance to help me make uefi work for me this time! Heboland.
    I have not come across that problem. Perhaps it is from converting MBR partitioning to GPT partitioning. If you are able to GPT partition in advance, that should avoid the problem.

    If you run into problems, post in this thread with as much detail as possible, and I'll try to help. I'm hoping that you have another computer available for posting, in case you do have problems.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    Besides the comprehensive explanation given by nrickert you can have a look here too:
    http://www.rodsbooks.com/linux-uefi/

  4. #4
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    Quote Originally Posted by heboland View Post
    Something else I remember with the 12.3-64 install DVD was after the install finished, there wasn't a "Boot from hdd" option in the first reboot screen.

    Instead, the install just started over. If I quit the second install attempt, the system wouldn't boot. Was I the only one to experience this?
    Not certain if this is what happened, but perhaps...???

    You may have stopped the install too soon. It seems to me that when I installed 12.3, the first reboot went back to the DVD install process and started setting up the final stages. At first, I, too, thought that it had gone the wrong way and was starting the install all over, but then I realized it wasn't and let it continue. When it was done, it did not reboot, instead, it performed a switch and went up to the Desktop.

    I was at that point running 12.3 on the PC. After looking it over, I shut down normally and removed the DVD from the drive, and all was as it should be.

    It would be nice, though, if there was some kind of information message at that first reboot to let you know it is supposed to go back to the DVD install to continue, because it can be confusing!
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  5. #5

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    Thanks for the responses!

    I found this link describing how to do gpt with gparted:
    http://akabaila.pcug.org.au/gpt/gpt_gparted.html

    That looks pretty simple except for the loss of all data!

    None of my Microsoft stuff will run on this tower except as a virtual machine, so there aren't any foreign OSs to install.

    I remember the part about the efi partition now. IIRC, in some of my posts here from last year I think I had some help to achieve that. I'll look them up!

    PiElle thanks for the link. I bookmarked and will get back to it. Once I'm ready to wipe my hdd, I can practice with reloading the 12.3-64 before the 13.1 DVD gets here.

    Fraser_Bell you might be right about not waiting long enough, but this tower doesn't wait for much. When I get to that point again I'll pay attention to your point.

    nrickert, thanks for all the details! The install warning may well have been because my hdd was still mbr. I have a Pentium tower on 12.3-32 here to stay connected during the wipeout. I'll keep in touch! Heboland.

  6. #6
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,549
    Blog Entries
    37

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    Best wishes in your efforts here. You have already have some knowledgeable people chiming in to help.

    I've now managed 3 UEFI installs, and I am learning each time.



    One fortunate thing I had going in my favour was I had no desire to retain any data that was already on the PC, so I could carve the hard drive/SSD drive as I wished. But the most important / fortunate item I had going for me, was this forum, and the superb support from some very nice and helpful people we have on this forum.

    I'm looking forward to learning from your experiences on this.

    Best wishes, and thank you for posting/participating in our forum.

  7. #7

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    UEFI implementations can sometimes vary between manufacturers, so it's important to note that each install might be different. The only thing I would do configuration-wise is disable Secure Boot.

    From my laptop (which is an Asus K55A), all I needed was a vfat partition partition set as type EFI (ef00). This has to be mounted as /boot/EFI. Make sure that /boot/EFI isn't an ext partition because otherwise the UEFI system won't pick it up. I can't remember the details of what the installer put out, but this method has been successful for openSuSE 13.1, Fedora, Debian, and Slackware.

  8. #8
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    Quote Originally Posted by oldcpu View Post
    I'm looking forward to learning from your experiences on this.
    Yes. Please return here to let us know how it all turns out and what solutions/methods succeeded for you. I am intrigued to know these answers.

    Best wishes, and thank you for posting/participating in our forum.
    I second that. Good luck, and welcome aboard!
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  9. #9

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    Thanks again responders!

    I found one of my year-old efi posts. Don't know if this link will work for this list:
    486511-12-3-64-UEFI-install-warnings!-Please-Help!?highlight=EF00

    I'm not sure if I can reboot now, but here is what I did without realizing gdisk has real teeth! I thought I was just looking when I did this! I picked this command out of that year-old post.
    Code:
    root[503] gdisk -l /dev/sda
    GPT fdisk (gdisk) version 0.8.5
    
    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present
    
    
    ***************************************************************
    Found invalid GPT and valid MBR; converting MBR to GPT format.
    ***************************************************************
    
    Disk /dev/sda: 1953525168 sectors, 931.5 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 648F5EB2-3BE3-4A65-9298-F1A4113E3426
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 1953525134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 17773 sectors (8.7 MiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1            2048         4098047   2.0 GiB     8300  Linux filesystem
       2         4098048         8194047   2.0 GiB     8300  Linux filesystem
       3         8194048        49154047   19.5 GiB    0700  Microsoft basic data
       5        49156096        79876095   14.6 GiB    8300  Linux filesystem
       6        79878144       141318143   29.3 GiB    0700  Microsoft basic data
       7       141320192       223240191   39.1 GiB    8200  Linux swap
       8       223242240      1124362239   429.7 GiB   8300  Linux filesystem
       9      1124364288      1175564287   24.4 GiB    8300  Linux filesystem
      10      1175566336      1892366335   341.8 GiB   8300  Linux filesystem
      11      1892368384      1953523711   29.2 GiB    8300  Linux filesystem
    This seems to be telling me I have gpt now instead of mbr!

    I'm going to try to reboot now and see what happens. Maybe the die is cast! Heboland.

  10. #10

    Default Re: Please advise how to succeed doing UEFI 13.1-64 install!

    I'm back! My previous post was a false alarm. The gdisk -l option is only a list option. It's man page shows the -w option saves the changes the list command describes.

    Since I have gdisk installed, can I actually change the partition table from mbr to gpt with 12.3 while it's running?

    To me changing hdd partition tables is a serious matter that a running OS couldn't handle. Maybe the gdisk -w option requires and attempted reboot.

    How could I use gdisk to change my hdd from mbr to gpt even if I loose all the current data and maybe partitions? Heboland.

Page 1 of 6 123 ... 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
  •